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

Unified Diff: test/transformer/runs_a_transformer_group_test.dart

Issue 1523323004: Install barback from a hosted source in all tests. (Closed) Base URL: git@github.com:dart-lang/pub.git@master
Patch Set: Merge for real. Created 5 years 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: test/transformer/runs_a_transformer_group_test.dart
diff --git a/test/transformer/runs_a_transformer_group_test.dart b/test/transformer/runs_a_transformer_group_test.dart
index 854ced9f388ef599ec98b8a9fdf8fbc3f937407f..027290794a190c887cf64edc3674446e4508cd62 100644
--- a/test/transformer/runs_a_transformer_group_test.dart
+++ b/test/transformer/runs_a_transformer_group_test.dart
@@ -22,10 +22,13 @@ class RewriteGroup implements TransformerGroup {
main() {
integration("runs a transformer group", () {
+ serveBarback();
+
d.dir(appPath, [
d.pubspec({
"name": "myapp",
- "transformers": ["myapp/src/group"]
+ "transformers": ["myapp/src/group"],
+ "dependencies": {"barback": "any"}
}),
d.dir("lib", [d.dir("src", [
d.file("transformer.dart", REWRITE_TRANSFORMER),
@@ -36,8 +39,7 @@ main() {
])
]).create();
- createLockFile('myapp', pkg: ['barback']);
-
+ pubGet();
pubServe();
requestShouldSucceed("foo.out", "foo.out");
endPubServe();

Powered by Google App Engine
This is Rietveld 408576698