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

Unified Diff: tests/corelib/growable_list_test.dart

Issue 2467113003: Make EfficientLength extend Iterable. (Closed)
Patch Set: Reverted, prepare to reland. Make new test not break web-testing framework. Created 4 years, 1 month 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 | « sdk/lib/internal/iterable.dart ('k') | tests/language/efficient_length_warning_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/corelib/growable_list_test.dart
diff --git a/tests/corelib/growable_list_test.dart b/tests/corelib/growable_list_test.dart
index 4b125bf3d20cdac8052dfbc6dfcbc95f5183a1ce..5350919929c4acd7cac80ab987751a44f9d180f8 100644
--- a/tests/corelib/growable_list_test.dart
+++ b/tests/corelib/growable_list_test.dart
@@ -34,7 +34,7 @@ class TestIterable extends TestIterableBase {
int get length => throw "SHOULD NOT BE CALLED";
}
-// Implement Set for private EfficientLength interface.
+// Implement Set for private EfficientLengthIterable interface.
class EfficientTestIterable extends TestIterableBase
implements Set<int> {
EfficientTestIterable(length, count, [callbackIndex = -1, callback])
@@ -104,7 +104,7 @@ void testConstructor() {
}
void testConcurrentModification() {
- // Without EfficientLength interface
+ // Without EfficientLengthIterable interface
{
// Change length of list after 200 additions.
var l = [];
@@ -127,7 +127,7 @@ void testConcurrentModification() {
}, (e) => e is ConcurrentModificationError, "cm2");
}
- // With EfficientLength interface (uses length).
+ // With EfficientLengthIterable interface (uses length).
{
// Change length of list after 20 additions.
var l = [];
« no previous file with comments | « sdk/lib/internal/iterable.dart ('k') | tests/language/efficient_length_warning_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698