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

Side by Side Diff: dart/tests/compiler/dart2js/mirror_helper_unique_minification_test.dart

Issue 341923005: Update imports to use package:compiler and package:try. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Merged with r37512. Created 6 years, 6 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 import "package:expect/expect.dart"; 5 import "package:expect/expect.dart";
6 import 'dart:async'; 6 import 'dart:async';
7 import "package:async_helper/async_helper.dart"; 7 import "package:async_helper/async_helper.dart";
8 import 'memory_compiler.dart' show compilerFor; 8 import 'memory_compiler.dart' show compilerFor;
9 import '../../../sdk/lib/_internal/compiler/implementation/apiimpl.dart' show 9 import 'package:compiler/implementation/apiimpl.dart' show
10 Compiler; 10 Compiler;
11 import 11 import 'package:compiler/implementation/dart_backend/dart_backend.dart' show
12 '../../../sdk/lib/_internal/compiler/implementation/dart_backend/dart_backen d.dart'
13 show
14 DartBackend; 12 DartBackend;
15 import 13 import 'package:compiler/implementation/tree/tree.dart' show
16 '../../../sdk/lib/_internal/compiler/implementation/tree/tree.dart' 14 Identifier, Node, Send;
17 show Identifier, Node, Send; 15 import 'package:compiler/implementation/mirror_renamer/mirror_renamer.dart' show
18 import
19 '../../../sdk/lib/_internal/compiler/implementation/mirror_renamer/mirror_re namer.dart'
20 show
21 MirrorRenamer; 16 MirrorRenamer;
22 17
23 main() { 18 main() {
24 testUniqueMinification(); 19 testUniqueMinification();
25 testNoUniqueMinification(); 20 testNoUniqueMinification();
26 } 21 }
27 22
28 Future<Compiler> runCompiler({useMirrorHelperLibrary: false, minify: false}) { 23 Future<Compiler> runCompiler({useMirrorHelperLibrary: false, minify: false}) {
29 List<String> options = ['--output-type=dart']; 24 List<String> options = ['--output-type=dart'];
30 if (minify) { 25 if (minify) {
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 class Foo { 78 class Foo {
84 noSuchMethod(invocation) { 79 noSuchMethod(invocation) {
85 MirrorSystem.getName(null); 80 MirrorSystem.getName(null);
86 } 81 }
87 } 82 }
88 83
89 main(hest) { 84 main(hest) {
90 new Foo().fisk(); 85 new Foo().fisk();
91 } 86 }
92 """}; 87 """};
OLDNEW
« no previous file with comments | « dart/tests/compiler/dart2js/mirror_helper_test.dart ('k') | dart/tests/compiler/dart2js/mirror_system_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698