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

Unified Diff: test/transformer/loads_different_configurations_from_the_same_isolate_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/loads_different_configurations_from_the_same_isolate_test.dart
diff --git a/test/transformer/loads_different_configurations_from_the_same_isolate_test.dart b/test/transformer/loads_different_configurations_from_the_same_isolate_test.dart
index 580886e6bfd04cfc7e69a295302953df45a3d068..89a90ba7c4bd998d69f82f1574c917cfb13b5271 100644
--- a/test/transformer/loads_different_configurations_from_the_same_isolate_test.dart
+++ b/test/transformer/loads_different_configurations_from_the_same_isolate_test.dart
@@ -27,6 +27,8 @@ main() {
// code than the previous instance. This tests asserts that that doesn't
// happen.
+ serveBarback();
+
d.dir("foo", [
d.pubspec({
"name": "foo",
@@ -34,7 +36,8 @@ main() {
"transformers": [
{"foo/first": {"addition": " in foo"}},
"foo/second"
- ]
+ ],
+ "dependencies": {"barback": "any"}
}),
d.dir("lib", [
d.file("first.dart", dartTransformer('foo/first')),
@@ -54,7 +57,10 @@ main() {
},
{"foo/second": {"\$include": "web/second.dart"}}
],
- "dependencies": {'foo': {'path': '../foo'}}
+ "dependencies": {
+ 'foo': {'path': '../foo'},
+ 'barback': 'any'
+ }
}),
d.dir("web", [
// This is transformed by foo/first. It's used to see which
@@ -67,8 +73,7 @@ main() {
])
]).create();
- createLockFile('myapp', sandbox: ['foo'], pkg: ['barback']);
-
+ pubGet();
pubServe();
// The version of foo/first used on myapp should have myapp's

Powered by Google App Engine
This is Rietveld 408576698