From b87b790c325d2d243344280ebba1fc2a89799d11 Mon Sep 17 00:00:00 2001 From: "jar@google.com" Date: Sun, 3 Aug 2008 20:26:26 +0000 Subject: Rollback message loop test TBR git-svn-id: svn://svn.chromium.org/chrome/trunk/src@299 0039d316-1c4b-4281-b951-d872f2087c98 --- base/message_loop_unittest.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'base/message_loop_unittest.cc') diff --git a/base/message_loop_unittest.cc b/base/message_loop_unittest.cc index 5cf4a99..6c71c5b0 100644 --- a/base/message_loop_unittest.cc +++ b/base/message_loop_unittest.cc @@ -731,7 +731,7 @@ TEST(MessageLoop, NonNestableInNestedLoop) { task->set_nestable(false); MessageLoop::current()->PostTask(FROM_HERE, task); MessageLoop::current()->PostTask(FROM_HERE, new OrderedTasks(&order, 3)); - MessageLoop::current()->PostTask(FROM_HERE, new OrderedTasks(&order, 4)); + MessageLoop::current()->PostTask(FROM_HERE, new QuitTask(&order, 4)); Task* non_nestable_quit = new QuitTask(&order, 5); non_nestable_quit->set_nestable(false); MessageLoop::current()->PostTask(FROM_HERE, non_nestable_quit); @@ -744,8 +744,8 @@ TEST(MessageLoop, NonNestableInNestedLoop) { EXPECT_EQ(order[ 0], TaskItem(PUMPS, 1, true)); EXPECT_EQ(order[ 1], TaskItem(ORDERERD, 3, true)); EXPECT_EQ(order[ 2], TaskItem(ORDERERD, 3, false)); - EXPECT_EQ(order[ 3], TaskItem(ORDERERD, 4, true)); - EXPECT_EQ(order[ 4], TaskItem(ORDERERD, 4, false)); + EXPECT_EQ(order[ 3], TaskItem(QUITMESSAGELOOP, 4, true)); + EXPECT_EQ(order[ 4], TaskItem(QUITMESSAGELOOP, 4, false)); EXPECT_EQ(order[ 5], TaskItem(PUMPS, 1, false)); EXPECT_EQ(order[ 6], TaskItem(ORDERERD, 2, true)); EXPECT_EQ(order[ 7], TaskItem(ORDERERD, 2, false)); -- cgit v1.1