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

Unified Diff: pkg/barback/test/package_graph/declaring_transformer_test.dart

Issue 299833003: Expose aggregate transformers in barback. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: code review Created 6 years, 7 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
« no previous file with comments | « pkg/barback/pubspec.yaml ('k') | pkg/barback/test/package_graph/transform/aggregate_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/barback/test/package_graph/declaring_transformer_test.dart
diff --git a/pkg/barback/test/package_graph/declaring_transformer_test.dart b/pkg/barback/test/package_graph/declaring_transformer_test.dart
index 9a8535f7dd2487703df338e4a76d7bb6f416938b..88f2a83c033b677ce1a32f47791916601ddb2aee 100644
--- a/pkg/barback/test/package_graph/declaring_transformer_test.dart
+++ b/pkg/barback/test/package_graph/declaring_transformer_test.dart
@@ -303,7 +303,7 @@ main() {
test("can emit outputs it didn't declare", () {
initGraph(["app|foo.txt"], {"app": [
- [new DeclareAssetsTransformer([], ["app|out.txt"])]
+ [new DeclareAssetsTransformer([], emitted: ["app|out.txt"])]
]});
updateSources(["app|foo.txt"]);
@@ -316,7 +316,8 @@ main() {
test("can overwrite the primary input even if it declared that it wouldn't",
() {
- var transformer = new DeclareAssetsTransformer([], ["app|foo.txt"]);
+ var transformer = new DeclareAssetsTransformer(
+ [], emitted: ["app|foo.txt"]);
initGraph(["app|foo.txt"], {"app": [[transformer]]});
transformer.pauseApply();
@@ -331,7 +332,7 @@ main() {
test("can declare outputs it doesn't emit", () {
initGraph(["app|foo.txt"], {"app": [
- [new DeclareAssetsTransformer(["app|out.txt"], [])]
+ [new DeclareAssetsTransformer(["app|out.txt"], emitted: [])]
]});
updateSources(["app|foo.txt"]);
« no previous file with comments | « pkg/barback/pubspec.yaml ('k') | pkg/barback/test/package_graph/transform/aggregate_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698