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

Side by Side Diff: sdk/lib/_internal/pub_generated/test/build/includes_assets_from_dependencies_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 '../test_pub.dart';
4 main() {
5 initConfig();
6 integration("includes assets from the 'lib' directory of dependencies", () {
7 currentSchedule.timeout *= 3;
8 d.dir(
9 "foo",
10 [
11 d.libPubspec("foo", "0.0.1"),
12 d.dir(
13 "lib",
14 [
15 d.file("foo.txt", "foo"),
16 d.dir("sub", [d.file("bar.txt", "bar")])])]).create();
17 d.dir(appPath, [d.appPubspec({
18 "foo": {
19 "path": "../foo"
20 }
21 }),
22 d.dir("example", [d.file("index.html", "html")]),
23 d.dir(
24 "web",
25 [
26 d.file("index.html", "html"),
27 d.dir("sub", [d.file("index.html", "html")])])]).create();
28 schedulePub(
29 args: ["build", "--all"],
30 output: new RegExp(r'Built 7 files to "build".'));
31 d.dir(
32 appPath,
33 [
34 d.dir(
35 'build',
36 [
37 d.dir(
38 'example',
39 [
40 d.file("index.html", "html"),
41 d.dir(
42 'packages',
43 [
44 d.dir(
45 'foo',
46 [d.file('foo.txt', 'foo'), d.dir('sub', [d.file('bar.txt', 'bar')])])])]),
47 d.dir(
48 'web',
49 [
50 d.file("index.html", "html"),
51 d.dir(
52 'packages',
53 [
54 d.dir(
55 'foo',
56 [d.file('foo.txt', 'foo'), d.dir('sub', [d.file('bar.txt', 'bar')])])]),
57 d.dir(
58 "sub",
59 [d.file("index.html", "html"), d.nothing("packag es")])])])]).validate();
60 });
61 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698