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

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

Issue 46843003: Wrap Directory.watch on linux 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/polling_test.dart ('k') | pkg/watcher/test/ready_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/watcher/test/ready/shared.dart
diff --git a/pkg/watcher/test/ready_test.dart b/pkg/watcher/test/ready/shared.dart
similarity index 95%
rename from pkg/watcher/test/ready_test.dart
rename to pkg/watcher/test/ready/shared.dart
index 11b77e02c7ef061ea7dc8126273d39d7c04923d3..af1b58f990d5f17abae84934f588695cdab77c93 100644
--- a/pkg/watcher/test/ready_test.dart
+++ b/pkg/watcher/test/ready/shared.dart
@@ -2,17 +2,11 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-import 'dart:async';
-
import 'package:scheduled_test/scheduled_test.dart';
-import 'utils.dart';
-
-main() {
- initConfig();
-
- setUp(createSandbox);
+import '../utils.dart';
+sharedTests() {
test('ready does not complete until after subscription', () {
var watcher = createWatcher(waitForReady: false);
« no previous file with comments | « pkg/watcher/test/ready/polling_test.dart ('k') | pkg/watcher/test/ready_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698