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

Side by Side Diff: sdk/lib/_internal/pub_generated/test/transformer/does_not_run_a_transform_on_an_input_in_another_package_test.dart

Issue 557563002: Store the async-await compiled pub code directly in the repo. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 months 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 library pub_tests;
2 import '../descriptor.dart' as d;
3 import '../test_pub.dart';
4 import '../serve/utils.dart';
5 main() {
6 initConfig();
7 withBarbackVersions("any", () {
8 integration("does not run a transform on an input in another package", () {
9 d.dir("foo", [d.pubspec({
10 "name": "foo",
11 "version": "0.0.1",
12 "transformers": ["foo/transformer"]
13 }),
14 d.dir(
15 "lib",
16 [
17 d.file("transformer.dart", REWRITE_TRANSFORMER),
18 d.file("foo.txt", "foo")])]).create();
19 d.dir(appPath, [d.appPubspec({
20 "foo": {
21 "path": "../foo"
22 }
23 }), d.dir("lib", [d.file("bar.txt", "bar")])]).create();
24 createLockFile('myapp', sandbox: ['foo'], pkg: ['barback']);
25 pubServe();
26 requestShould404("packages/myapp/bar.out");
27 endPubServe();
28 });
29 });
30 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698