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

Side by Side Diff: test/dartdevc/build_test.dart

Issue 2893483005: Support DDC debugging tools. (Closed)
Patch Set: Code review fixes. Created 3 years, 7 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) 2017, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2017, 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 import 'package:pub/src/compiler.dart'; 5 import 'package:pub/src/compiler.dart';
6 import 'package:scheduled_test/scheduled_test.dart'; 6 import 'package:scheduled_test/scheduled_test.dart';
7 7
8 import '../descriptor.dart' as d; 8 import '../descriptor.dart' as d;
9 import '../test_pub.dart'; 9 import '../test_pub.dart';
10 10
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 output: new RegExp(r'Built [\d]+ files to "build".')); 62 output: new RegExp(r'Built [\d]+ files to "build".'));
63 63
64 d.dir(appPath, [ 64 d.dir(appPath, [
65 d.dir('build', [ 65 d.dir('build', [
66 d.dir('web', [ 66 d.dir('web', [
67 d.matcherFile('main.dart.js', isNot(isEmpty)), 67 d.matcherFile('main.dart.js', isNot(isEmpty)),
68 d.matcherFile('main.dart.bootstrap.js', isNot(isEmpty)), 68 d.matcherFile('main.dart.bootstrap.js', isNot(isEmpty)),
69 d.matcherFile('dart_sdk.js', isNot(isEmpty)), 69 d.matcherFile('dart_sdk.js', isNot(isEmpty)),
70 d.matcherFile('require.js', isNot(isEmpty)), 70 d.matcherFile('require.js', isNot(isEmpty)),
71 d.matcherFile('web__main.js', isNot(isEmpty)), 71 d.matcherFile('web__main.js', isNot(isEmpty)),
72 d.matcherFile('dart_stack_trace_mapper.js', isNot(isEmpty)),
73 d.matcherFile('ddc_web_compiler.js', isNot(isEmpty)),
72 d.dir('packages', [ 74 d.dir('packages', [
73 d.dir('foo', [d.matcherFile('lib__foo.js', isNot(isEmpty))]), 75 d.dir('foo', [d.matcherFile('lib__foo.js', isNot(isEmpty))]),
74 d.dir(appPath, [d.matcherFile('lib__hello.js', isNot(isEmpty))]), 76 d.dir(appPath, [d.matcherFile('lib__hello.js', isNot(isEmpty))]),
75 ]), 77 ]),
76 d.matcherFile('web__subdir__subfile.js', isNot(isEmpty)), 78 d.matcherFile('web__subdir__subfile.js', isNot(isEmpty)),
77 d.dir('subdir', [ 79 d.dir('subdir', [
78 d.matcherFile('subfile.dart.js', isNot(isEmpty)), 80 d.matcherFile('subfile.dart.js', isNot(isEmpty)),
79 d.matcherFile( 81 d.matcherFile(
80 'subfile.dart.bootstrap.js', 82 'subfile.dart.bootstrap.js',
81 allOf( 83 allOf(
82 contains('"web/web__main": ' 84 contains('"web/web__main": '
83 '"../web__main"'), 85 '"../web__main"'),
84 contains( 86 contains(
85 '"packages/foo/lib__foo": "../packages/foo/lib__foo"'), 87 '"packages/foo/lib__foo": "../packages/foo/lib__foo"'),
86 )), 88 )),
87 d.matcherFile('dart_sdk.js', isNot(isEmpty)), 89 d.matcherFile('dart_sdk.js', isNot(isEmpty)),
88 d.matcherFile('require.js', isNot(isEmpty)), 90 d.matcherFile('require.js', isNot(isEmpty)),
91 d.matcherFile('dart_stack_trace_mapper.js', isNot(isEmpty)),
92 d.matcherFile('ddc_web_compiler.js', isNot(isEmpty)),
89 ]), 93 ]),
90 ]), 94 ]),
91 ]), 95 ]),
92 ]).validate(); 96 ]).validate();
93 }); 97 });
94 } 98 }
OLDNEW
« lib/src/dartdevc/dartdevc_environment.dart ('K') | « lib/src/dartdevc/dartdevc_environment.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698