Lines Matching defs:test_vector
336 vector<int> test_vector(a, a + GTEST_ARRAY_SIZE_(a));
339 Explain(m, test_vector));
367 vector<std::string> test_vector;
368 test_vector.push_back("test string");
370 EXPECT_THAT(test_vector, ElementsAre(StrEq("test string")));
381 vector<std::string> test_vector;
382 test_vector.push_back("one");
383 test_vector.push_back("two");
384 test_vector.push_back("three");
386 EXPECT_THAT(test_vector, ElementsAre("one", StrEq("two"), _));
390 vector<int> test_vector;
391 test_vector.push_back(4);
393 EXPECT_THAT(test_vector, ElementsAre(Eq(4)));
397 vector<int> test_vector;
398 test_vector.push_back(4);
400 EXPECT_THAT(test_vector, ElementsAre(_));
404 vector<int> test_vector;
405 test_vector.push_back(4);
407 EXPECT_THAT(test_vector, ElementsAre(4));
411 vector<int> test_vector;
412 test_vector.push_back(1);
413 test_vector.push_back(2);
414 test_vector.push_back(3);
416 EXPECT_THAT(test_vector, ElementsAre(1, Eq(2), _));
421 vector<int> test_vector(a, a + GTEST_ARRAY_SIZE_(a));
423 EXPECT_THAT(test_vector,
430 vector<std::string> test_vector;
431 test_vector.push_back("test string");
432 test_vector.push_back("test string");
435 EXPECT_FALSE(m.Matches(test_vector));
439 vector<std::string> test_vector;
440 test_vector.push_back("other string");
443 EXPECT_FALSE(m.Matches(test_vector));
447 vector<std::string> test_vector;
448 test_vector.push_back("one");
449 test_vector.push_back("three");
450 test_vector.push_back("two");
454 EXPECT_FALSE(m.Matches(test_vector));
581 vector<int> test_vector(a, a + GTEST_ARRAY_SIZE_(a));
582 EXPECT_THAT(test_vector, ElementsAreArray(a));
584 test_vector[2] = 0;
585 EXPECT_THAT(test_vector, Not(ElementsAreArray(a)));
591 vector<std::string> test_vector(a, a + GTEST_ARRAY_SIZE_(a));
592 EXPECT_THAT(test_vector, ElementsAreArray(a, GTEST_ARRAY_SIZE_(a)));
595 test_vector[0] = "1";
596 EXPECT_THAT(test_vector, Not(ElementsAreArray(p, GTEST_ARRAY_SIZE_(a))));
602 vector<std::string> test_vector(a, a + GTEST_ARRAY_SIZE_(a));
603 EXPECT_THAT(test_vector, ElementsAreArray(a));
605 test_vector[0] = "1";
606 EXPECT_THAT(test_vector, Not(ElementsAreArray(a)));
613 vector<std::string> test_vector;
614 test_vector.push_back("one");
615 test_vector.push_back("two");
616 test_vector.push_back("three");
617 EXPECT_THAT(test_vector, ElementsAreArray(kMatcherArray));
619 test_vector.push_back("three");
620 EXPECT_THAT(test_vector, Not(ElementsAreArray(kMatcherArray)));
625 vector<int> test_vector(a, a + GTEST_ARRAY_SIZE_(a));
627 EXPECT_THAT(test_vector, ElementsAreArray(expected));
628 test_vector.push_back(4);
629 EXPECT_THAT(test_vector, Not(ElementsAreArray(expected)));
673 vector<int> test_vector(a, a + GTEST_ARRAY_SIZE_(a));
676 EXPECT_THAT(test_vector, ElementsAreArray(expected));
677 test_vector.push_back(4);
678 EXPECT_THAT(test_vector, Not(ElementsAreArray(expected)));
683 const vector<int> test_vector(a, a + GTEST_ARRAY_SIZE_(a));
685 EXPECT_THAT(test_vector, ElementsAreArray(expected.begin(), expected.end()));
687 EXPECT_THAT(test_vector, ElementsAreArray(a, a + GTEST_ARRAY_SIZE_(a)));
690 EXPECT_THAT(test_vector, Not(ElementsAreArray(null_int, null_int)));
707 vector<int> test_vector(a, a + GTEST_ARRAY_SIZE_(a));
711 EXPECT_THAT(test_vector, matcher_maker);
716 EXPECT_THAT(test_vector, matcher_maker);
717 test_vector.push_back(3);
718 EXPECT_THAT(test_vector, Not(matcher_maker));