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

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

Issue 2939063002: Strong mode cleaning of many dart2js tests. (Closed)
Patch Set: Use ClassElement. Created 3 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
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 least_upper_bound_test; 5 library least_upper_bound_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 'package:compiler/src/elements/resolution_types.dart'; 9 import 'package:compiler/src/elements/resolution_types.dart';
10 import 'package:compiler/src/elements/elements.dart' show Element, ClassElement; 10 import 'package:compiler/src/elements/elements.dart' show ClassElement;
11 11
12 import 'type_test_helper.dart'; 12 import 'type_test_helper.dart';
13 13
14 void main() { 14 void main() {
15 testInterface1(); 15 testInterface1();
16 testInterface2(); 16 testInterface2();
17 testGeneric(); 17 testGeneric();
18 testMixin(); 18 testMixin();
19 testFunction(); 19 testFunction();
20 testTypeVariable(); 20 testTypeVariable();
(...skipping 821 matching lines...) Expand 10 before | Expand all | Expand 10 after
842 checkLub(X, B, B); 842 checkLub(X, B, B);
843 checkLub(X, C, B); 843 checkLub(X, C, B);
844 checkLub(X, S, Object_); 844 checkLub(X, S, Object_);
845 checkLub(X, T, T); 845 checkLub(X, T, T);
846 checkLub(X, U, B); 846 checkLub(X, U, B);
847 checkLub(X, V, T); 847 checkLub(X, V, T);
848 checkLub(X, W, T); 848 checkLub(X, W, T);
849 checkLub(X, X, X); 849 checkLub(X, X, X);
850 })); 850 }));
851 } 851 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698