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

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

Issue 23757034: Rearranges the polymer package now that the old compiler is gone. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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
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.script_compactor_test; 5 library polymer.test.build.script_compactor_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/script_compactor.dart'; 8 import 'package:polymer/src/build/script_compactor.dart';
9 import 'package:unittest/compact_vm_config.dart'; 9 import 'package:unittest/compact_vm_config.dart';
10 10
11 import 'common.dart'; 11 import 'common.dart';
12 12
13 void main() { 13 void main() {
14 useCompactVMConfiguration(); 14 useCompactVMConfiguration();
15 var phases = [[new ScriptCompactor(new TransformOptions())]]; 15 var phases = [[new ScriptCompactor(new TransformOptions())]];
16 16
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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 initPolymer([ 90 initPolymer([
91 'a.dart', 91 'a.dart',
92 'b.dart', 92 'b.dart',
93 'c.dart', 93 'c.dart',
94 'd.dart', 94 'd.dart',
95 ], currentMirrorSystem().isolate.rootLibrary.uri.toString()); 95 ], currentMirrorSystem().isolate.rootLibrary.uri.toString());
96 } 96 }
97 '''.replaceAll('\n ', '\n'), 97 '''.replaceAll('\n ', '\n'),
98 }); 98 });
99 } 99 }
OLDNEW
« no previous file with comments | « pkg/polymer/test/build/polyfill_injector_test.dart ('k') | pkg/polymer/test/build/utils_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698