summaryrefslogtreecommitdiffstats
path: root/base/message_loop_unittest.cc
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-25 20:13:36 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-25 20:13:36 +0000
commit5affb7e7c6a6f48292d5e5f0bc09e06222244b0b (patch)
tree3d86086a118685b32eceac6ada2b0ecac629de5d /base/message_loop_unittest.cc
parenta15115f065277f846b305ea98a11066ae49d3f2d (diff)
downloadchromium_src-5affb7e7c6a6f48292d5e5f0bc09e06222244b0b.zip
chromium_src-5affb7e7c6a6f48292d5e5f0bc09e06222244b0b.tar.gz
chromium_src-5affb7e7c6a6f48292d5e5f0bc09e06222244b0b.tar.bz2
TTF: Re-enable MessageLoopTest.EnsureTaskDeletion* by marking them as failing.
TBR=stuartmorgan BUG=none TEST=MessageLoopTest.EnsureTaskDeletion* git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48184 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/message_loop_unittest.cc')
-rw-r--r--base/message_loop_unittest.cc9
1 files changed, 6 insertions, 3 deletions
diff --git a/base/message_loop_unittest.cc b/base/message_loop_unittest.cc
index 990403b..44d545f 100644
--- a/base/message_loop_unittest.cc
+++ b/base/message_loop_unittest.cc
@@ -1375,14 +1375,17 @@ TEST(MessageLoopTest, PostDelayedTask_SharedTimer_SubPump) {
}
#endif
-// TODO(darin): re-enable these tests once MessageLoop supports them again.
-TEST(MessageLoopTest, DISABLED_EnsureTaskDeletion) {
+// TODO(darin): MessageLoop does not support deleting all tasks in the
+// destructor.
+TEST(MessageLoopTest, FAILS_EnsureTaskDeletion) {
RunTest_EnsureTaskDeletion(MessageLoop::TYPE_DEFAULT);
RunTest_EnsureTaskDeletion(MessageLoop::TYPE_UI);
RunTest_EnsureTaskDeletion(MessageLoop::TYPE_IO);
}
-TEST(MessageLoopTest, DISABLED_EnsureTaskDeletion_Chain) {
+// TODO(darin): MessageLoop does not support deleting all tasks in the
+// destructor.
+TEST(MessageLoopTest, FAILS_EnsureTaskDeletion_Chain) {
RunTest_EnsureTaskDeletion_Chain(MessageLoop::TYPE_DEFAULT);
RunTest_EnsureTaskDeletion_Chain(MessageLoop::TYPE_UI);
RunTest_EnsureTaskDeletion_Chain(MessageLoop::TYPE_IO);