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

Side by Side Diff: tests/corelib/string_test.dart

Issue 12212016: Remove Expect from core library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated latest tests. 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
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 // TODO(ngeoffray): test String methods with null arguments. 7 // TODO(ngeoffray): test String methods with null arguments.
6 class StringTest { 8 class StringTest {
7 9
8 static testMain() { 10 static testMain() {
9 testOutOfRange(); 11 testOutOfRange();
10 testIllegalArgument(); 12 testIllegalArgument();
11 testConcat(); 13 testConcat();
12 testIndex(); 14 testIndex();
13 testCodeUnitAt(); 15 testCodeUnitAt();
14 testEquals(); 16 testEquals();
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 } 282 }
281 test("abc"); 283 test("abc");
282 test(""); 284 test("");
283 test(" "); 285 test(" ");
284 } 286 }
285 } 287 }
286 288
287 main() { 289 main() {
288 StringTest.testMain(); 290 StringTest.testMain();
289 } 291 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698