Home | History | Annotate | Download | only in test

Lines Matching defs:vector

65 #include <vector>
210 class TestingVector : public std::vector<int> {
214 const TestingVector& vector) {
216 for (size_t i = 0; i < vector.size(); i++) {
217 os << vector[i] << " ";
694 std::vector<int> v;
713 std::vector<int> v;
732 std::vector<char> a;
744 std::vector<int> a;
774 static bool VectorIsCorrupt(const TestingVector& vector) {
775 if (kVectorSize != static_cast<int>(vector.size())) {
780 for (size_t i = 0; i < vector.size(); i++) {
781 const int e = vector[i];
788 // Vector size is correct, elements' range is correct, no
793 static bool VectorIsNotCorrupt(const TestingVector& vector) {
794 return !VectorIsCorrupt(vector);
797 static bool RangeIsShuffled(const TestingVector& vector, int begin, int end) {
799 if (i != vector[i]) {
807 const TestingVector& vector, int begin, int end) {
808 return !RangeIsShuffled(vector, begin, end);
811 static bool VectorIsShuffled(const TestingVector& vector) {
812 return RangeIsShuffled(vector, 0, static_cast<int>(vector.size()));
815 static bool VectorIsUnshuffled(const TestingVector& vector) {
816 return !VectorIsShuffled(vector);
1615 typedef std::vector<TestPartResult> TPRVector;
1642 // state, in particular the TestPartResult vector it holds.
1643 // test_part_results() returns a const reference to this vector.
6914 SequenceTestingListener(std::vector<String>* vector, const char* id)
6915 : vector_(vector), id_(id) {}
6943 std::vector<String>* vector_;
6950 std::vector<String> vec;
7381 sizeof(IsContainerTest<std::vector<bool> >(0)));