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

Unified Diff: test/run/resource_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
« no previous file with comments | « test/run/mode_test.dart ('k') | test/run/runs_a_generated_script_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/run/resource_test.dart
diff --git a/test/run/resource_test.dart b/test/run/resource_test.dart
index 85ba4c0a1be0b2f32af17ebaf3c9758c54d0f158..99775195ce6d37972ad5f2991931143130145a0c 100644
--- a/test/run/resource_test.dart
+++ b/test/run/resource_test.dart
@@ -96,10 +96,13 @@ main() async {
});
integration('the spawned application can load a transformed resource', () {
+ serveBarback();
+
d.dir(appPath, [
d.pubspec({
"name": "myapp",
- "transformers": ["myapp/src/transformer"]
+ "transformers": ["myapp/src/transformer"],
+ "dependencies": {"barback": "any"}
}),
d.dir("lib", [
d.file("resource.in", "hello!"),
@@ -121,8 +124,7 @@ main() async {
])
]).create();
- createLockFile('myapp', pkg: ['barback']);
-
+ pubGet();
var pub = pubRun(args: ["bin/script"]);
// TODO(nweiz): Enable this when sdk#23990 is fixed.
« no previous file with comments | « test/run/mode_test.dart ('k') | test/run/runs_a_generated_script_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698