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

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

Issue 10252020: test rename overhaul: step 12 - standalone (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 7 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 #import("dart:io"); 5 #import("dart:io");
6 6
7 class FileTest { 7 class FileTest {
8 static void testOpenInvalidArgs(name) { 8 static void testOpenInvalidArgs(name) {
9 var file = new File(name); 9 var file = new File(name);
10 try { 10 try {
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 FileTest.testCreateInvalidArgs(0); 186 FileTest.testCreateInvalidArgs(0);
187 FileTest.testReadListInvalidArgs(12, 0, 1); 187 FileTest.testReadListInvalidArgs(12, 0, 1);
188 FileTest.testReadListInvalidArgs(new List(10), '0', 1); 188 FileTest.testReadListInvalidArgs(new List(10), '0', 1);
189 FileTest.testReadListInvalidArgs(new List(10), 0, '1'); 189 FileTest.testReadListInvalidArgs(new List(10), 0, '1');
190 FileTest.testWriteByteInvalidArgs('asdf'); 190 FileTest.testWriteByteInvalidArgs('asdf');
191 FileTest.testWriteListInvalidArgs(12, 0, 1); 191 FileTest.testWriteListInvalidArgs(12, 0, 1);
192 FileTest.testWriteListInvalidArgs(new List(10), '0', 1); 192 FileTest.testWriteListInvalidArgs(new List(10), '0', 1);
193 FileTest.testWriteListInvalidArgs(new List(10), 0, '1'); 193 FileTest.testWriteListInvalidArgs(new List(10), 0, '1');
194 FileTest.testFullPathInvalidArgs(12); 194 FileTest.testFullPathInvalidArgs(12);
195 } 195 }
OLDNEW
« no previous file with comments | « tests/standalone/io/file_input_stream_test.dart ('k') | tests/standalone/io/file_output_stream_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698