Lines Matching refs:testing
50 using FloatingPoint = ::testing::internal::FloatingPoint<double>; in UsuallyEquals()
97 ::testing::AssertionResult IsExpectedKeyValue(const T& expected, in IsExpectedKeyValue()
103 return ::testing::AssertionFailure() in IsExpectedKeyValue()
107 return ::testing::AssertionSuccess(); in IsExpectedKeyValue()
110 return ::testing::AssertionFailure() << "key was not in the map"; in IsExpectedKeyValue()
114 ::testing::AssertionResult IsExpectedDefaultKeyValue(const T& expected, in IsExpectedDefaultKeyValue()
119 return ::testing::AssertionFailure() in IsExpectedDefaultKeyValue()
123 return ::testing::AssertionSuccess(); in IsExpectedDefaultKeyValue()
126 class CmdlineParserTest : public ::testing::Test {
144 static ::testing::AssertionResult IsResultSuccessful(const CmdlineResult& result) { in IsResultSuccessful()
146 return ::testing::AssertionSuccess(); in IsResultSuccessful()
148 return ::testing::AssertionFailure() in IsResultSuccessful()
153 static ::testing::AssertionResult IsResultFailure(const CmdlineResult& result, in IsResultFailure()
156 return ::testing::AssertionFailure() << " got success but expected failure: " in IsResultFailure()
159 return ::testing::AssertionSuccess(); in IsResultFailure()
162 return ::testing::AssertionFailure() << " expected failure " << failure_status in IsResultFailure()