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

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

Issue 12212016: Remove Expect from core library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 error handling in file I/O. 5 // Dart test program for testing error handling in file I/O.
6 6
7 import "package:expect/expect.dart";
7 import "dart:io"; 8 import "dart:io";
8 import "dart:isolate"; 9 import "dart:isolate";
9 10
10 Directory tempDir() { 11 Directory tempDir() {
11 return new Directory('').createTempSync(); 12 return new Directory('').createTempSync();
12 } 13 }
13 14
14 15
15 bool checkNonExistentFileException(e, str) { 16 bool checkNonExistentFileException(e, str) {
16 Expect.isTrue(e is FileIOException); 17 Expect.isTrue(e is FileIOException);
(...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after
463 testReadAsBytesNonExistent(); 464 testReadAsBytesNonExistent();
464 testReadAsTextNonExistent(); 465 testReadAsTextNonExistent();
465 testReadAsLinesNonExistent(); 466 testReadAsLinesNonExistent();
466 testWriteByteToReadOnlyFile(); 467 testWriteByteToReadOnlyFile();
467 testWriteListToReadOnlyFile(); 468 testWriteListToReadOnlyFile();
468 testTruncateReadOnlyFile(); 469 testTruncateReadOnlyFile();
469 testOperateOnClosedFile(); 470 testOperateOnClosedFile();
470 testRepeatedlyCloseFile(); 471 testRepeatedlyCloseFile();
471 testRepeatedlyCloseFileSync(); 472 testRepeatedlyCloseFileSync();
472 } 473 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698