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

Side by Side Diff: tests/corelib_2/collection_length_test.dart

Issue 2977403002: Migrate test block 3 to Dart 2.0. (Closed)
Patch Set: Addressed Bob's nits Created 3 years, 5 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
« no previous file with comments | « tests/corelib_2/collection_from_test.dart ('k') | tests/corelib_2/collection_removes_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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 6
7 import 'dart:collection'; 7 import 'dart:collection';
8 8
9 // Test that length/isEmpty opertions are constant time on 9 // Test that length/isEmpty opertions are constant time on
10 // maps, strings and collections. 10 // maps, strings and collections.
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 testMap(new LinkedHashMap(), N); 67 testMap(new LinkedHashMap(), N);
68 testMap(new SplayTreeMap(), N); 68 testMap(new SplayTreeMap(), N);
69 testCollection(new HashSet(), N); 69 testCollection(new HashSet(), N);
70 testCollection(new LinkedHashSet(), N); 70 testCollection(new LinkedHashSet(), N);
71 testCollection(new ListQueue(), N); 71 testCollection(new ListQueue(), N);
72 testCollection(new DoubleLinkedQueue(), N); 72 testCollection(new DoubleLinkedQueue(), N);
73 testList(new List()..length = N, N); 73 testList(new List()..length = N, N);
74 testList(new List(N), N); 74 testList(new List(N), N);
75 testString(N); 75 testString(N);
76 } 76 }
OLDNEW
« no previous file with comments | « tests/corelib_2/collection_from_test.dart ('k') | tests/corelib_2/collection_removes_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698