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

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

Issue 1469353004: Restrict backend misuse (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Fix unittests Created 5 years 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
OLDNEW
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 760 matching lines...) Expand 10 before | Expand all | Expand 10 after
771 checkReturn('testIsCheck10', typesTask.dynamicType); 771 checkReturn('testIsCheck10', typesTask.dynamicType);
772 checkReturn('testIsCheck11', intType); 772 checkReturn('testIsCheck11', intType);
773 checkReturn('testIsCheck12', typesTask.dynamicType); 773 checkReturn('testIsCheck12', typesTask.dynamicType);
774 checkReturn('testIsCheck13', intType); 774 checkReturn('testIsCheck13', intType);
775 checkReturn('testIsCheck14', typesTask.dynamicType); 775 checkReturn('testIsCheck14', typesTask.dynamicType);
776 checkReturn('testIsCheck15', intType); 776 checkReturn('testIsCheck15', intType);
777 checkReturn('testIsCheck16', typesTask.dynamicType); 777 checkReturn('testIsCheck16', typesTask.dynamicType);
778 checkReturn('testIsCheck17', intType); 778 checkReturn('testIsCheck17', intType);
779 checkReturn('testIsCheck18', typesTask.dynamicType); 779 checkReturn('testIsCheck18', typesTask.dynamicType);
780 checkReturn('testIsCheck19', typesTask.dynamicType); 780 checkReturn('testIsCheck19', typesTask.dynamicType);
781 checkReturn('testIsCheck20', typesTask.dynamicType.nonNullable()); 781 checkReturn('testIsCheck20', interceptorType);
782 checkReturn('testIsCheck21', typesTask.dynamicType); 782 checkReturn('testIsCheck21', typesTask.dynamicType);
783 checkReturn('testIsCheck22', typesTask.dynamicType); 783 checkReturn('testIsCheck22', typesTask.dynamicType);
784 checkReturn('testIsCheck23', intType); 784 checkReturn('testIsCheck23', intType);
785 checkReturn('testIsCheck24', intType); 785 checkReturn('testIsCheck24', intType);
786 checkReturn('testIsCheck25', typesTask.dynamicType); 786 checkReturn('testIsCheck25', typesTask.dynamicType);
787 checkReturn('testIsCheck26', intType); 787 checkReturn('testIsCheck26', intType);
788 checkReturn('testIsCheck27', intType); 788 checkReturn('testIsCheck27', intType);
789 checkReturn('testIsCheck28', typesTask.dynamicType); 789 checkReturn('testIsCheck28', typesTask.dynamicType);
790 checkReturn('testIsCheck29', typesTask.dynamicType); 790 checkReturn('testIsCheck29', typesTask.dynamicType);
791 checkReturn('testIf1', typesTask.uint31Type.nullable()); 791 checkReturn('testIf1', typesTask.uint31Type.nullable());
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
869 checkReturn('testSpecialization3', typesTask.uint31Type.nullable()); 869 checkReturn('testSpecialization3', typesTask.uint31Type.nullable());
870 checkReturn('testReturnNull1', typesTask.nullType); 870 checkReturn('testReturnNull1', typesTask.nullType);
871 checkReturn('testReturnNull2', typesTask.nullType); 871 checkReturn('testReturnNull2', typesTask.nullType);
872 checkReturn('testReturnNull3', typesTask.dynamicType); 872 checkReturn('testReturnNull3', typesTask.dynamicType);
873 checkReturn('testReturnNull4', typesTask.nullType); 873 checkReturn('testReturnNull4', typesTask.nullType);
874 checkReturn('testReturnNull5', typesTask.nullType); 874 checkReturn('testReturnNull5', typesTask.nullType);
875 checkReturn('testReturnNull6', typesTask.dynamicType); 875 checkReturn('testReturnNull6', typesTask.dynamicType);
876 checkReturn('testReturnNotEquals', typesTask.boolType); 876 checkReturn('testReturnNotEquals', typesTask.boolType);
877 })); 877 }));
878 } 878 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698