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

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

Issue 694353007: Move dart2js from sdk/lib/_internal/compiler to pkg/compiler (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month 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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 "package:compiler/implementation/scanner/scannerlib.dart"; 6 import "package:compiler/src/scanner/scannerlib.dart";
7 import "package:compiler/implementation/tree/tree.dart"; 7 import "package:compiler/src/tree/tree.dart";
8 8
9 import "package:compiler/implementation/dart2jslib.dart" 9 import "package:compiler/src/dart2jslib.dart"
10 show DiagnosticListener, 10 show DiagnosticListener,
11 Script; 11 Script;
12 12
13 import "package:compiler/implementation/elements/elements.dart" 13 import "package:compiler/src/elements/elements.dart"
14 show CompilationUnitElement, 14 show CompilationUnitElement,
15 LibraryElement; 15 LibraryElement;
16 16
17 import "package:compiler/implementation/elements/modelx.dart" 17 import "package:compiler/src/elements/modelx.dart"
18 show CompilationUnitElementX, 18 show CompilationUnitElementX,
19 LibraryElementX; 19 LibraryElementX;
20 20
21 main() { 21 main() {
22 testClassDef(); 22 testClassDef();
23 testClass1Field(); 23 testClass1Field();
24 testClass2Fields(); 24 testClass2Fields();
25 testClass1Field1Method(); 25 testClass1Field1Method();
26 testClass1Field2Method(); 26 testClass1Field2Method();
27 testClassDefTypeParam(); 27 testClassDefTypeParam();
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 messages.add(reason); 79 messages.add(reason);
80 throw reason; 80 throw reason;
81 } 81 }
82 82
83 void log(message) { 83 void log(message) {
84 messages.add(message); 84 messages.add(message);
85 } 85 }
86 86
87 noSuchMethod(Invocation invocation) => throw 'unsupported operation'; 87 noSuchMethod(Invocation invocation) => throw 'unsupported operation';
88 } 88 }
OLDNEW
« no previous file with comments | « tests/compiler/dart2js/unneeded_part_js_test.dart ('k') | tests/compiler/dart2js/unparser_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698