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

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

Issue 2860753005: Make elements/names.dart its own library (Closed)
Patch Set: Created 3 years, 7 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/members_test.dart ('k') | tests/compiler/dart2js/patch_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) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, 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 'dart:async'; 5 import 'dart:async';
6 import 'package:async_helper/async_helper.dart'; 6 import 'package:async_helper/async_helper.dart';
7 import 'package:expect/expect.dart'; 7 import 'package:expect/expect.dart';
8 import 'package:compiler/src/common.dart'; 8 import 'package:compiler/src/common.dart';
9 import 'package:compiler/src/elements/elements.dart' 9 import 'package:compiler/src/elements/elements.dart' show ClassElement;
10 show Element, ClassElement, PublicName; 10 import 'package:compiler/src/elements/names.dart';
11 import 'package:compiler/src/universe/call_structure.dart'; 11 import 'package:compiler/src/universe/call_structure.dart';
12 import 'package:compiler/src/universe/selector.dart'; 12 import 'package:compiler/src/universe/selector.dart';
13 import 'package:compiler/src/world.dart' show ClosedWorld, ClassQuery; 13 import 'package:compiler/src/world.dart' show ClosedWorld, ClassQuery;
14 import 'type_test_helper.dart'; 14 import 'type_test_helper.dart';
15 15
16 void main() { 16 void main() {
17 asyncTest(() async { 17 asyncTest(() async {
18 await testClassSets(); 18 await testClassSets();
19 }); 19 });
20 } 20 }
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 check(subtype, ClassQuery.EXACT, foo, true); 281 check(subtype, ClassQuery.EXACT, foo, true);
282 check(subtype, ClassQuery.EXACT, bar, false); 282 check(subtype, ClassQuery.EXACT, bar, false);
283 check(subtype, ClassQuery.EXACT, baz, true); 283 check(subtype, ClassQuery.EXACT, baz, true);
284 check(subtype, ClassQuery.SUBCLASS, foo, true); 284 check(subtype, ClassQuery.SUBCLASS, foo, true);
285 check(subtype, ClassQuery.SUBCLASS, bar, false); 285 check(subtype, ClassQuery.SUBCLASS, bar, false);
286 check(subtype, ClassQuery.SUBCLASS, baz, true); 286 check(subtype, ClassQuery.SUBCLASS, baz, true);
287 check(subtype, ClassQuery.SUBTYPE, foo, true); 287 check(subtype, ClassQuery.SUBTYPE, foo, true);
288 check(subtype, ClassQuery.SUBTYPE, bar, false); 288 check(subtype, ClassQuery.SUBTYPE, bar, false);
289 check(subtype, ClassQuery.SUBTYPE, baz, true); 289 check(subtype, ClassQuery.SUBTYPE, baz, true);
290 } 290 }
OLDNEW
« no previous file with comments | « tests/compiler/dart2js/members_test.dart ('k') | tests/compiler/dart2js/patch_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698