OLD | NEW |
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 // TODO(ngeoffray): test String methods with null arguments. | 5 // TODO(ngeoffray): test String methods with null arguments. |
6 class StringTest { | 6 class StringTest { |
7 | 7 |
8 static testMain() { | 8 static testMain() { |
9 testOutOfRange(); | 9 testOutOfRange(); |
10 testIllegalArgument(); | 10 testIllegalArgument(); |
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
292 } | 292 } |
293 test("abc"); | 293 test("abc"); |
294 test(""); | 294 test(""); |
295 test(" "); | 295 test(" "); |
296 } | 296 } |
297 } | 297 } |
298 | 298 |
299 main() { | 299 main() { |
300 StringTest.testMain(); | 300 StringTest.testMain(); |
301 } | 301 } |
OLD | NEW |