summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-24 23:29:48 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-24 23:29:48 +0000
commit759b8685937de80a600c6a870d528c6d08f4bb75 (patch)
treee5703206542998ec9954c1527f19861019e27556 /base
parent5ee6ccfa0be35b2a674df4912496d594df644f50 (diff)
downloadchromium_src-759b8685937de80a600c6a870d528c6d08f4bb75.zip
chromium_src-759b8685937de80a600c6a870d528c6d08f4bb75.tar.gz
chromium_src-759b8685937de80a600c6a870d528c6d08f4bb75.tar.bz2
TTF: Re-enable the FileDescriptorWatcherOutlivesMessageLoop test as it now appears
to be passing. BUG=none TEST=MessageLoopTest.FileDescriptorWatcherOutlivesMessageLoop Patch by Doug Muir <dmuir@google.com>. Review URL: http://codereview.chromium.org/2077014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48102 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r--base/message_loop_unittest.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/base/message_loop_unittest.cc b/base/message_loop_unittest.cc
index 3b5838d..990403b 100644
--- a/base/message_loop_unittest.cc
+++ b/base/message_loop_unittest.cc
@@ -1489,12 +1489,11 @@ class QuitDelegate : public
} // namespace
-TEST(MessageLoopTest, DISABLED_FileDescriptorWatcherOutlivesMessageLoop) {
+TEST(MessageLoopTest, FileDescriptorWatcherOutlivesMessageLoop) {
// Simulate a MessageLoop that dies before an FileDescriptorWatcher.
// This could happen when people use the Singleton pattern or atexit.
// This is disabled for now because it fails (valgrind shows
// invalid reads), and it's not clear any code relies on this...
- // TODO(dkegel): enable if it turns out we rely on this
// Create a file descriptor. Doesn't need to be readable or writable,
// as we don't need to actually get any notifications.