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

Side by Side Diff: sdk/lib/_internal/pub_generated/test/build/includes_dart_files_in_debug_mode_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 in debug mode", () {
7 d.dir(
8 appPath,
9 [
10 d.appPubspec(),
11 d.dir(
12 'web',
13 [
14 d.file('file1.dart', 'var main = () => print("hello");'),
15 d.file('file2.dart', 'void main(arg1, arg2, arg3) => print(" hello");'),
16 d.file('file3.dart', 'class Foo { void main() => print("hell o"); }'),
17 d.file('file4.dart', 'var foo;')])]).create();
18 schedulePub(
19 args: ["build", "--mode", "debug"],
20 output: new RegExp(r'Built \d+ files to "build".'));
21 d.dir(
22 appPath,
23 [
24 d.dir(
25 'build',
26 [
27 d.dir(
28 'web',
29 [
30 d.nothing('file1.dart.js'),
31 d.matcherFile('file1.dart', isNot(isEmpty)),
32 d.nothing('file2.dart.js'),
33 d.matcherFile('file2.dart', isNot(isEmpty)),
34 d.nothing('file3.dart.js'),
35 d.matcherFile('file3.dart', isNot(isEmpty)),
36 d.nothing('file4.dart.js'),
37 d.matcherFile('file4.dart', isNot(isEmpty))])])]).va lidate();
38 });
39 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698