Lines Matching refs:test_vector
198 vector<int> test_vector(a, a + GTEST_ARRAY_SIZE_(a)); in TEST() local
201 Explain(m, test_vector)); in TEST()
229 vector<std::string> test_vector; in TEST() local
230 test_vector.push_back("test string"); in TEST()
232 EXPECT_THAT(test_vector, ElementsAre(StrEq("test string"))); in TEST()
243 vector<std::string> test_vector; in TEST() local
244 test_vector.push_back("one"); in TEST()
245 test_vector.push_back("two"); in TEST()
246 test_vector.push_back("three"); in TEST()
248 EXPECT_THAT(test_vector, ElementsAre("one", StrEq("two"), _)); in TEST()
252 vector<int> test_vector; in TEST() local
253 test_vector.push_back(4); in TEST()
255 EXPECT_THAT(test_vector, ElementsAre(Eq(4))); in TEST()
259 vector<int> test_vector; in TEST() local
260 test_vector.push_back(4); in TEST()
262 EXPECT_THAT(test_vector, ElementsAre(_)); in TEST()
266 vector<int> test_vector; in TEST() local
267 test_vector.push_back(4); in TEST()
269 EXPECT_THAT(test_vector, ElementsAre(4)); in TEST()
273 vector<int> test_vector; in TEST() local
274 test_vector.push_back(1); in TEST()
275 test_vector.push_back(2); in TEST()
276 test_vector.push_back(3); in TEST()
278 EXPECT_THAT(test_vector, ElementsAre(1, Eq(2), _)); in TEST()
283 vector<int> test_vector(a, a + GTEST_ARRAY_SIZE_(a)); in TEST() local
285 EXPECT_THAT(test_vector, in TEST()
292 vector<std::string> test_vector; in TEST() local
293 test_vector.push_back("test string"); in TEST()
294 test_vector.push_back("test string"); in TEST()
297 EXPECT_FALSE(m.Matches(test_vector)); in TEST()
301 vector<std::string> test_vector; in TEST() local
302 test_vector.push_back("other string"); in TEST()
305 EXPECT_FALSE(m.Matches(test_vector)); in TEST()
309 vector<std::string> test_vector; in TEST() local
310 test_vector.push_back("one"); in TEST()
311 test_vector.push_back("three"); in TEST()
312 test_vector.push_back("two"); in TEST()
316 EXPECT_FALSE(m.Matches(test_vector)); in TEST()
443 vector<int> test_vector(a, a + GTEST_ARRAY_SIZE_(a)); in TEST() local
444 EXPECT_THAT(test_vector, ElementsAreArray(a)); in TEST()
446 test_vector[2] = 0; in TEST()
447 EXPECT_THAT(test_vector, Not(ElementsAreArray(a))); in TEST()
453 vector<std::string> test_vector(a, a + GTEST_ARRAY_SIZE_(a)); in TEST() local
454 EXPECT_THAT(test_vector, ElementsAreArray(a, GTEST_ARRAY_SIZE_(a))); in TEST()
457 test_vector[0] = "1"; in TEST()
458 EXPECT_THAT(test_vector, Not(ElementsAreArray(p, GTEST_ARRAY_SIZE_(a)))); in TEST()
464 vector<std::string> test_vector(a, a + GTEST_ARRAY_SIZE_(a)); in TEST() local
465 EXPECT_THAT(test_vector, ElementsAreArray(a)); in TEST()
467 test_vector[0] = "1"; in TEST()
468 EXPECT_THAT(test_vector, Not(ElementsAreArray(a))); in TEST()
475 vector<std::string> test_vector; in TEST() local
476 test_vector.push_back("one"); in TEST()
477 test_vector.push_back("two"); in TEST()
478 test_vector.push_back("three"); in TEST()
479 EXPECT_THAT(test_vector, ElementsAreArray(kMatcherArray)); in TEST()
481 test_vector.push_back("three"); in TEST()
482 EXPECT_THAT(test_vector, Not(ElementsAreArray(kMatcherArray))); in TEST()
487 vector<int> test_vector(a, a + GTEST_ARRAY_SIZE_(a)); in TEST() local
489 EXPECT_THAT(test_vector, ElementsAreArray(expected)); in TEST()
490 test_vector.push_back(4); in TEST()
491 EXPECT_THAT(test_vector, Not(ElementsAreArray(expected))); in TEST()
533 vector<int> test_vector(a, a + GTEST_ARRAY_SIZE_(a)); in TEST() local
536 EXPECT_THAT(test_vector, ElementsAreArray(expected)); in TEST()
537 test_vector.push_back(4); in TEST()
538 EXPECT_THAT(test_vector, Not(ElementsAreArray(expected))); in TEST()
543 const vector<int> test_vector(a, a + GTEST_ARRAY_SIZE_(a)); in TEST() local
545 EXPECT_THAT(test_vector, ElementsAreArray(expected.begin(), expected.end())); in TEST()
547 EXPECT_THAT(test_vector, ElementsAreArray(a, a + GTEST_ARRAY_SIZE_(a))); in TEST()
550 EXPECT_THAT(test_vector, Not(ElementsAreArray(null_int, null_int))); in TEST()
567 vector<int> test_vector(a, a + GTEST_ARRAY_SIZE_(a)); in TEST() local
571 EXPECT_THAT(test_vector, matcher_maker); in TEST()
576 EXPECT_THAT(test_vector, matcher_maker); in TEST()
577 test_vector.push_back(3); in TEST()
578 EXPECT_THAT(test_vector, Not(matcher_maker)); in TEST()