OLD | NEW |
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 import 'dart:async'; | 5 import 'dart:async'; |
6 import 'package:expect/expect.dart'; | 6 import 'package:expect/expect.dart'; |
7 import "package:async_helper/async_helper.dart"; | 7 import "package:async_helper/async_helper.dart"; |
8 import 'package:compiler/implementation/types/types.dart' | 8 import 'package:compiler/src/types/types.dart' |
9 show TypeMask; | 9 show TypeMask; |
10 | 10 |
11 import 'compiler_helper.dart'; | 11 import 'compiler_helper.dart'; |
12 import 'parser_helper.dart'; | 12 import 'parser_helper.dart'; |
13 import 'type_mask_test_helper.dart'; | 13 import 'type_mask_test_helper.dart'; |
14 | 14 |
15 void compileAndFind(String code, | 15 void compileAndFind(String code, |
16 String className, | 16 String className, |
17 String memberName, | 17 String memberName, |
18 bool disableInlining, | 18 bool disableInlining, |
(...skipping 547 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
566 | 566 |
567 runTest(TEST_25, {'f1': (types) => types.uint31Type }); | 567 runTest(TEST_25, {'f1': (types) => types.uint31Type }); |
568 runTest(TEST_26, {'f1': (types) => types.positiveIntType }); | 568 runTest(TEST_26, {'f1': (types) => types.positiveIntType }); |
569 runTest(TEST_27, {'f1': (types) => types.uint31Type, | 569 runTest(TEST_27, {'f1': (types) => types.uint31Type, |
570 'f2': (types) => types.uint31Type.nullable()}); | 570 'f2': (types) => types.uint31Type.nullable()}); |
571 } | 571 } |
572 | 572 |
573 void main() { | 573 void main() { |
574 test(); | 574 test(); |
575 } | 575 } |
OLD | NEW |