| 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.transform.import_inliner_test; | 5 library polymer.test.build.import_inliner_test; |
| 6 | 6 |
| 7 import 'package:polymer/src/transform/common.dart'; | 7 import 'package:polymer/src/build/common.dart'; |
| 8 import 'package:polymer/src/transform/import_inliner.dart'; | 8 import 'package:polymer/src/build/import_inliner.dart'; |
| 9 import 'package:unittest/compact_vm_config.dart'; | 9 import 'package:unittest/compact_vm_config.dart'; |
| 10 import 'package:unittest/unittest.dart'; | 10 import 'package:unittest/unittest.dart'; |
| 11 | 11 |
| 12 import 'common.dart'; | 12 import 'common.dart'; |
| 13 | 13 |
| 14 void main() { | 14 void main() { |
| 15 useCompactVMConfiguration(); | 15 useCompactVMConfiguration(); |
| 16 var phases = [[new ImportedElementInliner(new TransformOptions())]]; | 16 var phases = [[new ImportedElementInliner(new TransformOptions())]]; |
| 17 testPhases('no changes', phases, { | 17 testPhases('no changes', phases, { |
| 18 'a|web/test.html': '<!DOCTYPE html><html></html>', | 18 'a|web/test.html': '<!DOCTYPE html><html></html>', |
| (...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 363 '<!DOCTYPE html><html><head>' | 363 '<!DOCTYPE html><html><head>' |
| 364 '</head><body>' | 364 '</head><body>' |
| 365 '<polymer-element>3</polymer-element>' | 365 '<polymer-element>3</polymer-element>' |
| 366 '<polymer-element>2</polymer-element></body></html>', | 366 '<polymer-element>2</polymer-element></body></html>', |
| 367 'a|web/test_3.html': | 367 'a|web/test_3.html': |
| 368 '<!DOCTYPE html><html><head>' | 368 '<!DOCTYPE html><html><head>' |
| 369 '</head><body>' | 369 '</head><body>' |
| 370 '<polymer-element>3</polymer-element></body></html>', | 370 '<polymer-element>3</polymer-element></body></html>', |
| 371 }); | 371 }); |
| 372 } | 372 } |
| OLD | NEW |