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

Side by Side Diff: tests/standalone/io/directory_error_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) 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 directory I/O. 5 // Dart test program for testing error handling in directory 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 Directory tempDir() { 12 Directory tempDir() {
12 return new Directory('').createTempSync(); 13 return new Directory('').createTempSync();
13 } 14 }
14 15
15 16
16 bool checkCreateInNonExistentFileException(e) { 17 bool checkCreateInNonExistentFileException(e) {
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 main() { 219 main() {
219 runTest(testCreateInNonExistent); 220 runTest(testCreateInNonExistent);
220 runTest(testCreateTempInNonExistent); 221 runTest(testCreateTempInNonExistent);
221 runTest(testDeleteNonExistent); 222 runTest(testDeleteNonExistent);
222 runTest(testDeleteRecursivelyNonExistent); 223 runTest(testDeleteRecursivelyNonExistent);
223 runTest(testListNonExistent); 224 runTest(testListNonExistent);
224 runTest(testRenameNonExistent); 225 runTest(testRenameNonExistent);
225 runTest(testRenameFileAsDirectory); 226 runTest(testRenameFileAsDirectory);
226 runTest(testRenameOverwriteFile); 227 runTest(testRenameOverwriteFile);
227 } 228 }
OLDNEW
« no previous file with comments | « tests/standalone/io/directory_create_race_test.dart ('k') | tests/standalone/io/directory_invalid_arguments_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698