• Home
  • Raw
  • Download

Lines Matching refs:test_vector

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