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

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

Issue 2989643002: Migrate test block 8 to Dart 2.0. (Closed)
Patch Set: Merge Created 3 years, 4 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/has_next_iterator_test.dart ('k') | tests/corelib_strong/corelib_strong.status » ('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 // VMOptions= 5 // VMOptions=
6 // VMOptions=--use_internal_hash_map 6 // VMOptions=--use_internal_hash_map
7 7
8 // Tests of hash map behavior, with focus in iteration and concurrent 8 // Tests of hash map behavior, with focus in iteration and concurrent
9 // modification errors. 9 // modification errors.
10 10
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 testMap(() => new HashMap(), (m) => new HashMap.from(m)); 302 testMap(() => new HashMap(), (m) => new HashMap.from(m));
303 testMap(() => new LinkedHashMap(), (m) => new LinkedHashMap.from(m)); 303 testMap(() => new LinkedHashMap(), (m) => new LinkedHashMap.from(m));
304 } 304 }
305 305
306 class BadHashCode { 306 class BadHashCode {
307 static int idCounter = 0; 307 static int idCounter = 0;
308 final int id; 308 final int id;
309 BadHashCode() : id = idCounter++; 309 BadHashCode() : id = idCounter++;
310 int get hashCode => 42; 310 int get hashCode => 42;
311 } 311 }
OLDNEW
« no previous file with comments | « tests/corelib_2/has_next_iterator_test.dart ('k') | tests/corelib_strong/corelib_strong.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698