OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 // Dart test program for testing class 'StringBase' (currently VM specific). | 4 // Dart test program for testing class 'StringBase' (currently VM specific). |
5 | 5 |
6 #library("StringBaseTest.dart"); | 6 library string_base_test; |
7 | 7 |
8 class StringBaseTest { | 8 class StringBaseTest { |
9 | 9 |
10 StringBaseTest() {} | 10 StringBaseTest() {} |
11 | 11 |
12 toString() { | 12 toString() { |
13 return "StringBase Tester"; | 13 return "StringBase Tester"; |
14 } | 14 } |
15 | 15 |
16 static testInterpolation() { | 16 static testInterpolation() { |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 static void testMain() { | 71 static void testMain() { |
72 testInterpolation(); | 72 testInterpolation(); |
73 testCreation(); | 73 testCreation(); |
74 testSubstring(); | 74 testSubstring(); |
75 } | 75 } |
76 } | 76 } |
77 | 77 |
78 main() { | 78 main() { |
79 StringBaseTest.testMain(); | 79 StringBaseTest.testMain(); |
80 } | 80 } |
OLD | NEW |