| 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("watches modifications to files when using the native watcher", | 13 integration("watches modifications to files when using the native watcher", |
| 16 () { | 14 () { |
| (...skipping 12 matching lines...) Expand all Loading... |
| 29 d.dir("web", [ | 27 d.dir("web", [ |
| 30 d.file("index.html", "after") | 28 d.file("index.html", "after") |
| 31 ]) | 29 ]) |
| 32 ]).create(); | 30 ]).create(); |
| 33 | 31 |
| 34 waitForBuildSuccess(); | 32 waitForBuildSuccess(); |
| 35 requestShouldSucceed("index.html", "after"); | 33 requestShouldSucceed("index.html", "after"); |
| 36 endPubServe(); | 34 endPubServe(); |
| 37 }); | 35 }); |
| 38 } | 36 } |
| OLD | NEW |