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

Side by Side Diff: tests/compiler/dart2js/serialization/members_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/semantic_visitor_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) 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 library dart2js.serialization.class_members_test; 5 library dart2js.serialization.class_members_test;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'package:async_helper/async_helper.dart'; 8 import 'package:async_helper/async_helper.dart';
9 import 'package:compiler/src/common/names.dart'; 9 import 'package:compiler/src/common/names.dart';
10 import 'package:compiler/src/commandline_options.dart'; 10 import 'package:compiler/src/commandline_options.dart';
11 import 'package:compiler/src/compiler.dart'; 11 import 'package:compiler/src/compiler.dart';
12 import 'package:compiler/src/elements/elements.dart'; 12 import 'package:compiler/src/elements/elements.dart';
13 import 'package:compiler/src/elements/names.dart';
13 import 'package:compiler/src/filenames.dart'; 14 import 'package:compiler/src/filenames.dart';
14 import 'package:compiler/src/resolution/class_members.dart'; 15 import 'package:compiler/src/resolution/class_members.dart';
15 import 'package:compiler/src/serialization/equivalence.dart'; 16 import 'package:compiler/src/serialization/equivalence.dart';
16 import '../memory_compiler.dart'; 17 import '../memory_compiler.dart';
17 import 'helper.dart'; 18 import 'helper.dart';
18 import 'test_helper.dart'; 19 import 'test_helper.dart';
19 20
20 main(List<String> args) { 21 main(List<String> args) {
21 Arguments arguments = new Arguments.from(args); 22 Arguments arguments = new Arguments.from(args);
22 asyncTest(() async { 23 asyncTest(() async {
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 areTypesEquivalent); 140 areTypesEquivalent);
140 check(class1, class2, '$property.functionType', member1.functionType, 141 check(class1, class2, '$property.functionType', member1.functionType,
141 member2.functionType, areTypesEquivalent); 142 member2.functionType, areTypesEquivalent);
142 check( 143 check(
143 class1, class2, '$property.isGetter', member1.isGetter, member2.isGetter); 144 class1, class2, '$property.isGetter', member1.isGetter, member2.isGetter);
144 check( 145 check(
145 class1, class2, '$property.isSetter', member1.isSetter, member2.isSetter); 146 class1, class2, '$property.isSetter', member1.isSetter, member2.isSetter);
146 check( 147 check(
147 class1, class2, '$property.isMethod', member1.isMethod, member2.isMethod); 148 class1, class2, '$property.isMethod', member1.isMethod, member2.isMethod);
148 } 149 }
OLDNEW
« no previous file with comments | « tests/compiler/dart2js/semantic_visitor_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698