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

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

Issue 12212016: Remove Expect from core library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated latest tests. Created 7 years, 9 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
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; 6 library linkedHashMap.test;
7 import "package:expect/expect.dart";
7 import 'dart:collection' show LinkedHashMap; 8 import 'dart:collection' show LinkedHashMap;
8 9
9 class LinkedHashMapTest { 10 class LinkedHashMapTest {
10 static void testMain() { 11 static void testMain() {
11 Map map = new LinkedHashMap(); 12 Map map = new LinkedHashMap();
12 map["a"] = 1; 13 map["a"] = 1;
13 map["b"] = 2; 14 map["b"] = 2;
14 map["c"] = 3; 15 map["c"] = 3;
15 map["d"] = 4; 16 map["d"] = 4;
16 map["e"] = 5; 17 map["e"] = 5;
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 107
107 clear(); 108 clear();
108 map.values.forEach(testForEachValue); 109 map.values.forEach(testForEachValue);
109 verifyValues(valuesAfterAUpdate); 110 verifyValues(valuesAfterAUpdate);
110 } 111 }
111 } 112 }
112 113
113 main() { 114 main() {
114 LinkedHashMapTest.testMain(); 115 LinkedHashMapTest.testMain();
115 } 116 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698