• Home
  • Raw
  • Download

Lines Matching refs:Describe

154 std::string Describe(const Matcher<T>& m) {  in Describe()  function
318 Describe(Matcher<int>(new EvenMatcherImpl))); in TEST()
449 EXPECT_EQ("g_bar or zero", Describe(m1)); in TEST()
455 EXPECT_EQ("g_bar or zero", Describe(m2)); in TEST()
490 EXPECT_EQ("is even", Describe(m1)); in TEST()
493 EXPECT_EQ("is odd", Describe(not_m1)); in TEST()
501 EXPECT_EQ("is even", Describe(m2)); in TEST()
504 EXPECT_EQ("is odd", Describe(not_m2)); in TEST()
863 EXPECT_EQ("is anything", Describe(A<bool>())); in TEST()
883 EXPECT_EQ("is anything", Describe(An<int>())); in TEST()
905 EXPECT_EQ("is anything", Describe(m)); in TEST()
934 EXPECT_EQ("is equal to 1-byte object <61>", Describe(m)); in TEST()
962 EXPECT_EQ("is equal to 2", Describe(TypedEq<int>(2))); in TEST()
995 EXPECT_EQ("is >= 5", Describe(m)); in TEST()
1009 EXPECT_EQ("is > 5", Describe(m)); in TEST()
1023 EXPECT_EQ("is <= 5", Describe(m)); in TEST()
1037 EXPECT_EQ("is < 5", Describe(m)); in TEST()
1051 EXPECT_EQ("isn't equal to 5", Describe(m)); in TEST()
1129 EXPECT_EQ("is NULL", Describe(m)); in TEST()
1175 EXPECT_EQ("isn't NULL", Describe(m)); in TEST()
1194 EXPECT_EQ(ss.str(), Describe(m)); in TEST()
1283 Describe(m)); in TEST()
1288 EXPECT_EQ("is equal to \"012\\04500800\"", Describe(m2)); in TEST()
1291 EXPECT_EQ("is equal to \"\\012\\045\\0\\08\\0\\0\"", Describe(m3)); in TEST()
1314 EXPECT_EQ("isn't equal to \"Hi\"", Describe(m)); in TEST()
1365 EXPECT_EQ("is equal to (ignoring case) \"Hi\"", Describe(m)); in TEST()
1391 EXPECT_EQ("isn't equal to (ignoring case) \"Hi\"", Describe(m)); in TEST()
1451 EXPECT_EQ("has substring \"foo\\n\\\"\"", Describe(m)); in TEST()
1456 EXPECT_EQ("has a key that is equal to \"foo\"", Describe(m)); in TEST()
1555 Describe(m1)); in TEST()
1669 Describe(m1)); in TEST()
1835 EXPECT_EQ("starts with \"Hi\"", Describe(m)); in TEST()
1865 EXPECT_EQ("ends with \"Hi\"", Describe(m)); in TEST()
1896 EXPECT_EQ("matches regular expression \"Hi.*\"", Describe(m1)); in TEST()
1899 EXPECT_EQ("matches regular expression \"a.*\"", Describe(m2)); in TEST()
1903 EXPECT_EQ("matches regular expression \"0.*\"", Describe(m3)); in TEST()
1936 EXPECT_EQ("contains regular expression \"Hi.*\"", Describe(m1)); in TEST()
1939 EXPECT_EQ("contains regular expression \"a.*\"", Describe(m2)); in TEST()
1943 EXPECT_EQ("contains regular expression \"0.*\"", Describe(m3)); in TEST()
1975 Describe(m)); in TEST()
1979 Describe(m2)); in TEST()
1984 EXPECT_EQ("is equal to L\"012\\04500800\"", Describe(m4)); in TEST()
1987 EXPECT_EQ("is equal to L\"\\012\\045\\0\\08\\0\\0\"", Describe(m5)); in TEST()
2003 EXPECT_EQ("isn't equal to L\"Hi\"", Describe(m)); in TEST()
2045 EXPECT_EQ("is equal to (ignoring case) L\"Hi\"", Describe(m)); in TEST()
2062 EXPECT_EQ("isn't equal to (ignoring case) L\"Hi\"", Describe(m)); in TEST()
2092 EXPECT_EQ("has substring L\"foo\\n\\\"\"", Describe(m)); in TEST()
2113 EXPECT_EQ("starts with L\"Hi\"", Describe(m)); in TEST()
2134 EXPECT_EQ("ends with L\"Hi\"", Describe(m)); in TEST()
2152 EXPECT_EQ("are an equal pair", Describe(m)); in TEST()
2167 EXPECT_EQ("are a pair where the first >= the second", Describe(m)); in TEST()
2182 EXPECT_EQ("are a pair where the first > the second", Describe(m)); in TEST()
2197 EXPECT_EQ("are a pair where the first <= the second", Describe(m)); in TEST()
2212 EXPECT_EQ("are a pair where the first < the second", Describe(m)); in TEST()
2227 EXPECT_EQ("are an unequal pair", Describe(m)); in TEST()
2326 EXPECT_EQ("is NaN", Describe(mf)); in TEST()
2329 EXPECT_EQ("is NaN", Describe(md)); in TEST()
2332 EXPECT_EQ("is NaN", Describe(mld)); in TEST()
2338 EXPECT_EQ("isn't NaN", Describe(mf)); in TEST()
2341 EXPECT_EQ("isn't NaN", Describe(md)); in TEST()
2344 EXPECT_EQ("isn't NaN", Describe(mld)); in TEST()
2360 EXPECT_EQ("are an almost-equal pair", Describe(m)); in TEST()
2379 EXPECT_EQ("are an almost-equal pair", Describe(m)); in TEST()
2395 EXPECT_EQ("are an almost-equal pair", Describe(m)); in TEST()
2414 EXPECT_EQ("are an almost-equal pair", Describe(m)); in TEST()
2430 EXPECT_EQ("are an almost-equal pair", Describe(m)); in TEST()
2450 EXPECT_EQ("are an almost-equal pair", Describe(m)); in TEST()
2466 EXPECT_EQ("are an almost-equal pair", Describe(m)); in TEST()
2486 EXPECT_EQ("are an almost-equal pair", Describe(m)); in TEST()
2500 EXPECT_EQ("isn't equal to 5", Describe(m)); in TEST()
2515 SCOPED_TRACE(Describe(m)); in TEST()
2582 EXPECT_EQ("(is <= 2) and (is >= 1)", Describe(m)); in TEST()
2587 EXPECT_EQ(expected_descr1, Describe(m)); in TEST()
2593 EXPECT_EQ(expected_descr2, Describe(m)); in TEST()
2599 EXPECT_EQ(expected_descr3, Describe(m)); in TEST()
2628 EXPECT_THAT(Describe(m), EndsWith("and (isn't equal to 11)")); in TEST()
2692 SCOPED_TRACE(Describe(m)); in TEST()
2701 SCOPED_TRACE(Describe(m)); in TEST()
2759 EXPECT_THAT(Describe(m), EndsWith("or (is equal to 11)")); in TEST()
2808 Describe(m)); in TEST()
2811 EXPECT_EQ("(is < 0) or (is equal to 1) or (is equal to 2)", Describe(m)); in TEST()
2815 Describe(m)); in TEST()
2821 Describe(m)); in TEST()
2980 Describe(m)); in TEST()
3474 EXPECT_EQ("is approximately 2", Describe(m1)); in TEST()
3478 EXPECT_EQ("is approximately 0.5", Describe(m2)); in TEST()
3482 EXPECT_EQ("never matches", Describe(m3)); in TEST()
3488 EXPECT_EQ("is approximately 2", Describe(m1)); in TEST()
3492 EXPECT_EQ("is approximately 0.5", Describe(m2)); in TEST()
3496 EXPECT_EQ("is NaN", Describe(m3)); in TEST()
3514 EXPECT_EQ("is approximately 2 (absolute error <= 0.5)", Describe(m1)); in TEST()
3519 EXPECT_EQ("is approximately 0.5 (absolute error <= 0.5)", Describe(m2)); in TEST()
3524 EXPECT_EQ("never matches", Describe(m3)); in TEST()
3530 EXPECT_EQ("is approximately 2 (absolute error <= 0.5)", Describe(m1)); in TEST()
3535 EXPECT_EQ("is approximately 0.5 (absolute error <= 0.5)", Describe(m2)); in TEST()
3540 EXPECT_EQ("is NaN", Describe(m3)); in TEST()
3589 EXPECT_EQ("is approximately 2", Describe(m1)); in TEST()
3593 EXPECT_EQ("is approximately 0.5", Describe(m2)); in TEST()
3597 EXPECT_EQ("never matches", Describe(m3)); in TEST()
3603 EXPECT_EQ("is approximately 2", Describe(m1)); in TEST()
3607 EXPECT_EQ("is approximately 0.5", Describe(m2)); in TEST()
3611 EXPECT_EQ("is NaN", Describe(m3)); in TEST()
3629 EXPECT_EQ("is approximately 2 (absolute error <= 0.5)", Describe(m1)); in TEST()
3634 EXPECT_EQ("is approximately 0.5 (absolute error <= 0.5)", Describe(m2)); in TEST()
3639 EXPECT_EQ("never matches", Describe(m3)); in TEST()
3659 EXPECT_EQ("is approximately 2 (absolute error <= 0.5)", Describe(m1)); in TEST()
3664 EXPECT_EQ("is approximately 0.5 (absolute error <= 0.5)", Describe(m2)); in TEST()
3669 EXPECT_EQ("is NaN", Describe(m3)); in TEST()
3823 TEST(AddressTest, Describe) { in TEST() argument
3825 EXPECT_EQ("has address that is anything", Describe(matcher)); in TEST()
3890 TEST(WhenDynamicCastToTest, Describe) { in TEST() argument
3894 EXPECT_EQ(prefix + "points to a value that is anything", Describe(matcher)); in TEST()
3978 EXPECT_EQ("points to a value that is > 3", Describe(m)); in TEST()
4132 EXPECT_EQ("is an object whose given field is >= 0", Describe(m)); in TEST()
4139 EXPECT_EQ("is an object whose field `field_name` is >= 0", Describe(m)); in TEST()
4224 EXPECT_EQ("is an object whose given field is >= 0", Describe(m)); in TEST()
4231 EXPECT_EQ("is an object whose field `field_name` is >= 0", Describe(m)); in TEST()
4417 EXPECT_EQ("is an object whose given property is >= 0", Describe(m)); in TEST()
4425 EXPECT_EQ("is an object whose property `fancy_name` is >= 0", Describe(m)); in TEST()
4519 EXPECT_EQ("is an object whose given property is >= 0", Describe(m)); in TEST()
4527 EXPECT_EQ("is an object whose property `fancy_name` is >= 0", Describe(m)); in TEST()
4585 "is equal to \"foo\"", Describe(matcher)); in TEST()
4892 EXPECT_EQ("is empty", Describe(m)); in TEST()
4997 EXPECT_EQ("size is equal to 2", Describe(m)); in TEST()
5263 Describe(m)); in TEST()
5461 EXPECT_EQ("distance between begin() and end() is equal to 2", Describe(m)); in TEST()
5582 TEST(IsSupersetOfTest, Describe) { in TEST() argument
5589 Describe<IntVec>(IsSupersetOf(expected)), in TEST()
5709 TEST(IsSubsetOfTest, Describe) { in TEST() argument
5717 Describe<IntVec>(IsSubsetOf(expected)), in TEST()
6114 TEST_F(UnorderedElementsAreTest, Describe) { in TEST() argument
6115 EXPECT_THAT(Describe<IntVec>(UnorderedElementsAre()), in TEST()
6118 Describe<IntVec>(UnorderedElementsAre(345)), in TEST()
6121 Describe<IntVec>(UnorderedElementsAre(111, 222, 333)), in TEST()
6472 EXPECT_EQ("only contains elements that is equal to 1", Describe(m)); in TEST()
6475 EXPECT_EQ("contains some element that isn't equal to 1", Describe(m2)); in TEST()
6571 Describe(m)); in TEST()
6696 Describe(m)); in TEST()
6820 EXPECT_EQ("value is equal to 1", Describe(m)); in TEST()
6876 EXPECT_THAT(Describe(m), ContainsRegex("is a variant<> with value of type " in TEST()
6967 EXPECT_THAT(Describe(m), ContainsRegex("is an 'any' type with value of type " in TEST()
7074 Describe(m)); in TEST()
7082 Describe(m)); in TEST()
7212 EXPECT_EQ("is empty", Describe(m)); in TEST()
7217 EXPECT_EQ("has 1 element that is > 5", Describe(m)); in TEST()
7226 Describe(m)); in TEST()
7642 EXPECT_EQ("is even", Describe(m)); in TEST()
7683 EXPECT_EQ("is even", Describe(m1)); in TEST()
7687 EXPECT_EQ("equals the sum of 5 and 9", Describe(m2)); in TEST()
7755 EXPECT_EQ("is greater than 32 and 5", Describe(m)); in TEST()
7767 EXPECT_EQ("is greater than 32 and 5", Describe(m)); in TEST()
7801 EXPECT_EQ("references uncopyable 1-byte object <31>", Describe(m)); in TEST()
7853 Describe(m)); in TEST()
7865 EXPECT_EQ("is not in closed range (10, 20)", Describe(m)); in TEST()
8090 EXPECT_EQ("contains at least one element that is equal to 1", Describe(m)); in TEST()
8093 EXPECT_EQ("doesn't contain any element that is equal to 1", Describe(m2)); in TEST()
8269 EXPECT_EQ("()", Describe(m0)); in TEST()
8270 EXPECT_EQ("(is equal to 1)", Describe(m1)); in TEST()
8271 EXPECT_EQ("(is equal to 2) or (is equal to 3)", Describe(m2)); in TEST()
8426 TEST(ThrowsTest, Describe) { in TEST() argument
8469 TEST_P(ThrowsPredicateTest, Describe) { in TEST() argument