summaryrefslogtreecommitdiffstats
path: root/chrome/browser/file_watcher_unittest.cc
diff options
context:
space:
mode:
authortony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-15 09:09:04 +0000
committertony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-15 09:09:04 +0000
commit621f5c6a910d919e9980a7adf4ed478985eb4e84 (patch)
tree9280d6a28e45d1bc36141d3dbd814dbc2b26cefb /chrome/browser/file_watcher_unittest.cc
parentecdc9066a2778c5415449ff420466f00b7ecfca0 (diff)
downloadchromium_src-621f5c6a910d919e9980a7adf4ed478985eb4e84.zip
chromium_src-621f5c6a910d919e9980a7adf4ed478985eb4e84.tar.gz
chromium_src-621f5c6a910d919e9980a7adf4ed478985eb4e84.tar.bz2
Disable FileWatcher unittests on mac, they're flakey.
TBR=phajdan.jr Review URL: http://codereview.chromium.org/957001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41568 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/file_watcher_unittest.cc')
-rw-r--r--chrome/browser/file_watcher_unittest.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/file_watcher_unittest.cc b/chrome/browser/file_watcher_unittest.cc
index c97091a..0483aae 100644
--- a/chrome/browser/file_watcher_unittest.cc
+++ b/chrome/browser/file_watcher_unittest.cc
@@ -128,6 +128,9 @@ class TestDelegate : public FileWatcher::Delegate {
bool got_notification_;
};
+
+#if !defined(OS_MACOSX)
+// TODO(tony): Test is flakey on mac. http://crbug.com/38188
// Basic test: Create the file and verify that we notice.
TEST_F(FileWatcherTest, NewFile) {
FileWatcher watcher;
@@ -239,4 +242,5 @@ TEST_F(FileWatcherTest, NonExistentDirectory) {
ASSERT_FALSE(watcher.Watch(test_file().AppendASCII("FileToWatch"), NULL));
}
+#endif
} // namespace