| Index: pkg/barback/test/package_graph/transform_test.dart
|
| diff --git a/pkg/barback/test/package_graph/transform_test.dart b/pkg/barback/test/package_graph/transform_test.dart
|
| index af8df48ecab6cc2fa88575f85ba6031b92662d06..14aff9fabcf1a105b5433590b35af02a742ec347 100644
|
| --- a/pkg/barback/test/package_graph/transform_test.dart
|
| +++ b/pkg/barback/test/package_graph/transform_test.dart
|
| @@ -1002,6 +1002,29 @@ main() {
|
| buildShouldSucceed();
|
| });
|
|
|
| + test("doesn't complete the build until all packages' transforms are "
|
| + "finished running", () {
|
| + var transformer = new ManyToOneTransformer("txt");
|
| + initGraph({
|
| + "pkg1|a.txt": "pkg2|a.inc",
|
| + "pkg2|a.inc": "a"
|
| + }, {
|
| + "pkg1": [[transformer]]
|
| + });
|
| +
|
| + updateSources(["pkg1|a.txt", "pkg2|a.inc"]);
|
| + expectAsset("pkg1|a.out", "a");
|
| + buildShouldSucceed();
|
| +
|
| + transformer.pauseApply();
|
| + modifyAsset("pkg2|a.inc", "new a");
|
| + updateSources(["pkg2|a.inc"]);
|
| + buildShouldNotBeDone();
|
| +
|
| + transformer.resumeApply();
|
| + buildShouldSucceed();
|
| + });
|
| +
|
| test("runs a transform that's added because of a change in another package",
|
| () {
|
| initGraph({
|
|
|