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 '../descriptor.dart' as d; | 5 import '../descriptor.dart' as d; |
8 import '../test_pub.dart'; | 6 import '../test_pub.dart'; |
9 import '../serve/utils.dart'; | 7 import '../serve/utils.dart'; |
10 | 8 |
11 const AGGREGATE_TRANSFORMER = """ | 9 const AGGREGATE_TRANSFORMER = """ |
12 import 'dart:async'; | 10 import 'dart:async'; |
13 | 11 |
14 import 'package:barback/barback.dart'; | 12 import 'package:barback/barback.dart'; |
15 import 'package:path/path.dart' as p; | 13 import 'package:path/path.dart' as p; |
16 | 14 |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 | 61 |
64 pubGet(); | 62 pubGet(); |
65 var server = pubServe(); | 63 var server = pubServe(); |
66 // The transformer should preserve laziness. | 64 // The transformer should preserve laziness. |
67 server.stdout.expect("Build completed successfully"); | 65 server.stdout.expect("Build completed successfully"); |
68 | 66 |
69 requestShouldSucceed("out.final", "bar.out\nfoo.out"); | 67 requestShouldSucceed("out.final", "bar.out\nfoo.out"); |
70 endPubServe(); | 68 endPubServe(); |
71 }); | 69 }); |
72 } | 70 } |
OLD | NEW |