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

Unified Diff: tests/compiler/dart2js_extra/for_in_test.dart

Issue 14022007: Move Iterable implementation to collection. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Merge to head. Created 7 years, 8 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/compiler/dart2js/scanner_test.dart ('k') | tests/corelib/iterable_length_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js_extra/for_in_test.dart
diff --git a/tests/compiler/dart2js_extra/for_in_test.dart b/tests/compiler/dart2js_extra/for_in_test.dart
index 39d45d991f742a28d78719b1369af1cacdbe9670..eb5de79631add7e594ccd104548ac41f55a4c188 100644
--- a/tests/compiler/dart2js_extra/for_in_test.dart
+++ b/tests/compiler/dart2js_extra/for_in_test.dart
@@ -2,6 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
+import "dart:collection";
import "package:expect/expect.dart";
// Test foreach (aka. for-in) functionality.
@@ -25,7 +26,7 @@ testIterator(List expect, Iterable input) {
Expect.equals(expect.length, i);
}
-class MyIterable<T> extends Iterable<T> {
+class MyIterable<T> extends IterableBase<T> {
final List<T> values;
MyIterable(List<T> values) : this.values = values;
Iterator get iterator {
« no previous file with comments | « tests/compiler/dart2js/scanner_test.dart ('k') | tests/corelib/iterable_length_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698