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

Side by Side Diff: pkg/polymer/test/build/script_compactor_test.dart

Issue 451933002: Tweaks to the injector UI (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 library polymer.test.build.script_compactor_test; 5 library polymer.test.build.script_compactor_test;
6 6
7 import 'dart:convert'; 7 import 'dart:convert';
8 8
9 import 'package:code_transformers/tests.dart' show testingDartSdkDirectory; 9 import 'package:code_transformers/tests.dart' show testingDartSdkDirectory;
10 import 'package:polymer/src/build/common.dart'; 10 import 'package:polymer/src/build/common.dart';
(...skipping 1162 matching lines...) Expand 10 before | Expand all | Expand 10 after
1173 '</body></html>', 1173 '</body></html>',
1174 'a|web/test.html_bootstrap.dart': 1174 'a|web/test.html_bootstrap.dart':
1175 '''$MAIN_HEADER 1175 '''$MAIN_HEADER
1176 import 'a.dart' as i0; 1176 import 'a.dart' as i0;
1177 import 'package:polymer/src/build/log_injector.dart'; 1177 import 'package:polymer/src/build/log_injector.dart';
1178 ${DEFAULT_IMPORTS.join('\n')} 1178 ${DEFAULT_IMPORTS.join('\n')}
1179 1179
1180 void main() { 1180 void main() {
1181 useGeneratedCode(new StaticConfiguration( 1181 useGeneratedCode(new StaticConfiguration(
1182 checkedMode: false)); 1182 checkedMode: false));
1183 new LogInjector().injectLogsFromUrl(); 1183 new LogInjector().injectLogsFromUrl('test.html._buildLogs');
1184 configureForDeployment([]); 1184 configureForDeployment([]);
1185 i0.main(); 1185 i0.main();
1186 } 1186 }
1187 '''.replaceAll('\n ', '\n'), 1187 '''.replaceAll('\n ', '\n'),
1188 'a|web/a.dart': 1188 'a|web/a.dart':
1189 'library a;\n' 1189 'library a;\n'
1190 'import "package:polymer/polymer.dart";\n' 1190 'import "package:polymer/polymer.dart";\n'
1191 'main(){}', 1191 'main(){}',
1192 }); 1192 });
1193 } 1193 }
OLDNEW
« pkg/polymer/lib/src/build/log_injector.dart ('K') | « pkg/polymer/pubspec.yaml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698