summaryrefslogtreecommitdiffstats
path: root/base/message_loop_unittest.cc
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-08 08:31:01 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-08 08:31:01 +0000
commit9b7770d492131fc745cd485afc26d0929533afe0 (patch)
tree2dbb9c73a2d2fb33147f0f59aa66c0d2295b82d2 /base/message_loop_unittest.cc
parentfd1b8ea1c39a8b99285bdca24e22731f463e63d8 (diff)
downloadchromium_src-9b7770d492131fc745cd485afc26d0929533afe0.zip
chromium_src-9b7770d492131fc745cd485afc26d0929533afe0.tar.gz
chromium_src-9b7770d492131fc745cd485afc26d0929533afe0.tar.bz2
Replace #if 0 used to disable test, the DISABLED_ and FLAKY_
prefixes, so the code doesn't rot. TEST=none BUG=none Review URL: http://codereview.chromium.org/2035009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46782 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/message_loop_unittest.cc')
-rw-r--r--base/message_loop_unittest.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/base/message_loop_unittest.cc b/base/message_loop_unittest.cc
index 00a1dfe..5c732ca 100644
--- a/base/message_loop_unittest.cc
+++ b/base/message_loop_unittest.cc
@@ -1376,19 +1376,17 @@ TEST(MessageLoopTest, PostDelayedTask_SharedTimer_SubPump) {
#endif
// TODO(darin): re-enable these tests once MessageLoop supports them again.
-#if 0
-TEST(MessageLoopTest, EnsureTaskDeletion) {
+TEST(MessageLoopTest, DISABLED_EnsureTaskDeletion) {
RunTest_EnsureTaskDeletion(MessageLoop::TYPE_DEFAULT);
RunTest_EnsureTaskDeletion(MessageLoop::TYPE_UI);
RunTest_EnsureTaskDeletion(MessageLoop::TYPE_IO);
}
-TEST(MessageLoopTest, EnsureTaskDeletion_Chain) {
+TEST(MessageLoopTest, DISABLED_EnsureTaskDeletion_Chain) {
RunTest_EnsureTaskDeletion_Chain(MessageLoop::TYPE_DEFAULT);
RunTest_EnsureTaskDeletion_Chain(MessageLoop::TYPE_UI);
RunTest_EnsureTaskDeletion_Chain(MessageLoop::TYPE_IO);
}
-#endif
#if defined(OS_WIN)
TEST(MessageLoopTest, Crasher) {