Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(712)

Unified Diff: pkg/barback/test/package_graph/transform/pass_through_test.dart

Issue 224933002: Only run [Transformer.isPrimary] once for each asset/transformer pair. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: code review Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/barback/test/package_graph/transform/pass_through_test.dart
diff --git a/pkg/barback/test/package_graph/transform/pass_through_test.dart b/pkg/barback/test/package_graph/transform/pass_through_test.dart
index eb90418385fd1d0b89e218f5253f261f46f2840a..1e5f4b39fa7ff4c12a5d333d85f9263f4efcacb6 100644
--- a/pkg/barback/test/package_graph/transform/pass_through_test.dart
+++ b/pkg/barback/test/package_graph/transform/pass_through_test.dart
@@ -252,22 +252,4 @@ main() {
expectAsset("app|foo.txt", "bar.in");
buildShouldSucceed();
});
-
- test("doesn't return an overwritten asset until we know it will still "
- "be overwritten", () {
- var rewrite = new RewriteTransformer("txt", "txt");
- initGraph(["app|foo.txt"], {"app": [[rewrite]]});
-
- updateSources(["app|foo.txt"]);
- expectAsset("app|foo.txt", "foo.txt");
- buildShouldSucceed();
-
- rewrite.pauseIsPrimary("app|foo.txt");
- updateSources(["app|foo.txt"]);
- expectAssetDoesNotComplete("app|foo.txt");
-
- rewrite.resumeIsPrimary("app|foo.txt");
- expectAsset("app|foo.txt", "foo.txt");
- buildShouldSucceed();
- });
}
« no previous file with comments | « pkg/barback/test/package_graph/transform/concurrency_test.dart ('k') | pkg/barback/test/transformer/bad.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698