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

Side by Side Diff: tests/language/bool_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
« no previous file with comments | « tests/language/block_scope_test.dart ('k') | tests/language/branch_canonicalization_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 4
5 import "package:expect/expect.dart";
6
5 // Dart test program for testing basic boolean properties. 7 // Dart test program for testing basic boolean properties.
6 // @static-clean 8 // @static-clean
7 9
8 class BoolTest { 10 class BoolTest {
9 static void testEquality() { 11 static void testEquality() {
10 Expect.equals(true, true); 12 Expect.equals(true, true);
11 Expect.equals(false, false); 13 Expect.equals(false, false);
12 Expect.isTrue(identical(true, true)); 14 Expect.isTrue(identical(true, true));
13 Expect.isFalse(identical(true, false)); 15 Expect.isFalse(identical(true, false));
14 Expect.isTrue(identical(false, false)); 16 Expect.isTrue(identical(false, false));
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 testEquality(); 212 testEquality();
211 testNegate(true, false); 213 testNegate(true, false);
212 testToString(); 214 testToString();
213 testLogicalOp(); 215 testLogicalOp();
214 } 216 }
215 } 217 }
216 218
217 main() { 219 main() {
218 BoolTest.testMain(); 220 BoolTest.testMain();
219 } 221 }
OLDNEW
« no previous file with comments | « tests/language/block_scope_test.dart ('k') | tests/language/branch_canonicalization_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698