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

Side by Side Diff: sdk/lib/_internal/pub_generated/test/build/copies_browser_js_with_dev_dependency_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 'utils.dart';
5 main() {
6 initConfig();
7 integration(
8 "compiles dart.js and interop.js next to entrypoints when "
9 "browser is a dev dependency",
10 () {
11 currentSchedule.timeout *= 3;
12 serveBrowserPackage();
13 d.dir(appPath, [d.pubspec({
14 "name": "myapp",
15 "dev_dependencies": {
16 "browser": "any"
17 }
18 }),
19 d.dir(
20 'web',
21 [d.file('file.dart', 'void main() => print("hello");')])]).create( );
22 pubGet();
23 schedulePub(
24 args: ["build", "--all"],
25 output: new RegExp(r'Built 4 files to "build".'));
26 d.dir(
27 appPath,
28 [
29 d.dir(
30 'build',
31 [
32 d.dir(
33 'web',
34 [
35 d.dir(
36 'packages',
37 [
38 d.dir(
39 'browser',
40 [
41 d.file('dart.js', 'contents of dart. js'),
42 d.file('interop.js', 'contents of in terop.js')])])])])]).validate();
43 });
44 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698