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

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

Issue 66163002: Wrap Directory.watch on Mac OS for the watcher package. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: code review Created 7 years, 1 month 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
« no previous file with comments | « pkg/watcher/test/path_set_test.dart ('k') | pkg/watcher/test/utils.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/watcher/test/ready/mac_os_test.dart
diff --git a/pkg/watcher/test/ready/polling_test.dart b/pkg/watcher/test/ready/mac_os_test.dart
similarity index 77%
copy from pkg/watcher/test/ready/polling_test.dart
copy to pkg/watcher/test/ready/mac_os_test.dart
index fa4f0cbe268d8b41c43c93ea36c87fb8acf76cad..e0275c4ee2262bda6c6eb514c6a84d3694d7bf34 100644
--- a/pkg/watcher/test/ready/polling_test.dart
+++ b/pkg/watcher/test/ready/mac_os_test.dart
@@ -3,6 +3,7 @@
// BSD-style license that can be found in the LICENSE file.
import 'package:scheduled_test/scheduled_test.dart';
+import 'package:watcher/src/directory_watcher/mac_os.dart';
import 'package:watcher/watcher.dart';
import 'shared.dart';
@@ -11,7 +12,7 @@ import '../utils.dart';
main() {
initConfig();
- watcherFactory = (dir) => new PollingDirectoryWatcher(dir);
+ watcherFactory = (dir) => new MacOSDirectoryWatcher(dir);
setUp(createSandbox);
« no previous file with comments | « pkg/watcher/test/path_set_test.dart ('k') | pkg/watcher/test/utils.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698