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

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

Issue 1937103002: Make dart:collection strong-mode clean. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: rebase Created 4 years, 7 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
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 set_test; 5 library set_test;
6 6
7 7
8 import 'package:expect/expect.dart'; 8 import 'package:expect/expect.dart';
9 import "dart:collection"; 9 import "dart:collection";
10 10
(...skipping 505 matching lines...) Expand 10 before | Expand all | Expand 10 after
516 testCESetFrom((x) => new LinkedHashSet<CE>.from(x)); 516 testCESetFrom((x) => new LinkedHashSet<CE>.from(x));
517 testCESetFrom((x) => new SplayTreeSet<CE>.from(x)); 517 testCESetFrom((x) => new SplayTreeSet<CE>.from(x));
518 518
519 testCESetFrom((x) => new SplayTreeSet<CE>.from(x, 519 testCESetFrom((x) => new SplayTreeSet<CE>.from(x,
520 customCompare(20), validKey)); 520 customCompare(20), validKey));
521 testCESetFrom((x) => new SplayTreeSet<CE>.from(x, identityCompare)); 521 testCESetFrom((x) => new SplayTreeSet<CE>.from(x, identityCompare));
522 522
523 testASetFrom((x) => new Set<A>.from(x)); 523 testASetFrom((x) => new Set<A>.from(x));
524 testASetFrom((x) => new HashSet<A>.from(x)); 524 testASetFrom((x) => new HashSet<A>.from(x));
525 testASetFrom((x) => new LinkedHashSet<A>.from(x)); 525 testASetFrom((x) => new LinkedHashSet<A>.from(x));
526 testASetFrom((x) => new SplayTreeSet<A>.from(x)); 526 testASetFrom((x) => new SplayTreeSet<A>.from(x, identityCompare));
527 } 527 }
OLDNEW
« sdk/lib/collection/queue.dart ('K') | « sdk/lib/collection/splay_tree.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698