diff options
author | jar@google.com <jar@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-03 20:26:26 +0000 |
---|---|---|
committer | jar@google.com <jar@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-03 20:26:26 +0000 |
commit | b87b790c325d2d243344280ebba1fc2a89799d11 (patch) | |
tree | 6081abefedb0ee01e7a71262dc804b2226ddf4d5 /base/message_loop_unittest.cc | |
parent | 0ee1cb3b9c148d17b9181164f911fc8b949f6bdc (diff) | |
download | chromium_src-b87b790c325d2d243344280ebba1fc2a89799d11.zip chromium_src-b87b790c325d2d243344280ebba1fc2a89799d11.tar.gz chromium_src-b87b790c325d2d243344280ebba1fc2a89799d11.tar.bz2 |
Rollback message loop test
TBR
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@299 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/message_loop_unittest.cc')
-rw-r--r-- | base/message_loop_unittest.cc | 6 |
1 files changed, 3 insertions, 3 deletions
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)); |