| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS d.file | 1 // Copyright (c) 2014, 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 'package:scheduled_test/scheduled_stream.dart'; | 5 import 'package:scheduled_test/scheduled_stream.dart'; |
| 8 import 'package:scheduled_test/scheduled_test.dart'; | 6 import 'package:scheduled_test/scheduled_test.dart'; |
| 9 | 7 |
| 10 import '../../descriptor.dart' as d; | 8 import '../../descriptor.dart' as d; |
| 11 import '../../test_pub.dart'; | 9 import '../../test_pub.dart'; |
| 12 import '../../serve/utils.dart'; | 10 import '../../serve/utils.dart'; |
| 13 | 11 |
| 14 main() { | 12 main() { |
| 15 integration("works on a lazy transformer", () { | 13 integration("works on a lazy transformer", () { |
| 16 serveBarback(); | 14 serveBarback(); |
| (...skipping 28 matching lines...) Expand all Loading... |
| 45 requestShouldSucceed("b.out", isNot(isEmpty)); | 43 requestShouldSucceed("b.out", isNot(isEmpty)); |
| 46 server.stdout.expect(consumeThrough(emitsLines( | 44 server.stdout.expect(consumeThrough(emitsLines( |
| 47 "[Info from LazyRewrite]:\n" | 45 "[Info from LazyRewrite]:\n" |
| 48 "Rewriting myapp|web/b.txt."))); | 46 "Rewriting myapp|web/b.txt."))); |
| 49 server.stdout.expect(consumeThrough("Build completed successfully")); | 47 server.stdout.expect(consumeThrough("Build completed successfully")); |
| 50 | 48 |
| 51 requestShould404("c.out"); | 49 requestShould404("c.out"); |
| 52 endPubServe(); | 50 endPubServe(); |
| 53 }); | 51 }); |
| 54 } | 52 } |
| OLD | NEW |