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

Side by Side Diff: sdk/lib/_internal/pub_generated/test/transformer/exclusion/exclude_asset_list_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("excludes a list of assets", () {
9 d.dir(appPath, [d.pubspec({
10 "name": "myapp",
11 "transformers": [{
12 "myapp/src/transformer": {
13 "\$exclude": ["web/foo.txt", "web/sub/foo.txt"]
14 }
15 }]
16 }),
17 d.dir("lib", [d.dir("src", [d.file("transformer.dart", REWRITE_TRANS FORMER)])]),
18 d.dir(
19 "web",
20 [
21 d.file("foo.txt", "foo"),
22 d.file("bar.txt", "bar"),
23 d.dir("sub", [d.file("foo.txt", "foo")])])]).create();
24 createLockFile('myapp', pkg: ['barback']);
25 pubServe();
26 requestShould404("foo.out");
27 requestShould404("sub/foo.out");
28 requestShouldSucceed("bar.out", "bar.out");
29 endPubServe();
30 });
31 });
32 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698