| OLD | NEW |
| 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 Loading... |
| 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 } |
| OLD | NEW |