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

Unified Diff: tests/corelib/linked_hash_map_test.dart

Issue 11267018: Make getKeys, getValues getters (keys, values). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update status files with co19 issue number. Created 8 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/corelib/core_runtime_types_test.dart ('k') | tests/corelib/map_from_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/corelib/linked_hash_map_test.dart
diff --git a/tests/corelib/linked_hash_map_test.dart b/tests/corelib/linked_hash_map_test.dart
index 60ea7179b5a457b5f4a63aa0620309c1e79ebd50..f90fa888b0cc144af29cc75994e5c734b4bb7db7 100644
--- a/tests/corelib/linked_hash_map_test.dart
+++ b/tests/corelib/linked_hash_map_test.dart
@@ -62,11 +62,11 @@ class LinkedHashMapTest {
verifyValues(valuesInOrder);
clear();
- map.getKeys().forEach(testForEachKey);
+ map.keys.forEach(testForEachKey);
verifyKeys(keysInOrder);
clear();
- map.getValues().forEach(testForEachValue);
+ map.values.forEach(testForEachValue);
verifyValues(valuesInOrder);
// Remove and then insert.
@@ -82,11 +82,11 @@ class LinkedHashMapTest {
verifyValues(valuesAfterBMove);
clear();
- map.getKeys().forEach(testForEachKey);
+ map.keys.forEach(testForEachKey);
verifyKeys(keysAfterBMove);
clear();
- map.getValues().forEach(testForEachValue);
+ map.values.forEach(testForEachValue);
verifyValues(valuesAfterBMove);
// Update.
@@ -99,11 +99,11 @@ class LinkedHashMapTest {
verifyValues(valuesAfterAUpdate);
clear();
- map.getKeys().forEach(testForEachKey);
+ map.keys.forEach(testForEachKey);
verifyKeys(keysAfterBMove);
clear();
- map.getValues().forEach(testForEachValue);
+ map.values.forEach(testForEachValue);
verifyValues(valuesAfterAUpdate);
}
}
« no previous file with comments | « tests/corelib/core_runtime_types_test.dart ('k') | tests/corelib/map_from_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698