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

Side by Side Diff: tests/standalone/io/file_test.dart

Issue 13860006: Fix static type errors in a number of tests (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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 // Dart test program for testing file I/O. 5 // Dart test program for testing file I/O.
6 6
7 import "package:expect/expect.dart"; 7 import "package:expect/expect.dart";
8 import 'dart:async'; 8 import 'dart:async';
9 import 'dart:collection';
9 import 'dart:io'; 10 import 'dart:io';
10 import 'dart:isolate'; 11 import 'dart:isolate';
11 12
12 class MyListOfOneElement implements List { 13 class MyListOfOneElement extends Object with ListMixin {
13 int _value; 14 int _value;
14 MyListOfOneElement(this._value); 15 MyListOfOneElement(this._value);
15 int get length => 1; 16 int get length => 1;
16 operator [](int index) => _value; 17 operator [](int index) => _value;
17 } 18 }
18 19
19 class FileTest { 20 class FileTest {
20 static Directory tempDirectory; 21 static Directory tempDirectory;
21 static int numLiveAsyncTests = 0; 22 static int numLiveAsyncTests = 0;
22 static ReceivePort port; 23 static ReceivePort port;
(...skipping 1257 matching lines...) Expand 10 before | Expand all | Expand 10 after
1280 testDirectorySync(); 1281 testDirectorySync();
1281 testWriteStringUtf8(); 1282 testWriteStringUtf8();
1282 testWriteStringUtf8Sync(); 1283 testWriteStringUtf8Sync();
1283 }); 1284 });
1284 } 1285 }
1285 } 1286 }
1286 1287
1287 main() { 1288 main() {
1288 FileTest.testMain(); 1289 FileTest.testMain();
1289 } 1290 }
OLDNEW
« no previous file with comments | « tests/standalone/io/echo_server_stream_test.dart ('k') | tests/standalone/io/http_auth_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698