| 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(srdjan): Move StringBuffer to visible names. | 5 // TODO(srdjan): Move StringBuffer to visible names. |
| 6 | 6 |
| 7 class StringBufferTest { | 7 class StringBufferTest { |
| 8 static testConstructor() { | 8 static testConstructor() { |
| 9 StringBuffer bf = new StringBuffer(""); | 9 StringBuffer bf = new StringBuffer(""); |
| 10 Expect.equals(true, bf.isEmpty()); | 10 Expect.equals(true, bf.isEmpty()); |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 testAdd(); | 148 testAdd(); |
| 149 testAddAll(); | 149 testAddAll(); |
| 150 testClear(); | 150 testClear(); |
| 151 testChaining(); | 151 testChaining(); |
| 152 } | 152 } |
| 153 } | 153 } |
| 154 | 154 |
| 155 main() { | 155 main() { |
| 156 StringBufferTest.testMain(); | 156 StringBufferTest.testMain(); |
| 157 } | 157 } |
| OLD | NEW |