Searched refs:TaskItem (Results 1 – 2 of 2) sorted by relevance
/external/libchrome/base/message_loop/ |
D | message_loop_test.cc | 393 struct TaskItem { struct 394 TaskItem(TaskType t, int c, bool s) in TaskItem() function 404 bool operator == (const TaskItem& other) const { in operator ==() argument 427 std::ostream& operator <<(std::ostream& os, const TaskItem& item) { in operator <<() 437 TaskItem item(type, cookie, true); in RecordStart() 443 TaskItem item(type, cookie, false); in RecordEnd() 452 TaskItem Get(int n) { in Get() 457 std::vector<TaskItem> task_list_; 498 EXPECT_EQ(order.Get(0), TaskItem(RECURSIVE, 1, true)); in RunTest_RecursiveDenial1() 499 EXPECT_EQ(order.Get(1), TaskItem(RECURSIVE, 1, false)); in RunTest_RecursiveDenial1() [all …]
|
D | message_loop_unittest.cc | 166 struct TaskItem { struct 167 TaskItem(TaskType t, int c, bool s) in TaskItem() function 177 bool operator == (const TaskItem& other) const { in operator ==() argument 200 std::ostream& operator <<(std::ostream& os, const TaskItem& item) { in operator <<() 210 TaskItem item(type, cookie, true); in RecordStart() 216 TaskItem item(type, cookie, false); in RecordEnd() 225 TaskItem Get(int n) { in Get() 230 std::vector<TaskItem> task_list_; 345 EXPECT_EQ(order.Get(0), TaskItem(RECURSIVE, 1, true)); in RunTest_RecursiveDenial2() 346 EXPECT_EQ(order.Get(1), TaskItem(RECURSIVE, 1, false)); in RunTest_RecursiveDenial2() [all …]
|