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

Side by Side Diff: sdk/lib/_internal/pub_generated/test/dart2js/ignores_non_entrypoint_dart_files_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 import '../serve/utils.dart';
5 main() {
6 initConfig();
7 setUp(() {
8 d.dir(
9 appPath,
10 [
11 d.appPubspec(),
12 d.dir(
13 'web',
14 [
15 d.file('file1.dart', 'var main = () => print("hello");'),
16 d.file('file2.dart', 'void main(arg1, arg2, arg3) => print(" hello");'),
17 d.file('file3.dart', 'class Foo { void main() => print("hell o"); }'),
18 d.file('file4.dart', 'var foo;')])]).create();
19 });
20 integration("build ignores non-entrypoint Dart files", () {
21 schedulePub(
22 args: ["build"],
23 output: new RegExp(r'Built 0 files to "build".'));
24 d.dir(appPath, [d.dir('build', [d.nothing('web')])]).validate();
25 });
26 integration("serve ignores non-entrypoint Dart files", () {
27 pubServe();
28 requestShould404("file1.dart.js");
29 requestShould404("file2.dart.js");
30 requestShould404("file3.dart.js");
31 requestShould404("file4.dart.js");
32 endPubServe();
33 });
34 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698