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

Side by Side Diff: tests/corelib/string_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/corelib/string_substring_test.dart ('k') | tests/corelib/string_trim_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 // TODO(ngeoffray): test String methods with null arguments. 5 // TODO(ngeoffray): test String methods with null arguments.
8 class StringTest { 6 class StringTest {
9 7
10 static testMain() { 8 static testMain() {
11 testOutOfRange(); 9 testOutOfRange();
12 testIllegalArgument(); 10 testIllegalArgument();
13 testConcat(); 11 testConcat();
14 testIndex(); 12 testIndex();
15 testCodeUnitAt(); 13 testCodeUnitAt();
16 testEquals(); 14 testEquals();
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 } 280 }
283 test("abc"); 281 test("abc");
284 test(""); 282 test("");
285 test(" "); 283 test(" ");
286 } 284 }
287 } 285 }
288 286
289 main() { 287 main() {
290 StringTest.testMain(); 288 StringTest.testMain();
291 } 289 }
OLDNEW
« no previous file with comments | « tests/corelib/string_substring_test.dart ('k') | tests/corelib/string_trim_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698