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

Side by Side Diff: tests/compiler/dart2js/world_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/use_strict_test.dart ('k') | no next file » | 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) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 world_test; 5 library world_test;
6 6
7 import 'package:expect/expect.dart'; 7 import 'package:expect/expect.dart';
8 import 'package:async_helper/async_helper.dart'; 8 import 'package:async_helper/async_helper.dart';
9 import 'type_test_helper.dart'; 9 import 'type_test_helper.dart';
10 import 'package:compiler/src/elements/elements.dart' 10 import 'package:compiler/src/elements/elements.dart'
11 show Element, ClassElement; 11 show Element, ClassElement;
12 import 'package:compiler/src/world.dart' show ClassWorld; 12 import 'package:compiler/src/dart2jslib.dart';
13 13
14 void main() { 14 void main() {
15 asyncTest(() => TypeEnvironment.create(r""" 15 asyncTest(() => TypeEnvironment.create(r"""
16 class A {} 16 class A {}
17 class B {} 17 class B {}
18 class C_Super extends A {} 18 class C_Super extends A {}
19 class C extends C_Super {} 19 class C extends C_Super {}
20 class D implements A {} 20 class D implements A {}
21 class E extends B implements A {} 21 class E extends B implements A {}
22 class F extends Object with A implements B {} 22 class F extends Object with A implements B {}
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 testMixinUses(A, [F.superclass, G.superclass.superclass]); 143 testMixinUses(A, [F.superclass, G.superclass.superclass]);
144 testMixinUses(B, [G.superclass]); 144 testMixinUses(B, [G.superclass]);
145 testMixinUses(C, []); 145 testMixinUses(C, []);
146 testMixinUses(D, []); 146 testMixinUses(D, []);
147 testMixinUses(E, []); 147 testMixinUses(E, []);
148 testMixinUses(F, []); 148 testMixinUses(F, []);
149 testMixinUses(G, []); 149 testMixinUses(G, []);
150 150
151 })); 151 }));
152 } 152 }
OLDNEW
« no previous file with comments | « tests/compiler/dart2js/use_strict_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698