Lines Matching refs:TestResult
30 friend class TestResult;
37 class TestResult {
39 TestResult(bool condition, const char* error) in TestResult() function
70 AssertHelper(const char* file, int line, const TestResult& test_result) in AssertHelper()
116 if (const ::testing::TestResult test_result = (expression)) \
129 TEST_ASSERT_(::testing::TestResult(a == b, #a " == " #b), \
133 TEST_ASSERT_(::testing::TestResult(a != b, #a " != " #b), \
137 TEST_ASSERT_(::testing::TestResult(a < b, #a " < " #b), \
141 TEST_ASSERT_(::testing::TestResult(a > b, #a " > " #b), \
145 TEST_ASSERT_(::testing::TestResult(a <= b, #a " <= " #b), \
149 TEST_ASSERT_(::testing::TestResult(a >= b, #a " >= " #b), \
153 TEST_ASSERT_(::testing::TestResult(static_cast<bool>(a), #a), \
157 TEST_ASSERT_(::testing::TestResult(!static_cast<bool>(a), #a), \
161 TEST_ASSERT_(::testing::TestResult(strcmp(a, b) == 0, #a " str== " #b), \
165 TEST_ASSERT_(::testing::TestResult(a == b, #a " == " #b), TEST_FATAL_FAILURE_)
168 TEST_ASSERT_(::testing::TestResult(a != b, #a " != " #b), TEST_FATAL_FAILURE_)
171 TEST_ASSERT_(::testing::TestResult(a < b, #a " < " #b), TEST_FATAL_FAILURE_)
174 TEST_ASSERT_(::testing::TestResult(a > b, #a " > " #b), TEST_FATAL_FAILURE_)
177 TEST_ASSERT_(::testing::TestResult(a <= b, #a " <= " #b), TEST_FATAL_FAILURE_)
180 TEST_ASSERT_(::testing::TestResult(a >= b, #a " >= " #b), TEST_FATAL_FAILURE_)
183 TEST_ASSERT_(::testing::TestResult(static_cast<bool>(a), #a), \
187 TEST_ASSERT_(::testing::TestResult(!static_cast<bool>(a), #a), \
191 TEST_ASSERT_(::testing::TestResult(strcmp(a, b) == 0, #a " str== " #b), \