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

Unified Diff: test/transformer/runs_a_third_party_transform_on_the_application_package_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_transform_on_the_application_package_test.dart
diff --git a/test/transformer/runs_a_third_party_transform_on_the_application_package_test.dart b/test/transformer/runs_a_third_party_transform_on_the_application_package_test.dart
index 6d3c68f0fb75406d7dd693cb1df656b908673fca..6ab054ceefe7651b500ee341982254fe35e059cf 100644
--- a/test/transformer/runs_a_third_party_transform_on_the_application_package_test.dart
+++ b/test/transformer/runs_a_third_party_transform_on_the_application_package_test.dart
@@ -10,8 +10,10 @@ import '../serve/utils.dart';
main() {
integration("runs a third-party transform on the application package", () {
+ serveBarback();
+
d.dir("foo", [
- d.libPubspec("foo", '1.0.0'),
+ d.libPubspec("foo", '1.0.0', deps: {"barback": "any"}),
d.dir("lib", [
d.file("foo.dart", REWRITE_TRANSFORMER)
])
@@ -20,16 +22,15 @@ main() {
d.dir(appPath, [
d.pubspec({
"name": "myapp",
- "dependencies": {"foo": {"path": "../foo"}},
- "transformers": ["foo"]
+ "transformers": ["foo"],
+ "dependencies": {"foo": {"path": "../foo"}}
}),
d.dir("web", [
d.file("foo.txt", "foo")
])
]).create();
- createLockFile('myapp', sandbox: ['foo'], pkg: ['barback']);
-
+ pubGet();
pubServe();
requestShouldSucceed("foo.out", "foo.out");
endPubServe();

Powered by Google App Engine
This is Rietveld 408576698