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 // A subtest of the larger MapTest. Will eliminate once the full | 4 // A subtest of the larger MapTest. Will eliminate once the full |
5 // test is running. | 5 // test is running. |
6 | 6 |
7 class MapTest { | 7 class MapTest { |
8 | 8 |
9 static void testDeletedElement(Map map) { | 9 static void testDeletedElement(Map map) { |
10 map.clear(); | 10 map.clear(); |
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 static testMain() { | 212 static testMain() { |
213 test(new Map()); | 213 test(new Map()); |
214 testKeys(new Map()); | 214 testKeys(new Map()); |
215 } | 215 } |
216 } | 216 } |
217 | 217 |
218 | 218 |
219 main() { | 219 main() { |
220 MapTest.testMain(); | 220 MapTest.testMain(); |
221 } | 221 } |
OLD | NEW |