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

Unified Diff: test/transformer/runs_a_third_party_transformer_on_a_local_transformer_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_third_party_transformer_on_a_local_transformer_test.dart
diff --git a/test/transformer/runs_a_third_party_transformer_on_a_local_transformer_test.dart b/test/transformer/runs_a_third_party_transformer_on_a_local_transformer_test.dart
index 65490fca98fe6b088ffef254e867f4582a8f3c44..f5ddc6133cd3b55d969913c7694b39b25a2378ba 100644
--- a/test/transformer/runs_a_third_party_transformer_on_a_local_transformer_test.dart
+++ b/test/transformer/runs_a_third_party_transformer_on_a_local_transformer_test.dart
@@ -10,8 +10,10 @@ import '../serve/utils.dart';
main() {
integration("runs a third-party transformer on a local transformer", () {
+ serveBarback();
+
d.dir("foo", [
- d.libPubspec("foo", '1.0.0'),
+ d.libPubspec("foo", '1.0.0', deps: {"barback": "any"}),
d.dir("lib", [
d.file("transformer.dart", dartTransformer('foo'))
])
@@ -21,7 +23,9 @@ main() {
d.pubspec({
"name": "myapp",
"transformers": ["foo/transformer", "myapp/transformer"],
- "dependencies": {"foo": {"path": "../foo"}}
+ "dependencies": {
+ "foo": {"path": "../foo"}
+ }
}),
d.dir("lib", [
d.file("transformer.dart", dartTransformer('myapp'))
@@ -31,8 +35,7 @@ main() {
])
]).create();
- createLockFile('myapp', sandbox: ['foo'], pkg: ['barback']);
-
+ pubGet();
pubServe();
requestShouldSucceed("main.dart",
'const TOKEN = "((main.dart, foo), (myapp, foo))";');

Powered by Google App Engine
This is Rietveld 408576698