Searched refs:EXPECT_PRED1 (Results 1 – 6 of 6) sorted by relevance
/freebsd/contrib/googletest/googletest/test/ |
H A D | gtest_pred_impl_unittest.cc | 155 EXPECT_PRED1(PredFunction1Int, ++n1_); in TEST_F() 162 EXPECT_PRED1(PredFunction1Bool, Bool(++n1_)); in TEST_F() 169 EXPECT_PRED1(PredFunctor1(), ++n1_); in TEST_F() 176 EXPECT_PRED1(PredFunctor1(), Bool(++n1_)); in TEST_F() 185 EXPECT_PRED1(PredFunction1Int, n1_++); in TEST_F() 196 EXPECT_PRED1(PredFunction1Bool, Bool(n1_++)); in TEST_F() 207 EXPECT_PRED1(PredFunctor1(), n1_++); in TEST_F() 218 EXPECT_PRED1(PredFunctor1(), Bool(n1_++)); in TEST_F()
|
H A D | googletest-death-test-test.cc | 280 EXPECT_PRED1(pred0, status0); in TEST() 281 EXPECT_PRED1(pred1, status1); in TEST() 282 EXPECT_PRED1(pred42, status42); in TEST() 295 EXPECT_PRED1(pred_segv, status_segv); in TEST() 297 EXPECT_PRED1(pred_kill, status_kill); in TEST()
|
H A D | gtest_unittest.cc | 2274 EXPECT_PRED1(IsEvenFunctor(), 2) << "This failure is UNEXPECTED!"; in TEST() 2280 EXPECT_PRED1(IsEven, 5) << "This failure is expected."; in TEST() 2309 EXPECT_PRED1(IsEven, n++); in TEST() 2448 EXPECT_PRED1((bool (*)(int))(IsPositive), 5); // NOLINT in TEST() 2455 EXPECT_PRED1(IsNegative<int>, -5); in TEST() 3914 EXPECT_PRED1(IsPositiveUncopyable, x); in TEST() 3917 EXPECT_PRED1(IsPositiveUncopyable, y), in TEST()
|
H A D | googletest-port-test.cc | 501 EXPECT_PRED1(IsAsciiPunct, *p); in TEST()
|
/freebsd/contrib/googletest/docs/reference/ |
H A D | assertions.md | 339 `EXPECT_PRED1(`*`pred`*`,`*`val1`*`)` \ 392 EXPECT_PRED1(static_cast<bool (*)(int)>(IsPositive), 5); 393 EXPECT_PRED1(static_cast<bool (*)(double)>(IsPositive), 3.14); 396 Writing simply `EXPECT_PRED1(IsPositive, 5);` would result in a compiler error. 405 EXPECT_PRED1(IsNegative<int>, -5); // Must specify type for IsNegative
|
/freebsd/contrib/googletest/googletest/include/gtest/ |
H A D | gtest_pred_impl.h | 110 #define EXPECT_PRED1(pred, v1) GTEST_PRED1_(pred, v1, GTEST_NONFATAL_FAILURE_) macro
|