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 // Dart test program for testing class 'StringBase' (currently VM specific). | 4 // Dart test program for testing class 'StringBase' (currently VM specific). |
5 // We use that flag to disable privacy. | 5 // We use that flag to disable privacy. |
6 // VMOptions=--expose_core_impl | 6 // VMOptions=--expose_core_impl |
Ivan Posva
2011/10/13 12:35:35
Do we still need this VM option?
ngeoffray
2011/10/13 12:36:28
Right now it's only useful to disable privacy.
Ivan Posva
2011/10/13 12:40:23
Ok, I see. We will need to fix this.
On 2011/10/1
| |
7 | 7 |
8 #library("StringBaseTest.dart"); | 8 #library("StringBaseTest.dart"); |
9 #import("dart:coreimpl"); | 9 #import("dart:coreimpl"); |
10 | 10 |
11 | 11 |
12 class StringBaseTest { | 12 class StringBaseTest { |
13 | 13 |
14 StringBaseTest() {} | 14 StringBaseTest() {} |
15 | 15 |
16 toString() { | 16 toString() { |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
91 testSubstringMatches(); | 91 testSubstringMatches(); |
92 testInterpolation(); | 92 testInterpolation(); |
93 testCreation(); | 93 testCreation(); |
94 testSubstring(); | 94 testSubstring(); |
95 } | 95 } |
96 } | 96 } |
97 | 97 |
98 main() { | 98 main() { |
99 StringBaseTest.testMain(); | 99 StringBaseTest.testMain(); |
100 } | 100 } |
OLD | NEW |