Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(389)

Side by Side Diff: tests/corelib/linked_hash_map_test.dart

Issue 11867024: Move some core classes to collection library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update status files with bug number. Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tests/corelib/has_next_iterator_test.dart ('k') | tests/corelib/map_from_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 library linkedHashMap.test;
7 import 'dart:collection' show LinkedHashMap;
6 8
7 class LinkedHashMapTest { 9 class LinkedHashMapTest {
8 static void testMain() { 10 static void testMain() {
9 Map map = new LinkedHashMap(); 11 Map map = new LinkedHashMap();
10 map["a"] = 1; 12 map["a"] = 1;
11 map["b"] = 2; 13 map["b"] = 2;
12 map["c"] = 3; 14 map["c"] = 3;
13 map["d"] = 4; 15 map["d"] = 4;
14 map["e"] = 5; 16 map["e"] = 5;
15 17
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 106
105 clear(); 107 clear();
106 map.values.forEach(testForEachValue); 108 map.values.forEach(testForEachValue);
107 verifyValues(valuesAfterAUpdate); 109 verifyValues(valuesAfterAUpdate);
108 } 110 }
109 } 111 }
110 112
111 main() { 113 main() {
112 LinkedHashMapTest.testMain(); 114 LinkedHashMapTest.testMain();
113 } 115 }
OLDNEW
« no previous file with comments | « tests/corelib/has_next_iterator_test.dart ('k') | tests/corelib/map_from_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698