Searched refs:ExpectedReturn (Results 1 – 1 of 1) sorted by relevance
23 T ExpectedReturn; variable29 ErrnoSetterMatcher(T ExpectedReturn, int ExpectedErrno) in ErrnoSetterMatcher() argument30 : ExpectedReturn(ExpectedReturn), ExpectedErrno(ExpectedErrno) {} in ErrnoSetterMatcher()33 if (ActualReturn != ExpectedReturn) in explainError()34 OS << "Expected return to be " << ExpectedReturn << " but got " in explainError()38 OS << "Correct value " << ExpectedReturn in explainError()47 return Got == ExpectedReturn && ActualErrno == ExpectedErrno; in match()56 static internal::ErrnoSetterMatcher<RetT> Succeeds(RetT ExpectedReturn = 0,58 return {ExpectedReturn, ExpectedErrno};63 RetT ExpectedReturn = -1) {[all …]