| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS 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 barback.test.package_graph.transform_test; | 5 library barback.test.package_graph.transform_test; |
| 6 | 6 |
| 7 import 'dart:async'; | |
| 8 | |
| 9 import 'package:barback/barback.dart'; | |
| 10 import 'package:barback/src/utils.dart'; | 7 import 'package:barback/src/utils.dart'; |
| 11 import 'package:scheduled_test/scheduled_test.dart'; | 8 import 'package:scheduled_test/scheduled_test.dart'; |
| 12 | 9 |
| 13 import '../utils.dart'; | 10 import '../utils.dart'; |
| 14 | 11 |
| 15 main() { | 12 main() { |
| 16 initConfig(); | 13 initConfig(); |
| 17 test("gets a transformed asset with a different path", () { | 14 test("gets a transformed asset with a different path", () { |
| 18 initGraph(["app|foo.blub"], {"app": [ | 15 initGraph(["app|foo.blub"], {"app": [ |
| 19 [new RewriteTransformer("blub", "blab")] | 16 [new RewriteTransformer("blub", "blab")] |
| (...skipping 1033 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1053 buildShouldSucceed(); | 1050 buildShouldSucceed(); |
| 1054 | 1051 |
| 1055 modifyAsset("pkg2|a.inc", "b"); | 1052 modifyAsset("pkg2|a.inc", "b"); |
| 1056 updateSources(["pkg2|a.inc"]); | 1053 updateSources(["pkg2|a.inc"]); |
| 1057 expectAsset("pkg1|b", "spread out"); | 1054 expectAsset("pkg1|b", "spread out"); |
| 1058 expectNoAsset("pkg1|c.done"); | 1055 expectNoAsset("pkg1|c.done"); |
| 1059 buildShouldSucceed(); | 1056 buildShouldSucceed(); |
| 1060 }); | 1057 }); |
| 1061 }); | 1058 }); |
| 1062 } | 1059 } |
| OLD | NEW |