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

Side by Side Diff: tests/language/bool_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
« 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
7 // Dart test program for testing basic boolean properties. 5 // Dart test program for testing basic boolean properties.
8 // @static-clean 6 // @static-clean
9 7
10 class BoolTest { 8 class BoolTest {
11 static void testEquality() { 9 static void testEquality() {
12 Expect.equals(true, true); 10 Expect.equals(true, true);
13 Expect.equals(false, false); 11 Expect.equals(false, false);
14 Expect.isTrue(identical(true, true)); 12 Expect.isTrue(identical(true, true));
15 Expect.isFalse(identical(true, false)); 13 Expect.isFalse(identical(true, false));
16 Expect.isTrue(identical(false, false)); 14 Expect.isTrue(identical(false, false));
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 testEquality(); 210 testEquality();
213 testNegate(true, false); 211 testNegate(true, false);
214 testToString(); 212 testToString();
215 testLogicalOp(); 213 testLogicalOp();
216 } 214 }
217 } 215 }
218 216
219 main() { 217 main() {
220 BoolTest.testMain(); 218 BoolTest.testMain();
221 } 219 }
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