| OLD | NEW |
| 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 Loading... |
| 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 } |
| OLD | NEW |