OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS d.file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS d.file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 library pub_tests; | |
6 | |
7 import '../descriptor.dart' as d; | 5 import '../descriptor.dart' as d; |
8 import '../test_pub.dart'; | 6 import '../test_pub.dart'; |
9 import 'utils.dart'; | 7 import 'utils.dart'; |
10 | 8 |
11 // TODO(nweiz): Default to testing the native watcher and add an explicit test | 9 // TODO(nweiz): Default to testing the native watcher and add an explicit test |
12 // for the polling watcher when issue 14941 is fixed. | 10 // for the polling watcher when issue 14941 is fixed. |
13 | 11 |
14 main() { | 12 main() { |
15 integration("picks up files added after serving started when using the " | 13 integration("picks up files added after serving started when using the " |
16 "native watcher", () { | 14 "native watcher", () { |
(...skipping 13 matching lines...) Expand all Loading... |
30 d.dir("web", [ | 28 d.dir("web", [ |
31 d.file("other.html", "added") | 29 d.file("other.html", "added") |
32 ]) | 30 ]) |
33 ]).create(); | 31 ]).create(); |
34 | 32 |
35 waitForBuildSuccess(); | 33 waitForBuildSuccess(); |
36 requestShouldSucceed("other.html", "added"); | 34 requestShouldSucceed("other.html", "added"); |
37 endPubServe(); | 35 endPubServe(); |
38 }); | 36 }); |
39 } | 37 } |
OLD | NEW |