/freebsd/contrib/googletest/googlemock/test/ |
H A D | gmock-cardinalities_test.cc | 122 EXPECT_PRED_FORMAT2(IsSubstring, "called any number of times", ss.str()); in TEST() 151 EXPECT_PRED_FORMAT2(IsSubstring, "any number of times", ss.str()); in TEST() 167 EXPECT_PRED_FORMAT2(IsSubstring, "at least once", ss1.str()); in TEST() 171 EXPECT_PRED_FORMAT2(IsSubstring, "at least twice", ss2.str()); in TEST() 175 EXPECT_PRED_FORMAT2(IsSubstring, "at least 3 times", ss3.str()); in TEST() 204 EXPECT_PRED_FORMAT2(IsSubstring, "never called", ss.str()); in TEST() 220 EXPECT_PRED_FORMAT2(IsSubstring, "called at most once", ss1.str()); in TEST() 224 EXPECT_PRED_FORMAT2(IsSubstring, "called at most twice", ss2.str()); in TEST() 228 EXPECT_PRED_FORMAT2(IsSubstring, "called at most 3 times", ss3.str()); in TEST() 275 EXPECT_PRED_FORMAT2(IsSubstring, "never called", ss.str()); in TEST() [all …]
|
H A D | gmock-spec-builders_test.cc | 579 EXPECT_PRED_FORMAT2(IsSubstring, in TEST() 583 EXPECT_PRED_FORMAT2(IsSubstring, in TEST() 588 EXPECT_PRED_FORMAT2( in TEST() 593 EXPECT_PRED_FORMAT2(IsSubstring, in TEST() 598 EXPECT_PRED_FORMAT2( in TEST() 616 EXPECT_PRED_FORMAT2(IsSubstring, in TEST() 643 EXPECT_PRED_FORMAT2(IsSubstring, "GMOCK WARNING", warning_output); in TEST() 644 EXPECT_PRED_FORMAT2(IsSubstring, "Uninteresting mock function call", in TEST() 663 EXPECT_PRED_FORMAT2(IsSubstring, "GMOCK WARNING", warning_output); in TEST() 664 EXPECT_PRED_FORMAT2(IsSubstring, "Uninteresting mock function call", in TEST() [all …]
|
/freebsd/contrib/googletest/googletest/test/ |
H A D | googletest-message-test.cc | 84 EXPECT_PRED_FORMAT2(testing::IsSubstring, "1.234560", s.c_str()); in TEST() 85 EXPECT_PRED_FORMAT2(testing::IsSubstring, " 2.345669", s.c_str()); in TEST() 94 EXPECT_PRED_FORMAT2(testing::IsSubstring, "1260570880.45", s.c_str()); in TEST() 95 EXPECT_PRED_FORMAT2(testing::IsSubstring, " 1260572265.19", s.c_str()); in TEST()
|
H A D | gtest_pred_impl_unittest.cc | 686 EXPECT_PRED_FORMAT2(PredFormatFunction2, ++n1_, ++n2_); in TEST_F() 693 EXPECT_PRED_FORMAT2(PredFormatFunction2, Bool(++n1_), Bool(++n2_)); in TEST_F() 700 EXPECT_PRED_FORMAT2(PredFormatFunctor2(), ++n1_, ++n2_); in TEST_F() 707 EXPECT_PRED_FORMAT2(PredFormatFunctor2(), Bool(++n1_), Bool(++n2_)); in TEST_F() 716 EXPECT_PRED_FORMAT2(PredFormatFunction2, n1_++, n2_++); in TEST_F() 727 EXPECT_PRED_FORMAT2(PredFormatFunction2, Bool(n1_++), Bool(n2_++)); in TEST_F() 738 EXPECT_PRED_FORMAT2(PredFormatFunctor2(), n1_++, n2_++); in TEST_F() 749 EXPECT_PRED_FORMAT2(PredFormatFunctor2(), Bool(n1_++), Bool(n2_++)); in TEST_F()
|
H A D | gtest_unittest.cc | 2938 EXPECT_PRED_FORMAT2(FloatLE, 1.0f, 2.0f); // When val1 < val2, in TEST_F() 2942 EXPECT_PRED_FORMAT2(FloatLE, values_.close_to_positive_zero, 0.0f); in TEST_F() 2948 EXPECT_NONFATAL_FAILURE(EXPECT_PRED_FORMAT2(FloatLE, 2.0f, 1.0f), in TEST_F() 2954 EXPECT_PRED_FORMAT2(FloatLE, values_.further_from_one, 1.0f); in TEST_F() 2960 EXPECT_PRED_FORMAT2(FloatLE, values_.nan1, values_.infinity); in TEST_F() 2965 EXPECT_PRED_FORMAT2(FloatLE, -values_.infinity, values_.nan1); in TEST_F() 3097 EXPECT_PRED_FORMAT2(DoubleLE, 1.0, 2.0); // When val1 < val2, in TEST_F() 3101 EXPECT_PRED_FORMAT2(DoubleLE, values_.close_to_positive_zero, 0.0); in TEST_F() 3107 EXPECT_NONFATAL_FAILURE(EXPECT_PRED_FORMAT2(DoubleLE, 2.0, 1.0), in TEST_F() 3113 EXPECT_PRED_FORMAT2(DoubleLE, values_.further_from_one, 1.0); in TEST_F() [all …]
|
H A D | googletest-port-test.cc | 248 EXPECT_PRED_FORMAT2(IsSubstring, "foo.cc", FormatFileLocation("foo.cc", 42)); in TEST() 249 EXPECT_PRED_FORMAT2(IsSubstring, "42", FormatFileLocation("foo.cc", 42)); in TEST() 253 EXPECT_PRED_FORMAT2(IsSubstring, "unknown file", in TEST() 255 EXPECT_PRED_FORMAT2(IsSubstring, "42", FormatFileLocation(nullptr, 42)); in TEST()
|
/freebsd/contrib/googletest/googletest/include/gtest/ |
H A D | gtest.h | 1885 EXPECT_PRED_FORMAT2(::testing::internal::EqHelper::Compare, val1, val2) 1887 EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperNE, val1, val2) 1889 EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperLE, val1, val2) 1891 EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperLT, val1, val2) 1893 EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperGE, val1, val2) 1895 EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperGT, val1, val2) 1954 EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperSTREQ, s1, s2) 1956 EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperSTRNE, s1, s2) 1958 EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperSTRCASEEQ, s1, s2) 1960 EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperSTRCASENE, s1, s2) [all …]
|
H A D | gtest_pred_impl.h | 143 #define EXPECT_PRED_FORMAT2(pred_format, v1, v2) \ macro
|
/freebsd/contrib/googletest/docs/reference/ |
H A D | assertions.md | 418 `EXPECT_PRED_FORMAT2(`*`pred_formatter`*`,`*`val1`*`,`*`val2`*`)` \ 483 EXPECT_PRED_FORMAT2(AssertMutuallyPrime, a, b); // Succeeds 484 EXPECT_PRED_FORMAT2(AssertMutuallyPrime, b, c); // Fails
|
/freebsd/contrib/googletest/docs/ |
H A D | advanced.md | 156 [`EXPECT_PRED_FORMAT2`](reference/assertions.md#EXPECT_PRED_FORMAT), for 163 EXPECT_PRED_FORMAT2(FloatLE, val1, val2); 164 EXPECT_PRED_FORMAT2(DoubleLE, val1, val2);
|