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

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

Issue 12743005: Revert "Remove Expect from core library." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Reupload (first upload failed). 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
« no previous file with comments | « tests/corelib/map_keys_test.dart ('k') | tests/corelib/map_values2_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 library map_test; 5 library map_test;
6 import "package:expect/expect.dart";
7 import 'dart:collection'; 6 import 'dart:collection';
8 7
9 void main() { 8 void main() {
10 test(new HashMap()); 9 test(new HashMap());
11 test(new LinkedHashMap()); 10 test(new LinkedHashMap());
12 test(new SplayTreeMap()); 11 test(new SplayTreeMap());
13 test(new SplayTreeMap(Comparable.compare)); 12 test(new SplayTreeMap(Comparable.compare));
14 testLinkedHashMap(); 13 testLinkedHashMap();
15 testMapLiteral(); 14 testMapLiteral();
16 testNullValue(); 15 testNullValue();
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 testMap(new LinkedHashMap<int, String>()); 257 testMap(new LinkedHashMap<int, String>());
259 testMap(new SplayTreeMap<int, String>()); 258 testMap(new SplayTreeMap<int, String>());
260 testMap(new SplayTreeMap<int, String>(Comparable.compare)); 259 testMap(new SplayTreeMap<int, String>(Comparable.compare));
261 testMap(new SplayTreeMap<int, String>((int a, int b) => a.compareTo(b))); 260 testMap(new SplayTreeMap<int, String>((int a, int b) => a.compareTo(b)));
262 testMap(new HashMap<num, String>()); 261 testMap(new HashMap<num, String>());
263 testMap(new LinkedHashMap<num, String>()); 262 testMap(new LinkedHashMap<num, String>());
264 testMap(new SplayTreeMap<num, String>()); 263 testMap(new SplayTreeMap<num, String>());
265 testMap(new SplayTreeMap<num, String>(Comparable.compare)); 264 testMap(new SplayTreeMap<num, String>(Comparable.compare));
266 testMap(new SplayTreeMap<num, String>((num a, num b) => a.compareTo(b))); 265 testMap(new SplayTreeMap<num, String>((num a, num b) => a.compareTo(b)));
267 } 266 }
OLDNEW
« no previous file with comments | « tests/corelib/map_keys_test.dart ('k') | tests/corelib/map_values2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698