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

Side by Side Diff: test/dart2js/compiles_entrypoints_in_root_package_test.dart

Issue 1282533003: Don't implicitly run "pub get". (Closed) Base URL: git@github.com:dart-lang/pub.git@master
Patch Set: Code review changes Created 5 years, 4 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
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 // Dart2js can take a long time to compile dart code, so we increase the timeout 5 // Dart2js can take a long time to compile dart code, so we increase the timeout
6 // to cope with that. 6 // to cope with that.
7 @Timeout.factor(3) 7 @Timeout.factor(3)
8 8
9 import 'package:scheduled_test/scheduled_test.dart'; 9 import 'package:scheduled_test/scheduled_test.dart';
10 10
(...skipping 20 matching lines...) Expand all
31 ]), 31 ]),
32 d.dir('web', [ 32 d.dir('web', [
33 d.file('file.dart', 'void main() => print("hello");'), 33 d.file('file.dart', 'void main() => print("hello");'),
34 d.file('lib.dart', 'void foo() => print("hello");'), 34 d.file('lib.dart', 'void foo() => print("hello");'),
35 d.dir('subdir', [ 35 d.dir('subdir', [
36 d.file('subfile.dart', 'void main() => print("ping");') 36 d.file('subfile.dart', 'void main() => print("ping");')
37 ]) 37 ])
38 ]) 38 ])
39 ]).create(); 39 ]).create();
40 40
41 pubGet();
41 schedulePub(args: ["build", "benchmark", "foo", "web"], 42 schedulePub(args: ["build", "benchmark", "foo", "web"],
42 output: new RegExp(r'Built 6 files to "build".')); 43 output: new RegExp(r'Built 6 files to "build".'));
43 44
44 d.dir(appPath, [ 45 d.dir(appPath, [
45 d.dir('build', [ 46 d.dir('build', [
46 d.dir('benchmark', [ 47 d.dir('benchmark', [
47 d.matcherFile('file.dart.js', isNot(isEmpty)), 48 d.matcherFile('file.dart.js', isNot(isEmpty)),
48 d.nothing('file.dart'), 49 d.nothing('file.dart'),
49 d.nothing('lib.dart'), 50 d.nothing('lib.dart'),
50 d.dir('subdir', [ 51 d.dir('subdir', [
(...skipping 16 matching lines...) Expand all
67 d.nothing('lib.dart'), 68 d.nothing('lib.dart'),
68 d.dir('subdir', [ 69 d.dir('subdir', [
69 d.matcherFile('subfile.dart.js', isNot(isEmpty)), 70 d.matcherFile('subfile.dart.js', isNot(isEmpty)),
70 d.nothing('subfile.dart') 71 d.nothing('subfile.dart')
71 ]) 72 ])
72 ]) 73 ])
73 ]) 74 ])
74 ]).validate(); 75 ]).validate();
75 }); 76 });
76 } 77 }
OLDNEW
« no previous file with comments | « test/dart2js/allows_import_in_dart_code_test.dart ('k') | test/dart2js/converts_isolate_entrypoint_in_web_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698