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

Unified Diff: test/build/outputs_error_to_json_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/build/defaults_to_release_mode_test.dart ('k') | test/dart2js/compiles_generated_dart_file_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/build/outputs_error_to_json_test.dart
diff --git a/test/build/outputs_error_to_json_test.dart b/test/build/outputs_error_to_json_test.dart
index 79b75ec7b0841b8edadbc7d39186b7be35260465..869bdda038b0cd25d701b20a6e43687ff50f96a1 100644
--- a/test/build/outputs_error_to_json_test.dart
+++ b/test/build/outputs_error_to_json_test.dart
@@ -28,10 +28,13 @@ class RewriteTransformer extends Transformer {
main() {
integration("outputs error to JSON in a failed build", () {
+ serveBarback();
+
d.dir(appPath, [
d.pubspec({
"name": "myapp",
- "transformers": ["myapp"]
+ "transformers": ["myapp"],
+ "dependencies": {"barback": "any"}
}),
d.dir("lib", [
d.file("transformer.dart", TRANSFORMER)
@@ -41,8 +44,7 @@ main() {
])
]).create();
- createLockFile('myapp', pkg: ['barback']);
-
+ pubGet();
schedulePub(args: ["build", "--format", "json"],
outputJson: {
"buildResult": "failure",
« no previous file with comments | « test/build/defaults_to_release_mode_test.dart ('k') | test/dart2js/compiles_generated_dart_file_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698