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 // Dart test for linked hash-maps. | 5 // Dart test for linked hash-maps. |
6 | 6 |
7 class LinkedHashMapTest { | 7 class LinkedHashMapTest { |
8 static void testMain() { | 8 static void testMain() { |
9 Map map = new LinkedHashMap(); | 9 Map map = new LinkedHashMap(); |
10 map["a"] = 1; | 10 map["a"] = 1; |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 | 104 |
105 clear(); | 105 clear(); |
106 map.getValues().forEach(testForEachValue); | 106 map.getValues().forEach(testForEachValue); |
107 verifyValues(valuesAfterAUpdate); | 107 verifyValues(valuesAfterAUpdate); |
108 } | 108 } |
109 } | 109 } |
110 | 110 |
111 main() { | 111 main() { |
112 LinkedHashMapTest.testMain(); | 112 LinkedHashMapTest.testMain(); |
113 } | 113 } |
OLD | NEW |