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

Side by Side Diff: sdk/lib/_internal/pub_generated/test/barback/all_includes_all_default_directories_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 import 'package:scheduled_test/scheduled_test.dart';
2 import '../descriptor.dart' as d;
3 import '../serve/utils.dart';
4 import '../test_pub.dart';
5 main() {
6 initConfig();
7 setUp(() {
8 d.dir(
9 appPath,
10 [
11 d.appPubspec(),
12 d.dir('benchmark', [d.file('file.txt', 'benchmark')]),
13 d.dir('bin', [d.file('file.txt', 'bin')]),
14 d.dir('example', [d.file('file.txt', 'example')]),
15 d.dir('test', [d.file('file.txt', 'test')]),
16 d.dir('web', [d.file('file.txt', 'web')]),
17 d.dir('unknown', [d.file('file.txt', 'unknown')])]).create();
18 });
19 integration("build --all finds assets in default source directories", () {
20 schedulePub(
21 args: ["build", "--all"],
22 output: new RegExp(r'Built 5 files to "build".'));
23 d.dir(
24 appPath,
25 [
26 d.dir(
27 'build',
28 [
29 d.dir('benchmark', [d.file('file.txt', 'benchmark')]),
30 d.dir('bin', [d.file('file.txt', 'bin')]),
31 d.dir('example', [d.file('file.txt', 'example')]),
32 d.dir('test', [d.file('file.txt', 'test')]),
33 d.dir('web', [d.file('file.txt', 'web')]),
34 d.nothing('unknown')])]).validate();
35 });
36 integration("serve --all finds assets in default source directories", () {
37 pubServe(args: ["--all"]);
38 requestShouldSucceed("file.txt", "benchmark", root: "benchmark");
39 requestShouldSucceed("file.txt", "bin", root: "bin");
40 requestShouldSucceed("file.txt", "example", root: "example");
41 requestShouldSucceed("file.txt", "test", root: "test");
42 requestShouldSucceed("file.txt", "web", root: "web");
43 expectNotServed("unknown");
44 endPubServe();
45 });
46 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698