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

Side by Side Diff: sdk/lib/_internal/pub_generated/test/build/includes_dart_files_from_dependencies_in_debug_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 .dart files from dependencies in debug mode", () {
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.dart', 'foo() => print("hello");'),
16 d.dir("sub", [d.file('bar.dart', 'bar() => print("hello");') ])])]).create();
17 d.dir(appPath, [d.appPubspec({
18 "foo": {
19 "path": "../foo"
20 }
21 }),
22 d.dir(
23 "example",
24 [
25 d.file("main.dart", 'myapp() => print("not entrypoint");'),
26 d.dir(
27 "sub",
28 [d.file("main.dart", 'myapp() => print("not entrypoint");' )])])]).create();
29 schedulePub(
30 args: ["build", "--mode", "debug", "example"],
31 output: new RegExp(r'Built \d+ files to "build".'));
32 d.dir(
33 appPath,
34 [
35 d.dir(
36 'build',
37 [
38 d.dir(
39 'example',
40 [
41 d.file("main.dart", 'myapp() => print("not entrypoin t");'),
42 d.dir(
43 'packages',
44 [
45 d.dir(
46 'foo',
47 [
48 d.file('foo.dart', 'foo() => print(" hello");'),
49 d.dir("sub", [d.file('bar.dart', 'ba r() => print("hello");')])])]),
50 d.dir(
51 "sub",
52 [
53 d.file("main.dart", 'myapp() => print("not e ntrypoint");'),
54 d.nothing("packages")])])])]).validate();
55 });
56 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698