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

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

Issue 1278503004: Revert "Move dart2jslib parts into separate libraries." (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 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
« no previous file with comments | « tests/compiler/dart2js/union_type_test.dart ('k') | tests/compiler/dart2js/unparser_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/src/scanner/scannerlib.dart"; 6 import "package:compiler/src/scanner/scannerlib.dart";
7 import "package:compiler/src/tree/tree.dart"; 7 import "package:compiler/src/tree/tree.dart";
8 8
9 import "package:compiler/src/diagnostic_listener.dart"; 9 import "package:compiler/src/dart2jslib.dart"
10 show DiagnosticListener,
11 Script;
12
10 import "package:compiler/src/elements/elements.dart" 13 import "package:compiler/src/elements/elements.dart"
11 show CompilationUnitElement, 14 show CompilationUnitElement,
12 LibraryElement; 15 LibraryElement;
16
13 import "package:compiler/src/elements/modelx.dart" 17 import "package:compiler/src/elements/modelx.dart"
14 show CompilationUnitElementX, 18 show CompilationUnitElementX,
15 LibraryElementX; 19 LibraryElementX;
16 import "package:compiler/src/script.dart";
17 20
18 main() { 21 main() {
19 testClassDef(); 22 testClassDef();
20 testClass1Field(); 23 testClass1Field();
21 testClass2Fields(); 24 testClass2Fields();
22 testClass1Field1Method(); 25 testClass1Field1Method();
23 testClass1Field2Method(); 26 testClass1Field2Method();
24 testClassDefTypeParam(); 27 testClassDefTypeParam();
25 testEnumDef(); 28 testEnumDef();
26 testEnum1Value(); 29 testEnum1Value();
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 messages.add(reason); 108 messages.add(reason);
106 throw reason; 109 throw reason;
107 } 110 }
108 111
109 void log(message) { 112 void log(message) {
110 messages.add(message); 113 messages.add(message);
111 } 114 }
112 115
113 noSuchMethod(Invocation invocation) => throw 'unsupported operation'; 116 noSuchMethod(Invocation invocation) => throw 'unsupported operation';
114 } 117 }
OLDNEW
« no previous file with comments | « tests/compiler/dart2js/union_type_test.dart ('k') | tests/compiler/dart2js/unparser_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698