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

Side by Side Diff: tests/language/src/BoolTest.dart

Issue 9852001: For batch mode tests, make sure we read stderr in case of a crash. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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) 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 // Dart test program for testing basic boolean properties. 5 // Dart test program for testing basic boolean properties.
6 // @static-clean 6 // @static-clean
7 7
8 class BoolTest { 8 class BoolTest {
9 static void testEquality() { 9 static void testEquality() {
10 int foo = "Hello";
10 Expect.equals(true, true); 11 Expect.equals(true, true);
11 Expect.equals(false, false); 12 Expect.equals(false, false);
12 Expect.equals(true, true === true); 13 Expect.equals(true, true === true);
13 Expect.equals(false, true === false); 14 Expect.equals(false, true === false);
14 Expect.equals(true, false === false); 15 Expect.equals(true, false === false);
15 Expect.equals(false, false === true); 16 Expect.equals(false, false === true);
16 Expect.equals(false, true !== true); 17 Expect.equals(false, true !== true);
17 Expect.equals(true, true !== false); 18 Expect.equals(true, true !== false);
18 Expect.equals(false, false !== false); 19 Expect.equals(false, false !== false);
19 Expect.equals(true, false !== true); 20 Expect.equals(true, false !== true);
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 testEquality(); 211 testEquality();
211 testNegate(true, false); 212 testNegate(true, false);
212 testToString(); 213 testToString();
213 testLogicalOp(); 214 testLogicalOp();
214 } 215 }
215 } 216 }
216 217
217 main() { 218 main() {
218 BoolTest.testMain(); 219 BoolTest.testMain();
219 } 220 }
OLDNEW
« no previous file with comments | « compiler/java/com/google/dart/compiler/UnitTestBatchRunner.java ('k') | tools/testing/dart/test_runner.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698