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

Unified Diff: pkg/watcher/test/utils.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/ready/mac_os_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/watcher/test/utils.dart
diff --git a/pkg/watcher/test/utils.dart b/pkg/watcher/test/utils.dart
index 3070d790636ec19323e1cad670245021234e06bc..e18c7e8131919db141932865c07618a89c924e92 100644
--- a/pkg/watcher/test/utils.dart
+++ b/pkg/watcher/test/utils.dart
@@ -137,6 +137,8 @@ void startWatcher({String dir}) {
// people think it might be the root cause.
if (currentSchedule.errors.isEmpty) {
expect(allEvents, hasLength(numEvents));
+ } else {
+ currentSchedule.addDebugInfo("Events fired:\n${allEvents.join('\n')}");
}
}, "reset watcher");
« no previous file with comments | « pkg/watcher/test/ready/mac_os_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698