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

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

Issue 12212016: Remove Expect from core library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add deprecation comment for ExpectException and revert one test. 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 'dart:async'; 8 import 'dart:async';
8 import 'dart:io'; 9 import 'dart:io';
9 import 'dart:isolate'; 10 import 'dart:isolate';
10 11
11 class MyListOfOneElement implements List { 12 class MyListOfOneElement implements List {
12 int _value; 13 int _value;
13 MyListOfOneElement(this._value); 14 MyListOfOneElement(this._value);
14 int get length => 1; 15 int get length => 1;
15 operator [](int index) => _value; 16 operator [](int index) => _value;
16 } 17 }
(...skipping 1219 matching lines...) Expand 10 before | Expand all | Expand 10 after
1236 testDirectorySync(); 1237 testDirectorySync();
1237 testWriteStringUtf8(); 1238 testWriteStringUtf8();
1238 testWriteStringUtf8Sync(); 1239 testWriteStringUtf8Sync();
1239 }); 1240 });
1240 } 1241 }
1241 } 1242 }
1242 1243
1243 main() { 1244 main() {
1244 FileTest.testMain(); 1245 FileTest.testMain();
1245 } 1246 }
OLDNEW
« no previous file with comments | « tests/standalone/io/file_system_links_test.dart ('k') | tests/standalone/io/file_write_as_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698