Lines Matching refs:Contains
61 using testing::Contains;
1116 EXPECT_THAT(some_list, Contains(1)); in TEST()
1117 EXPECT_THAT(some_list, Contains(Gt(2.5))); in TEST()
1118 EXPECT_THAT(some_list, Contains(Eq(2.0f))); in TEST()
1125 EXPECT_THAT(another_list, Contains(string("fee"))); in TEST()
1132 EXPECT_THAT(some_list, Not(Contains(4))); in TEST()
1140 EXPECT_THAT(some_set, Contains(Eq(1.0))); in TEST()
1141 EXPECT_THAT(some_set, Contains(Eq(3.0f))); in TEST()
1142 EXPECT_THAT(some_set, Contains(2)); in TEST()
1149 EXPECT_THAT(another_set, Contains(Eq(string("fum")))); in TEST()
1156 EXPECT_THAT(some_set, Not(Contains(4))); in TEST()
1160 EXPECT_THAT(c_string_set, Not(Contains(string("hello").c_str()))); in TEST()
1165 Matcher<const int (&)[2]> m = Contains(2); in TEST()
1168 m = Contains(3); in TEST()
1171 m = Contains(GreaterThan(0)); in TEST()
1174 m = Contains(GreaterThan(10)); in TEST()
1179 Matcher<vector<int> > m = Contains(1); in TEST()
1190 EXPECT_THAT(my_map, Contains(pair<const char* const, int>(bar, 2))); in TEST()
1197 EXPECT_THAT(another_map, Contains(pair<const string, int>(string("fee"), 1))); in TEST()
1198 EXPECT_THAT(another_map, Contains(pair<const string, int>("fie", 2))); in TEST()
1205 EXPECT_THAT(some_map, Not(Contains(pair<const int, int>(2, 23)))); in TEST()
1210 EXPECT_THAT(string_array, Contains(Eq(string("fum")))); in TEST()
1215 EXPECT_THAT(int_array, Not(Contains(5))); in TEST()
1220 EXPECT_THAT(a, Contains(Gt(2))); in TEST()
1221 EXPECT_THAT(a, Not(Contains(Gt(4)))); in TEST()
1227 EXPECT_THAT(make_tuple(pointer, 2), Contains(1)); in TEST()
1228 EXPECT_THAT(make_tuple(pointer, 2), Not(Contains(Gt(3)))); in TEST()
1233 EXPECT_THAT(a, Contains(ElementsAre(4, 5, 6))); in TEST()
1234 EXPECT_THAT(a, Contains(Contains(5))); in TEST()
1235 EXPECT_THAT(a, Not(Contains(ElementsAre(3, 4, 5)))); in TEST()
1236 EXPECT_THAT(a, Contains(Not(Contains(5)))); in TEST()