• Home
  • Raw
  • Download

Lines Matching refs:test_vector

338   vector<int> test_vector(a, a + GMOCK_ARRAY_SIZE_(a));  in TEST()  local
341 Explain(m, test_vector)); in TEST()
369 vector<string> test_vector; in TEST() local
370 test_vector.push_back("test string"); in TEST()
372 EXPECT_THAT(test_vector, ElementsAre(StrEq("test string"))); in TEST()
383 vector<string> test_vector; in TEST() local
384 test_vector.push_back("one"); in TEST()
385 test_vector.push_back("two"); in TEST()
386 test_vector.push_back("three"); in TEST()
388 EXPECT_THAT(test_vector, ElementsAre("one", StrEq("two"), _)); in TEST()
392 vector<int> test_vector; in TEST() local
393 test_vector.push_back(4); in TEST()
395 EXPECT_THAT(test_vector, ElementsAre(Eq(4))); in TEST()
399 vector<int> test_vector; in TEST() local
400 test_vector.push_back(4); in TEST()
402 EXPECT_THAT(test_vector, ElementsAre(_)); in TEST()
406 vector<int> test_vector; in TEST() local
407 test_vector.push_back(4); in TEST()
409 EXPECT_THAT(test_vector, ElementsAre(4)); in TEST()
413 vector<int> test_vector; in TEST() local
414 test_vector.push_back(1); in TEST()
415 test_vector.push_back(2); in TEST()
416 test_vector.push_back(3); in TEST()
418 EXPECT_THAT(test_vector, ElementsAre(1, Eq(2), _)); in TEST()
423 vector<int> test_vector(a, a + GMOCK_ARRAY_SIZE_(a)); in TEST() local
425 EXPECT_THAT(test_vector, in TEST()
432 vector<string> test_vector; in TEST() local
433 test_vector.push_back("test string"); in TEST()
434 test_vector.push_back("test string"); in TEST()
437 EXPECT_FALSE(m.Matches(test_vector)); in TEST()
441 vector<string> test_vector; in TEST() local
442 test_vector.push_back("other string"); in TEST()
445 EXPECT_FALSE(m.Matches(test_vector)); in TEST()
449 vector<string> test_vector; in TEST() local
450 test_vector.push_back("one"); in TEST()
451 test_vector.push_back("three"); in TEST()
452 test_vector.push_back("two"); in TEST()
456 EXPECT_FALSE(m.Matches(test_vector)); in TEST()
537 vector<int> test_vector(a, a + GMOCK_ARRAY_SIZE_(a)); in TEST() local
538 EXPECT_THAT(test_vector, ElementsAreArray(a)); in TEST()
540 test_vector[2] = 0; in TEST()
541 EXPECT_THAT(test_vector, Not(ElementsAreArray(a))); in TEST()
547 vector<string> test_vector(a, a + GMOCK_ARRAY_SIZE_(a)); in TEST() local
548 EXPECT_THAT(test_vector, ElementsAreArray(a, GMOCK_ARRAY_SIZE_(a))); in TEST()
551 test_vector[0] = "1"; in TEST()
552 EXPECT_THAT(test_vector, Not(ElementsAreArray(p, GMOCK_ARRAY_SIZE_(a)))); in TEST()
558 vector<string> test_vector(a, a + GMOCK_ARRAY_SIZE_(a)); in TEST() local
559 EXPECT_THAT(test_vector, ElementsAreArray(a)); in TEST()
561 test_vector[0] = "1"; in TEST()
562 EXPECT_THAT(test_vector, Not(ElementsAreArray(a))); in TEST()
569 vector<string> test_vector; in TEST() local
570 test_vector.push_back("one"); in TEST()
571 test_vector.push_back("two"); in TEST()
572 test_vector.push_back("three"); in TEST()
573 EXPECT_THAT(test_vector, ElementsAreArray(kMatcherArray)); in TEST()
575 test_vector.push_back("three"); in TEST()
576 EXPECT_THAT(test_vector, Not(ElementsAreArray(kMatcherArray))); in TEST()