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

Unified Diff: tests/standalone/io/file_test.dart

Issue 14052010: Fix broken test (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/file_test.dart
diff --git a/tests/standalone/io/file_test.dart b/tests/standalone/io/file_test.dart
index e3b314560436aca454d695c27304e9c4a29ec51b..d445debcf775ff9efd3a96ccca76eb8b82af23ad 100644
--- a/tests/standalone/io/file_test.dart
+++ b/tests/standalone/io/file_test.dart
@@ -11,11 +11,13 @@ import 'dart:io';
import 'dart:isolate';
class MyListOfOneElement
- extends Object with ListMixin<int>, UnmodifiableListMixin {
+ extends Object with ListMixin<int> implements List<int> {
int _value;
MyListOfOneElement(this._value);
int get length => 1;
operator [](int index) => _value;
kustermann 2013/04/24 13:09:49 I'd throw if 'index != 0' in 'operator[]'.
Søren Gjesse 2013/04/24 13:11:53 Good point, done.
+ void set length(int index) { throw "Unsupported"; }
+ operator []=(int index, value) { throw "Unsupported"; }
}
class FileTest {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698