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

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

Issue 12743005: Revert "Remove Expect from core library." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Reupload (first upload failed). Created 7 years, 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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";
6 import "mock_compiler.dart"; 5 import "mock_compiler.dart";
7 import "parser_helper.dart"; 6 import "parser_helper.dart";
8 import "../../../sdk/lib/_internal/compiler/implementation/ssa/ssa.dart"; 7 import "../../../sdk/lib/_internal/compiler/implementation/ssa/ssa.dart";
9 import "../../../sdk/lib/_internal/compiler/implementation/types/types.dart"; 8 import "../../../sdk/lib/_internal/compiler/implementation/types/types.dart";
10 9
11 const CONFLICTING = HType.CONFLICTING; 10 const CONFLICTING = HType.CONFLICTING;
12 const UNKNOWN = HType.UNKNOWN; 11 const UNKNOWN = HType.UNKNOWN;
13 const BOOLEAN = HType.BOOLEAN; 12 const BOOLEAN = HType.BOOLEAN;
14 const NUMBER = HType.NUMBER; 13 const NUMBER = HType.NUMBER;
15 const INTEGER = HType.INTEGER; 14 const INTEGER = HType.INTEGER;
(...skipping 2053 matching lines...) Expand 10 before | Expand all | Expand 10 after
2069 compiler.backend.jsFixedArrayClass.computeType(compiler), compiler); 2068 compiler.backend.jsFixedArrayClass.computeType(compiler), compiler);
2070 jsExtendableArrayOrNull = new HType.exact( 2069 jsExtendableArrayOrNull = new HType.exact(
2071 compiler.backend.jsExtendableArrayClass.computeType(compiler), compiler); 2070 compiler.backend.jsExtendableArrayClass.computeType(compiler), compiler);
2072 jsIndexableOrNull = new HType.subtype( 2071 jsIndexableOrNull = new HType.subtype(
2073 compiler.backend.jsIndexableClass.computeType(compiler), compiler); 2072 compiler.backend.jsIndexableClass.computeType(compiler), compiler);
2074 2073
2075 testUnion(compiler); 2074 testUnion(compiler);
2076 testIntersection(compiler); 2075 testIntersection(compiler);
2077 testRegressions(compiler); 2076 testRegressions(compiler);
2078 } 2077 }
OLDNEW
« no previous file with comments | « tests/compiler/dart2js/type_checker_test.dart ('k') | tests/compiler/dart2js/type_equals_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698