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

Side by Side Diff: tests/standalone/deoptimization_test.dart

Issue 12212016: Remove Expect from core library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add deprecation comment for ExpectException and revert one test. Created 7 years, 8 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) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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 // Test deoptimization. 4 // Test deoptimization.
5 5
6 import "package:expect/expect.dart";
7
6 class SmiCompares { 8 class SmiCompares {
7 // Test deoptimization when one argument is known to be Smi. 9 // Test deoptimization when one argument is known to be Smi.
8 static bool smiCompareLessThan2(a) { 10 static bool smiCompareLessThan2(a) {
9 return a < 2; 11 return a < 2;
10 } 12 }
11 13
12 // Test deoptimization when one argument is known to be Smi. 14 // Test deoptimization when one argument is known to be Smi.
13 static bool smiCompareGreaterThan2(a) { 15 static bool smiCompareGreaterThan2(a) {
14 return 2 < a; 16 return 2 < a;
15 } 17 }
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 SmiBinop.smiBinopOverflowTest(); 205 SmiBinop.smiBinopOverflowTest();
204 ObjectsEquality.objectsEqualityTest(); 206 ObjectsEquality.objectsEqualityTest();
205 smiRightShift(); 207 smiRightShift();
206 doubleUnary(); 208 doubleUnary();
207 } 209 }
208 } 210 }
209 211
210 main() { 212 main() {
211 DeoptimizationTest.testMain(); 213 DeoptimizationTest.testMain();
212 } 214 }
OLDNEW
« no previous file with comments | « tests/standalone/debugger/basic_debugger_test.dart ('k') | tests/standalone/double_temp_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698