| 84 | } |
| 85 | |
| 86 | void FullScan(RowBatchList* list, int start, int end) { |
| 87 | EXPECT_LT(start, end); |
| 88 | RowBatchList::TupleRowIterator it = list->Iterator(); |
| 89 | int i = start; |
| 90 | while (!it.AtEnd()) { |
| 91 | EXPECT_TRUE(it.GetRow() != NULL); |
| 92 | ValidateMatch(it.GetRow(), i); |
| 93 | it.Next(); |
| 94 | ++i; |
| 95 | } |
| 96 | EXPECT_EQ(end, i - 1); |
| 97 | } |
| 98 | }; |
| 99 | |
| 100 | // This tests inserts the rows [0->5] to list. It validates that they are all there. |