Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1017)

Unified Diff: pkg/watcher/test/directory_watcher/mac_os_test.dart

Issue 122573003: Don't test for file differences in the polling watcher. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Revise shared test. Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/watcher/test/directory_watcher/mac_os_test.dart
diff --git a/pkg/watcher/test/directory_watcher/mac_os_test.dart b/pkg/watcher/test/directory_watcher/mac_os_test.dart
index 8fc2d3e54dec68e8cc4df849ce9c307a08ae10e9..077787a29e6c624bb364fe556a6384af7ef6d18c 100644
--- a/pkg/watcher/test/directory_watcher/mac_os_test.dart
+++ b/pkg/watcher/test/directory_watcher/mac_os_test.dart
@@ -36,16 +36,6 @@ main() {
expectAddEvent("dir/newer.txt");
});
- test('notifies even if the file contents are unchanged', () {
- writeFile("a.txt", contents: "same");
- writeFile("b.txt", contents: "before");
- startWatcher();
- writeFile("a.txt", contents: "same");
- writeFile("b.txt", contents: "after");
- expectModifyEvent("a.txt");
- expectModifyEvent("b.txt");
- });
-
test('emits events for many nested files moved out then immediately back in',
() {
withPermutations((i, j, k) =>
« no previous file with comments | « pkg/watcher/test/directory_watcher/linux_test.dart ('k') | pkg/watcher/test/directory_watcher/polling_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698