Home
last modified time | relevance | path

Searched refs:expected_order (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/net/base/
Dpriority_queue_unittest.cc125 const int expected_order[] = { 8, 1, 6, 0, 5, 4, 7 }; in TEST_F() local
127 for (size_t i = 0; i < arraysize(expected_order); ++i) { in TEST_F()
128 EXPECT_EQ(expected_order[i], queue_.FirstMin().value()); in TEST_F()
140 const int expected_order[] = { 10, 3, 8, 12, 11, 1, 6, 9, 0, 2, 5, 4, 7 }; in TEST_F() local
142 for (size_t i = 0; i < arraysize(expected_order); ++i) { in TEST_F()
143 EXPECT_EQ(expected_order[i], queue_.FirstMin().value()); in TEST_F()
/external/chromium_org/base/test/
Dsequenced_task_runner_test_template.cc149 std::vector<TaskEvent::Type> expected_order; in CheckEventOrdersForEachTask() local
150 expected_order.push_back(TaskEvent::POST); in CheckEventOrdersForEachTask()
151 expected_order.push_back(TaskEvent::START); in CheckEventOrdersForEachTask()
152 expected_order.push_back(TaskEvent::END); in CheckEventOrdersForEachTask()
159 if (task_events != expected_order) { in CheckEventOrdersForEachTask()
162 << ::testing::PrintToString(expected_order) << "; actual: " in CheckEventOrdersForEachTask()