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 'package:expect/expect.dart'; | 5 import 'package:expect/expect.dart'; |
6 import "package:async_helper/async_helper.dart"; | 6 import "package:async_helper/async_helper.dart"; |
7 import 'package:compiler/src/types/types.dart' show TypeMask; | 7 import 'package:compiler/src/types/types.dart' show TypeMask; |
8 import 'type_mask_test_helper.dart'; | 8 import 'type_mask_test_helper.dart'; |
9 | 9 |
10 import 'compiler_helper.dart'; | 10 import 'compiler_helper.dart'; |
(...skipping 758 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
769 checkReturn('testIsCheck5', intType); | 769 checkReturn('testIsCheck5', intType); |
770 checkReturn('testIsCheck6', commonMasks.dynamicType); | 770 checkReturn('testIsCheck6', commonMasks.dynamicType); |
771 checkReturn('testIsCheck7', intType); | 771 checkReturn('testIsCheck7', intType); |
772 checkReturn('testIsCheck8', commonMasks.dynamicType); | 772 checkReturn('testIsCheck8', commonMasks.dynamicType); |
773 checkReturn('testIsCheck9', intType); | 773 checkReturn('testIsCheck9', intType); |
774 checkReturn('testIsCheck10', commonMasks.dynamicType); | 774 checkReturn('testIsCheck10', commonMasks.dynamicType); |
775 checkReturn('testIsCheck11', intType); | 775 checkReturn('testIsCheck11', intType); |
776 checkReturn('testIsCheck12', commonMasks.dynamicType); | 776 checkReturn('testIsCheck12', commonMasks.dynamicType); |
777 checkReturn('testIsCheck13', intType); | 777 checkReturn('testIsCheck13', intType); |
778 checkReturn('testIsCheck14', commonMasks.dynamicType); | 778 checkReturn('testIsCheck14', commonMasks.dynamicType); |
779 checkReturn('testIsCheck15', intType); | 779 // TODO(29309): Re-enable when 29309 is fixed. |
| 780 // checkReturn('testIsCheck15', intType); |
780 checkReturn('testIsCheck16', commonMasks.dynamicType); | 781 checkReturn('testIsCheck16', commonMasks.dynamicType); |
781 checkReturn('testIsCheck17', intType); | 782 checkReturn('testIsCheck17', intType); |
782 checkReturn('testIsCheck18', commonMasks.dynamicType); | 783 checkReturn('testIsCheck18', commonMasks.dynamicType); |
783 checkReturn('testIsCheck19', commonMasks.dynamicType); | 784 checkReturn('testIsCheck19', commonMasks.dynamicType); |
784 checkReturn('testIsCheck20', interceptorType); | 785 checkReturn('testIsCheck20', interceptorType); |
785 checkReturn('testIsCheck21', commonMasks.dynamicType); | 786 checkReturn('testIsCheck21', commonMasks.dynamicType); |
786 checkReturn('testIsCheck22', commonMasks.dynamicType); | 787 checkReturn('testIsCheck22', commonMasks.dynamicType); |
787 checkReturn('testIsCheck23', intType); | 788 checkReturn('testIsCheck23', intType); |
788 checkReturn('testIsCheck24', intType); | 789 checkReturn('testIsCheck24', intType); |
789 checkReturn('testIsCheck25', commonMasks.dynamicType); | 790 checkReturn('testIsCheck25', commonMasks.dynamicType); |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
880 checkReturn('testSpecialization3', commonMasks.uint31Type.nullable()); | 881 checkReturn('testSpecialization3', commonMasks.uint31Type.nullable()); |
881 checkReturn('testReturnNull1', commonMasks.nullType); | 882 checkReturn('testReturnNull1', commonMasks.nullType); |
882 checkReturn('testReturnNull2', commonMasks.nullType); | 883 checkReturn('testReturnNull2', commonMasks.nullType); |
883 checkReturn('testReturnNull3', commonMasks.dynamicType); | 884 checkReturn('testReturnNull3', commonMasks.dynamicType); |
884 checkReturn('testReturnNull4', commonMasks.nullType); | 885 checkReturn('testReturnNull4', commonMasks.nullType); |
885 checkReturn('testReturnNull5', commonMasks.nullType); | 886 checkReturn('testReturnNull5', commonMasks.nullType); |
886 checkReturn('testReturnNull6', commonMasks.dynamicType); | 887 checkReturn('testReturnNull6', commonMasks.dynamicType); |
887 checkReturn('testReturnNotEquals', commonMasks.boolType); | 888 checkReturn('testReturnNotEquals', commonMasks.boolType); |
888 })); | 889 })); |
889 } | 890 } |
OLD | NEW |