Lines Matching refs:vector_
636 vector_.push_back(i); in VectorShuffleTest()
686 TestingVector vector_; member in __anon6ba2df910111::VectorShuffleTest
693 ShuffleRange(&random_, 0, 0, &vector_); in TEST_F()
694 ASSERT_PRED1(VectorIsNotCorrupt, vector_); in TEST_F()
695 ASSERT_PRED1(VectorIsUnshuffled, vector_); in TEST_F()
698 ShuffleRange(&random_, kVectorSize/2, kVectorSize/2, &vector_); in TEST_F()
699 ASSERT_PRED1(VectorIsNotCorrupt, vector_); in TEST_F()
700 ASSERT_PRED1(VectorIsUnshuffled, vector_); in TEST_F()
703 ShuffleRange(&random_, kVectorSize - 1, kVectorSize - 1, &vector_); in TEST_F()
704 ASSERT_PRED1(VectorIsNotCorrupt, vector_); in TEST_F()
705 ASSERT_PRED1(VectorIsUnshuffled, vector_); in TEST_F()
708 ShuffleRange(&random_, kVectorSize, kVectorSize, &vector_); in TEST_F()
709 ASSERT_PRED1(VectorIsNotCorrupt, vector_); in TEST_F()
710 ASSERT_PRED1(VectorIsUnshuffled, vector_); in TEST_F()
715 ShuffleRange(&random_, 0, 1, &vector_); in TEST_F()
716 ASSERT_PRED1(VectorIsNotCorrupt, vector_); in TEST_F()
717 ASSERT_PRED1(VectorIsUnshuffled, vector_); in TEST_F()
720 ShuffleRange(&random_, kVectorSize/2, kVectorSize/2 + 1, &vector_); in TEST_F()
721 ASSERT_PRED1(VectorIsNotCorrupt, vector_); in TEST_F()
722 ASSERT_PRED1(VectorIsUnshuffled, vector_); in TEST_F()
725 ShuffleRange(&random_, kVectorSize - 1, kVectorSize, &vector_); in TEST_F()
726 ASSERT_PRED1(VectorIsNotCorrupt, vector_); in TEST_F()
727 ASSERT_PRED1(VectorIsUnshuffled, vector_); in TEST_F()
734 Shuffle(&random_, &vector_); in TEST_F()
735 ASSERT_PRED1(VectorIsNotCorrupt, vector_); in TEST_F()
736 EXPECT_FALSE(VectorIsUnshuffled(vector_)) << vector_; in TEST_F()
740 EXPECT_NE(0, vector_[0]); in TEST_F()
741 EXPECT_NE(kVectorSize - 1, vector_[kVectorSize - 1]); in TEST_F()
747 ShuffleRange(&random_, 0, kRangeSize, &vector_); in TEST_F()
749 ASSERT_PRED1(VectorIsNotCorrupt, vector_); in TEST_F()
750 EXPECT_PRED3(RangeIsShuffled, vector_, 0, kRangeSize); in TEST_F()
751 EXPECT_PRED3(RangeIsUnshuffled, vector_, kRangeSize, kVectorSize); in TEST_F()
756 ShuffleRange(&random_, kRangeSize, kVectorSize, &vector_); in TEST_F()
758 ASSERT_PRED1(VectorIsNotCorrupt, vector_); in TEST_F()
759 EXPECT_PRED3(RangeIsUnshuffled, vector_, 0, kRangeSize); in TEST_F()
760 EXPECT_PRED3(RangeIsShuffled, vector_, kRangeSize, kVectorSize); in TEST_F()
765 ShuffleRange(&random_, kRangeSize, 2*kRangeSize, &vector_); in TEST_F()
767 ASSERT_PRED1(VectorIsNotCorrupt, vector_); in TEST_F()
768 EXPECT_PRED3(RangeIsUnshuffled, vector_, 0, kRangeSize); in TEST_F()
769 EXPECT_PRED3(RangeIsShuffled, vector_, kRangeSize, 2*kRangeSize); in TEST_F()
770 EXPECT_PRED3(RangeIsUnshuffled, vector_, 2*kRangeSize, kVectorSize); in TEST_F()
780 Shuffle(&random_, &vector_); in TEST_F()
784 ASSERT_PRED1(VectorIsNotCorrupt, vector_); in TEST_F()
788 EXPECT_EQ(vector_[i], vector2[i]) << " where i is " << i; in TEST_F()
6470 : vector_(vector), id_(id) {} in SequenceTestingListener()
6474 vector_->push_back(GetEventDescription("OnTestProgramStart")); in OnTestProgramStart()
6478 vector_->push_back(GetEventDescription("OnTestProgramEnd")); in OnTestProgramEnd()
6483 vector_->push_back(GetEventDescription("OnTestIterationStart")); in OnTestIterationStart()
6488 vector_->push_back(GetEventDescription("OnTestIterationEnd")); in OnTestIterationEnd()
6498 std::vector<String>* vector_; member in SequenceTestingListener