2009-12-01 Carlos Alberto Cortez <calberto.cortez@gmail.com>
[mono.git] / mcs / class / corlib / Test / System.IO / ChangeLog
1 2009-12-01  Carlos Alberto Cortez <calberto.cortez@gmail.com>
2
3         * FileTest.cs: New test for File.Copy throwing an exception if src and
4         dest are the same.
5
6 2009-10-15  Sebastien Pouliot  <sebastien@ximian.com>
7
8         * UnmanagedMemoryStreamTest.cs: Add more test cases to cover all
9         validations
10
11 2009-06-25  Robert Jordan  <robertj@gmx.net>
12
13         * BinaryReaderTest.cs, BinaryWriterTest.cs, BufferedStreamTest.cs,
14         PathTest.cs, PathTest.cs, StringWriterTest.cs, TextWriterTest.cs:
15         Upgrade to new NUnit style.
16
17 2009-05-06  Raja R Harinath  <harinath@hurrynot.org>
18
19         * FileInfoTest.cs: Wrap Replace() tests in #if NET_2_0.
20
21 2009-04-27  Sebastien Pouliot  <sebastien@ximian.com>
22
23         * StreamReaderTest.cs: Fix build for NET_1_1
24
25 2009-04-24 Gonzalo Paniagua Javier <gonzalo@novell.com>
26
27         * StreamReaderTest.cs: new test. Using Peek() when we did a short read
28         should block if needed.
29
30 2009-02-24 Gonzalo Paniagua Javier <gonzalo@novell.com>
31
32         * StringReaderTest.cs: new test for ReadLine.
33
34 2008-12-10  Atsushi Enomoto  <atsushi@ximian.com>
35
36         * BinaryReaderTest.cs : fix tests that are also failing under .NET
37           (Exposed by nunit24).
38
39 2008-11-09 William Holmes <billholmes54@gmail.com>
40
41         * TextReaderTest.cs: Added a test for the Null field of
42           the TextReader.
43
44         Code is contributed under MIT/X11 license.
45
46 2008-10-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
47
48         * PathTest.cs: add test for bug #439751.
49
50 2008-10-12  Zoltan Varga  <vargaz@gmail.com>
51
52         * BinaryReaderTest.cs: Add a test for #434581.
53
54 2008-08-16  Gert Driesen  <drieseng@users.sourceforge.net>
55
56         * StreamWriterTest.cs: Removed Constructor2_Path_Whitespace test, as
57         it only applies to Windows (and is duplicate for illegal chars test).
58         Only check paramname for buffersize exception on 2.0 profile.
59
60 2008-08-15  Gert Driesen  <drieseng@users.sourceforge.net>
61
62         * StreamWriterTest.cs: Added more .ctor tests. Enabled AutoFlush
63         test.
64
65 2008-08-15  Gert Driesen  <drieseng@users.sourceforge.net>
66
67         * StreamWriterTest.cs: Moved ctor argument checks to separate methods.
68         Added and improved ctor tests. Added test for Close. Improved
69         (Auto)Flush tests. Use Assert class instead of Assertion.
70
71 2008-06-21  Gert Driesen  <drieseng@users.sourceforge.net>
72
73         * PathCas.cs: Updated method names to reflect changes in PathTest.
74         * PathTest.cs: Renamed tests. Use String.Empty instead of "". Added
75         argument check tests, and moved tests to separate methods. Avoid using
76         ExpectedException.
77
78 2008-05-29  Robert Jordan  <robertj@gmx.net>
79
80         * PathTest.cs (TestGetFullPathUnix, TestGetFullPathWindows):
81         Factored out from the disabled TestGetFullPath test while fixing
82         the issues mentioned by the ERROR comment and bug #394681.
83
84 2008-05-08  Dick Porter  <dick@ximian.com>
85
86         * DirectoryInfoTest.cs: Added a test for bug 385765.
87
88 2008-04-30  Gert Driesen  <drieseng@users.sourceforge.net>
89
90         * DirectoryTest.cs: Do not use ExpectedException to avoid false
91         positives. Use String.Empty instead of "".
92
93 2008-04-22  Dick Porter  <dick@ximian.com>
94
95         * FileTest.cs: Disable the test for bug 323389, as I've reverted
96         the fix.
97
98 2008-04-17  Dick Porter  <dick@ximian.com>
99
100         * FileTest.cs: Test for bug 323389.
101
102 2008-04-17  Dick Porter  <dick@ximian.com>
103
104         * FileTest.cs: Test for bug 378229.
105
106 2008-04-17  Gert Driesen  <drieseng@users.sourceforge.net>
107
108         * File.cs: Added/improved tests for Create and Move.
109         * DirectoryInfoTest.cs: No longer derive from deprecated Assertion
110         class. Improved tests for ctor, Create, Name, Parent, ...
111         * FileInfoTest.cs: No longer derive from deprecated Assertion class.
112         Improved/added tests,
113         * PathTest.cs: Added tests for IsPathRooted and GetFullPath.
114         * FileSystemInfoTest.cs: Fixed test. Now passes on both Mono and MS. 
115
116 2008-04-16  Gert Driesen  <drieseng@users.sourceforge.net>
117
118         * FileTest.cs: Renamed and improved existing tests. Avoid use of
119         ExpectedException.
120         * FileSystemInfoTest.cs: No longer derive from deprecated Assertion
121         class. Added (de)serialization tests.
122
123 2008-04-04  Dick Porter  <dick@ximian.com>
124
125         * FileTest.cs: Test moving a file when the access mode disallows
126         it.  Test from Eric Albright <albright@wesay.org>, see bug 377049.
127
128 2008-04-03  Dick Porter  <dick@ximian.com>
129
130         * DirectoryTest.cs: Enable tests now that bug 346123 is fixed.
131
132 2008-03-28  Sebastien Pouliot  <sebastien@ximian.com>
133
134         * DirectoryTest.cs: Add test case when deleting a directory that does
135         not exists but where a file of the same name exists.
136
137 2008-01-06  Zoltan Varga  <vargaz@gmail.com>
138
139         * FileTest.cs: Rename a helper method so it does not begin with Test.
140
141 2007-12-28  Zoltan Varga  <vargaz@gmail.com>
142
143         * MemoryStreamTest.cs: Add new test.
144
145 2007-12-05  Gert Driesen  <drieseng@users.sourceforge.net>
146
147         * DirectoryTest.cs: Added (NotWorking) tests for bug #346123.
148
149 2007-11-17  Jb Evain  <jbevain@novell.com>
150
151         * PathTest.cs: Add test for #341034, GetRandomFileName should
152         return only file names in [a..z0..9].
153
154 2007-11-05  Sebastien Pouliot  <sebastien@ximian.com>
155
156         * MemoryStreamTest.cs: Add test case for #322672 (which seems already
157         fixed in SVN).
158
159 2007-11-02  Atsushi Enomoto  <atsushi@ximian.com>
160
161         * PathTest.cs: Fixed wrong assumption on GetDirectoryName("/")
162           result on Unix (on top level it returns null).
163
164 2007-11-02  Robert Jordan  <robertj@gmx.net>
165
166         * PathTest.cs (TestGetDirectoryName): Fix syntax errors.
167
168 2007-09-27  Gert Driesen  <drieseng@users.sourceforge.net>
169
170         * DirectoryTest.cs: Added RunningOnUnix property to use for enabling
171         or disabling tests on a specific platform. Enabled and improved test
172         for bug #325107.
173
174 2007-09-21  Gert Driesen  <drieseng@users.sourceforge.net>
175
176         * MemoryStreamTest.cs: Added test for bug #327053.
177
178 2007-09-08  Gert Driesen  <drieseng@users.sourceforge.net>
179
180         * DirectoryTest.cs: Added test for bug #82440.
181
182 2007-08-21  Gert Driesen  <drieseng@users.sourceforge.net>
183
184         * FileTest.cs: Added test for File.GetAttributes (and indirectly also
185         for SetAttributes). Removed use of deprecated Assertion class.
186
187 2007-08-20  William Holmes  <billholmes54@gmail.com>
188
189         *FileTest.cs:  Added a test for IO.File.Replace.  
190
191         Code is contributed under MIT/X11 license.
192
193 2007-08-01  Dick Porter  <dick@ximian.com>
194
195         * DirectoryTest.cs: Test for bug 82212 is now working.
196
197 2007-07-28  Gert Driesen  <drieseng@users.sourceforge.net>
198
199         * DirectoryTest.cs: Added test for bug #82212.
200
201 2007-07-08  Gert Driesen  <drieseng@users.sourceforge.net>
202
203         * DirectoryCas.cs: Changed Move to MoveDirectory to match the
204         method in DirectoryTest. Fixed line endings.
205         * DirectoryTest.cs: Added test for bug #81912. Added tests for Move
206         argument checks.
207
208 2007-06-24  Gert Driesen  <drieseng@users.sourceforge.net>
209
210         * DirectoryTest.cs: Restore original CurrentCulture on teardown.
211         * FileSystemInfoTest.cs: Restore original CurrentCulture on teardown.
212         Removed stray tabs. Code formatting.
213         * FileTest.cs: Restore original CurrentCulture on teardown. Removed
214         stray tabs. Changes spaces to tabs.
215
216 2007-06-22  Gert Driesen  <drieseng@users.sourceforge.net>
217
218         * FileStreamTest.cs: Added test for bug #79250.
219
220 2007-05-25  Gert Driesen  <drieseng@users.sourceforge.net>
221
222         * UnmanagedMemoryStreamTest.cs: Added tests for CanRead, CanSeek,
223         CanWrite, Seek, Write. Improved existing tests for SetLength,
224         Position. Enabled tests that were previously failing.
225
226 2007-05-24  Gert Driesen  <drieseng@users.sourceforge.net>
227
228         * UnmanagedMemoryStreamTest.cs: Fixed several tests and added several
229         more. Tests were previously ignored by NUnit because the SetUp method
230         was private.
231
232 2007-02-19      Eyal Alaluf <eyala@mainsoft.com>
233
234         * FileStreamTest.cs: Mark tests that use TARGET_JVM not supported features.
235
236 2007-02-19      Boris Kirzner <borisk@mainsoft.com>
237
238         * DirectoryTest.cs, PathTest.cs: added test for 
239         order of InvalidPathChars on windows.
240
241 2007-01-31  Gert Driesen  <drieseng@users.sourceforge.net>
242
243         * FileStreamTest.cs: Added and improved tests to verify whether the
244         reported exceptions match that of MS.>
245
246 2007-01-31  Gert Driesen  <drieseng@users.sourceforge.net>
247
248         *  StreamReaderTest.cs: Use Assert class instead of deprecation
249         Assertion. Clean-up some tests.
250
251 2007-01-30      Boris Kirzner <borisk@mainsoft.com>
252         * FileNotFoundExceptionTest.cs: fix tests for TARGET_JVM.
253
254 2007-01-29      Boris Kirzner <borisk@mainsoft.com>
255         * BinaryReaderTest.cs, BinaryWriterTest.cs, PathTest.cs: test fixes
256         for TARGET_JVM.
257
258 2007-01-25  Gert Driesen  <drieseng@users.sourceforge.net>
259
260         * StreamReaderTest.cs: Added test for bug #75526.
261
262 2007-01-11  Gert Driesen  <drieseng@users.sourceforge.net>
263
264         * DirectoryTest.cs: Fixed compiler warning by improving test.
265
266 2006-01-25      Bors Kirzner <borisk@mainsoft.com>
267
268         * DirectoryInfoTest.cs, DirectoryTest.cs, FileInfoTest.cs, FileSystemInfoTest.cs
269         FileTest.cs: add ifdefs for TARGET_JVM.
270         
271 2006-12-21  Gert Driesen  <drieseng@users.sourceforge.net>
272
273         * MemoryStreamTest.cs: Added (de)serialization tests for bug #80205.
274
275 2006-11-28  Gert Driesen  <drieseng@users.sourceforge.net>
276
277         * DirectoryTest.cs: Use Assert.Ignore instead of silently ignoring
278         test.
279
280 2006-11-07  Gert Driesen  <drieseng@users.sourceforge.net>
281
282         * DirectoryTest.cs: Use Assert class intead of deriving from 
283         deprecated Assertion class. Only ignore CreationTime test on unix.
284         Removed extra tabs.
285
286 2006-11-07  Dick Porter  <dick@ximian.com>
287
288         * DirectoryTest.cs: CreateDirectoryAlreadyExistsAsFile() should
289         expect an IOException in the 2.0 profile
290
291 2006-10-30 Joel Reed  <joel.reed@ddiworld.com>
292
293         * DirectoryInfoTest.cs: Updated tests to support the DirectoryInfo
294         SearchOption.AllDirectories
295
296 2006-09-24  Raja R Harinath  <harinath@gmail.com>
297
298         * FileInfoTest.cs (IsReadOnly): Fix compilation.  Mark as NotWorking.
299
300 2006-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
301
302         * FileInfoTest.cs: improved IsReadOnly test case. Patch by Joel Reed.
303
304 2006-09-21  Gert Driesen  <drieseng@users.sourceforge.net>
305
306         * FileNotFoundExceptionTest.cs: Added ctor tests.
307
308 2006-07-06  Dick Porter  <dick@ximian.com>
309
310         * DirectoryTest.cs: Test creating a directory when a file or
311         directory already exists with the requested name.
312
313 2006-05-14  Zoltan Varga  <vargaz@gmail.com>
314
315         * DirectoryTest.cs: Ignore one of the tests which causes nunit to abort on
316         IA64 due to an exception handling bug.
317
318 2006-05-08  Atsushi Enomoto <atsushi@ximian.com>
319
320         * DirectoryTest.cs : don't expect "chmod" on Windows.
321
322 2006-05-01  Daniel Drake  <dsd@gentoo.org>
323
324         * DirectoryTest.cs: add test for bug #78239, based on suggestion from
325         Robert Jordan.
326
327 2006-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
328
329         * DirectoryTest.cs: added test for bug 78209.
330
331 2006-04-28  Robert Jordan  <robertj@gmx.net>
332
333         * PathTest.cs: Added tests for bug #78147.
334
335 2006-03-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
336
337         * FileStreamTest.cs: new test from bug #77863.
338
339 2006-02-27  Gert Driesen  <drieseng@users.sourceforge.net>
340
341         * FileTest.cs: In 2.0 profile, no longer expect IOException when path to
342         non-existing directory or file is specified in Get***Time(Utc) methods
343         (bug #77641). Renamed tests and removed trailing tabs. Removed
344         duplicate test. Fixed GetLastWriteTime(Utc) tests that used
345         GetLastAccessTime(Utc) instead of GetLastWriteTime(Utc).
346         * DirectoryTest.cs: No longer expect IOException when path to 
347         non-existing directory or file is specified in Get***Time(Utc) methods
348         (bug #77641).   
349
350 2006-02-26  Gert Driesen  <drieseng@users.sourceforge.net>
351
352         * FileStreamTest.cs: Fixed tests for invalid share value to pass on
353         MS.NET 2.0, and all Mono profiles. Added test that verifies the 
354         correct behavior of all possible FileMode and FileAccess combinations.
355         Fixed compiler warning.
356
357 2006-02-25  Gert Driesen  <drieseng@users.sourceforge.net>
358
359         * FileStreamTest.cs: Spaces to tabs, (re)numbered tests.
360
361 2006-01-18  Atsushi Enomoto  <atsushi@ximian.com>
362
363         * DirectoryInfoTest.cs : don't expect "/" as a top directory on
364           Windows.
365
366 2006-01-13  Ben Maurer  <bmaurer@andrew.cmu.edu>
367
368         * TextWriterTest.cs: Make sure TextWriter calls the char[],int,int
369         overload when calling the char[].
370
371 2006-01-12  Ben Maurer  <bmaurer@andrew.cmu.edu>
372
373         * FileTest.cs: Tests tests for read/writealltext.
374
375 2006-01-02  Sebastien Pouliot  <sebastien@ximian.com>
376
377         * StreamReaderTest.cs: Added test case when reading a new line (see 
378         bug #77108 for details).
379         * StringReaderTest.cs: Added test case when reading a new line (see 
380         bug #77108 for details).
381
382 2005-12-23  Sebastien Pouliot  <sebastien@ximian.com>
383
384         * DirectoryInfoTest.cs: Added test case for #77090 where we skipped
385         / as a parent between /home and null.
386
387 2005-12-21  Sebastien Pouliot  <sebastien@ximian.com>
388
389         * PathTest.cs: Added new test case for #77058 where a Windows drive
390         wasn't considered during path canonalization.
391
392 2005-12-20  Sebastien Pouliot  <sebastien@ximian.com>
393
394         * PathTest.cs: Added new test case for #77007 where a Windows drive is
395         specified with a partial path.
396
397 2005-12-15  Sebastien Pouliot  <sebastien@ximian.com>
398
399         * DirectoryInfoTest.cs: Added test cases for #76191 and #76903.
400         * PathTest.cs: Added test cases for #76191, the possible modification 
401         of InvalidPathChars and the new 2.0 methods.
402
403 2005-12-14  Sebastien Pouliot  <sebastien@ximian.com>
404
405         * FileLoadExceptionCas.cs: MS fixed this in 2.0 final (#71861).
406         * FileNotFoundExceptionCas.cs: MS fixed this in 2.0 final (#71861).
407
408 2005-10-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
409
410         * StreamReaderTest.cs: more tests for ReadLine().
411
412 2005-10-01  Ben Maurer  <bmaurer@ximian.com>
413
414         * BinaryReaderTest.cs: new test for long, non-ascii strings
415
416 2005-09-08  Sebastien Pouliot  <sebastien@ximian.com>
417
418         * MemoryStreamTest.cs: Add more tests for publicly visible (or not)
419         contents. Started converting tests to NUnit 2.2 API.
420
421 2005-07-04  Sebastien Pouliot  <sebastien@ximian.com>
422
423         * DirectoryInfoTest.cs: Added tests for getting parent of root 
424         directories (using directory separators).
425
426 2005-07-02  Sebastien Pouliot  <sebastien@ximian.com>
427
428         * DirectoryInfoTest.cs: Added tests for FullName (bug #75443).
429
430 2005-06-16  Gert Driesen  <drieseng@users.sourceforge.net>
431
432         * DirectoryInfoTest.cs: Added tests for bug #75285.
433
434 2005-06-10  Ben Maurer  <bmaurer@ximian.com>
435
436         * FileTest.cs: Fix gonz's typo. Also, clean stuff up by using the
437         temp file api, rather than our own hack.
438
439 2005-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
440
441         * FileTest.cs: yet more invalid array accesses removed.
442
443 2005-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
444
445         * FileTest.cs: on unix there are no invalid chars and we were trying
446         to index beyond the end of the array.
447
448 2005-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
449
450         * FileTest.cs: removed duplicate test. The same thing is done in
451         DeleteOpenStream.
452
453 2005-05-18  Sebastien Pouliot  <sebastien@ximian.com>
454
455         * StreamCas.cs: New. CAS unit tests to test stack propagation for 
456         BeginRead and BeginWrite.
457         * FileStreamCas.cs: Added tests to test stack propagation for 
458         BeginRead and BeginWrite.
459
460 2005-05-09  Sebastien Pouliot  <sebastien@ximian.com> 
461  
462         * DirectoryCas.cs: Fixed IsRunningOnWindows (inversed logic). That
463         didn't change the tests as the SecurityException occurs before the
464         parameters are checked (when all goes well ;-). Fixed for NET_2_0 too.
465         * DirectoryInfoTest.cs: Fixed PlatformID.Unix for NET_2_0.
466
467 2005-05-06  Ben Maurer  <bmaurer@ximian.com>
468
469         * FileTest.cs (OpenAppend): Test for #71088.
470
471 2005-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
472
473         * DirectoryInfoTest.cs: added test for bug #53173.
474
475 2005-04-09  Miguel de Icaza  <miguel@novell.com>
476
477         * StreamWriterTest.cs: New test for bug #74513.
478
479 2005-03-24  Sebastien Pouliot  <sebastien@ximian.com>
480
481         * DirectoryCas.cs: Added partial trust unit tests.
482         * DirectoryTest.cs: Added missing [Test] attribute to 
483         SetCreationTimeException1.
484         * FileStreamCas.cs: New. CAS unit tests for FileStream.
485         * PathCas.cs: New. CAS unit tests for Path.
486         * PathTest.cs: Splitted TestGetPathRoot test in two so the second part
487         could be re-used in partial trust tests.
488
489 2005-03-15  Sebastien Pouliot  <sebastien@ximian.com> 
490
491         * FileStreamTest.cs: Added tests for all FileMode when a directory
492         doesn't exists. Added a test for UnauthorizedAccessException when a
493         directory is opened as a file.
494
495 2005-01-28  Sebastien Pouliot  <sebastien@ximian.com> 
496
497         * FileLoadExceptionCas.cs: Fixed failures under MS for NET_1_1.
498         * FileNotFoundExceptionCas.cs: Fixed failures under MS for NET_1_1.
499
500 2005-03-02  Raja R Harinath  <rharinath@novell.com>
501
502         * FileStreamTest.cs (Constructor_InvalidFileHandle): Fix to work
503         on 64-bit platforms.
504
505 2005-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
506
507         * FileTest.cs: test for invalid characters in file names.
508
509 2005-01-28  Sebastien Pouliot  <sebastien@ximian.com> 
510
511         * DirectoryCas.cs: New. Very limited permission tests for Directory.
512         Actually it's only there to support tests for System.Environment.
513         * FileLoadExceptionCas.cs: New. Permission tests for FileLoadException
514         * FileNotFoundExceptionCas.cs: New. Permission tests for 
515         FileNotFoundException.
516
517 2005-01-19  Nick Drochak <ndrochak@gol.com>
518
519         * FileStreamTest.cs: Fix test regression on .NET. Need to close
520         stream so other tests don't fail.
521
522 2004-12-06  Atsushi Enomoto  <atsushi@ximian.com>
523
524         * TextWriterTest.cs : added.
525
526 2004-12-04  Ben Maurer  <bmaurer@ximian.com>
527
528         * DirectoryInfoTest.cs: Check for CreateSubdirectory with empty string.
529
530 2004-08-31  Nick Drochak <ndrochak@gol.com>
531
532         * StringWriterTest.cs: Eliminate ambiguity so csc can compile.
533
534 2004-06-21  Atsushi Enomoto  <atsushi@ximian.com>
535
536         * FileStreamTest.cs : Added some tests on .ctor() without FileShare.
537
538 2004-06-21  Atsushi Enomoto  <atsushi@ximian.com>
539
540           FileInfoTest.cs : more '/' and Path.DirectorySeparatorChar fixes
541
542 2004-06-21  Atsushi Enomoto  <atsushi@ximian.com>
543
544         * DirectoryInfoTest.cs,
545           DirectoryTest.cs,
546           FileStreamTest.cs,
547           FileSystemInfoTest.cs:
548           Replace all '/' in path with Path.DirectorySeparatorChar.
549
550 2004-06-08  Duncan Mak  <duncan@ximian.com>
551
552         * DirectoryTest.cs (GetParentOfRootDirectory): Add test for
553         GetParent from the root directory.
554
555 2004-06-07  Duncan Mak  <duncan@ximian.com>
556
557         * FileStreamTest.cs (SetLengthWithClosedBaseStream): New test for
558         checking that the correct exception is thrown when the base stream
559         is closed.
560
561 2004-06-03  Sebastien Pouliot  <sebastien@ximian.com>
562
563         * BufferedStreamTest.cs: Modified two tests (using newer helper 
564         classes) to be more specific and avoid regressions of bugs like
565          #59534.
566         * StreamHelperTest.cs: New. Helper classes that provides read-only,
567         write-only or non-seekable stream.
568
569 2004-05-31  Sebastien Pouliot  <sebastien@ximian.com>
570
571         * FileTest.cs: Added tests to confirm that Exists never throws
572         exceptions even for invalid filenames or for unexisting directories.
573         * PathTest.cs: Added windows-specific tests that shows that 
574         ChangeExtension validate the input patch but doesn't validate the 
575         resulting path.
576
577 2004-05-30  Sebastien Pouliot  <sebastien@ximian.com>
578
579         * BufferedStreamTest.cs: Added tests for Position after SetLength, 
580         SetLength after Close and Seek logic exception handling.
581         * FileStream.cs: Added test for invalid SeekOrigin in Seek. Lots of
582         new tests for exception handling (negatives, disposed) and test
583         reading a byte ast the end of the stream.
584         * MemoryStream.cs: Added test for Seek after Close.
585
586 2004-05-29  Sebastien Pouliot  <sebastien@ximian.com>
587
588         * BinaryReader.cs: Added new cases to check exceptions thrown by Read
589         methods.
590
591 2004-05-26  Atsushi Enomoto <atsushi@ximian.com>
592
593         * FileInfoTest.cs : more incorrect \ fix.
594
595 2004-05-26  Sebastien Pouliot  <sebastien@ximian.com>
596
597         * BufferedStreamTest.cs: Added new unit tests for exceptions.
598         * FileStreamTest.cs: Added new tests for integer overflow checks.
599         * StringReaderTest.cs: Added new tests for integer overflow checks.
600
601 2003-05-26  Atsushi Enomoto <atsushi@ximian.com>
602
603         * FileInfoTest.cs : incorrect \ fix. added more cases.
604
605 2003-05-26  Atsushi Enomoto <atsushi@ximian.com>
606
607         * FileInfoTest.cs : added tests for ToString().
608
609 2004-05-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
610
611         * DirectoryTest.cs: added test from bug 58875.
612
613 2004-05-24  Sebastien Pouliot  <sebastien@ximian.com>
614
615         * MemoryStreamTest.cs: Test that we zeroize old data when we manipulate
616         the length of the stream. Verify that we throw the same exceptions as
617         MS fx.
618         * StreamReaderTest.cs: New tests for integer overflow and null handling
619         * StreamWriterTest.cs: New tests for integer overflow, disposed 
620         exceptions and null handling.
621         * StringWriterTest.cs: New tests for integer overflow and disposed 
622         exceptions.
623
624 2004-05-20  Sebastien Pouliot  <sebastien@ximian.com>
625
626         * MemoryStream.cs: SetUp is now public (required for new nunit).
627
628 2004-05-20  Jackson Harper  <jackson@ximian.com>
629
630         * DirectoryInfoTest.cs: Add test for CreateSubdirectory.
631         
632 2004-04-12  David Sheldon <dave-mono@earth.li>
633
634   * BinaryReaderTest.cs: Changed series of bytes in 
635   ReadDecimal to be a cleaner representation of a real 
636   decimal, as was not a technically correct decimal. 
637    
638 2004-04-01  Lluis Sanchez Gual  <lluis@ximian.com>
639
640         * BufferedStreamTest.cs: Added test for Position.
641
642 2003-04-03  Atsushi Enomoto <atsushi@ximian.com>
643
644         * PathTest.cs : Added more patterns on TestChangeExtension().
645
646 2004-02-16  Jackson Harper <jackson@ximian.com>
647
648         * FileTest.cs: We do not need to convert to local time because we
649         are getting creation time, not utc time.
650         
651 2004-01-31  David Sheldon <dave-mono@earth.li>
652
653       * FileSystemInfoTest.cs: Added code to skip CreationTime tests
654        on Unix, as it doesn't support them.
655
656 2004-01-31  David Sheldon <dave-mono@earth.li>
657
658       * FileSystemInfoTest.cs: Change tests for default times to 
659        be TimeZone agnostic by conversion to universal time before
660        testing.
661
662 2004-01-22  David Sheldon <dave-mono@earth.li>
663
664       * FileStreamTest.cs: CtorArgumentOutOfRangeException4, we were 
665        testing for this ecveption, but the other parameters were also
666        invalid. Made them correct. We don't care that MS throw
667        exceptions in a different order do we?
668
669 2004-01-22  David Sheldon <dave-mono@earth.li>
670
671        * DirectoryTest.cs: Added Ignore to the CreationTime tests, 
672         as Unix filesystems don't support them. Should we only ignore
673         them on Unix?
674
675 2004-01-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
676
677         * PathTest.cs: added some unix-only tests for GetFullPath.
678
679 2004-01-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
680
681         * PathTest.cs: a couple of tests for bugs.
682
683 2003-01-06  Atsushi Enomoto <atsushi@ximian.com>
684
685         * DirectoryTest.cs : remoed incorrect args.
686
687 2003-12-25  Atsushi Enomoto <atsushi@ximian.com>
688
689         * PathTest.cs : On Unix, "Z:" can be valid local file.
690           And cosmetic character case fix.
691
692 2003-12-19  Nick Drochak <ndrochak@gol.com>
693
694         * PathTest.cs: Make tests pass on .NET 1.1.  Probably still
695         need to handle different directory and volume separators for
696         other OS's.
697
698 2003-12-17  Atsushi Enomoto <atsushi@ximian.com>
699
700         * PathTest.cs :
701           Added more GetPathRoot and GetFullPath tests for windows.
702           Fixed incorrectly specified arguments in the previous patch.
703
704 2003-12-17  Atsushi Enomoto <atsushi@ximian.com>
705
706         * PathTest.cs : Added more tests for IsPathRooted, HasExtension
707           and GetExtension.
708
709 2003-12-17  Atsushi Enomoto <atsushi@ximian.com>
710
711         * DirectoryTests.cs : Added some SetCurrentDirectory tests.
712
713 2003-12-17  Nick Drochak <ndrochak@gol.com>
714
715         * FileStreamTest.cs: Ok, it wasn't a 1.1 thing.  The test simply would
716         fail randomly because location 12 was sometimes a file handle.
717
718 2003-12-16  Nick Drochak <ndrochak@gol.com>
719
720         * FileStreamTest.cs: Exception not thrown in .NET 1.1.
721         And Happy Birthday to Me!
722
723 2003-11-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
724
725         * StringReaderTest.cs: added test from bug #51020.
726
727 2003-10-21  Nick Drochak <ndrochak@gol.com>
728
729         * BufferedSTreamTest.cs: Make TearDown smarter about possible
730         null member value.
731
732 2003-07-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
733
734         * MemoryStreamTest.cs: added a couple of tests for WriteByte.
735
736 2003-06-30  Zoltan Varga  <vargaz@freemail.hu>
737
738         * FileStreamTest.cs: New tests for flushing when disposed and zero
739         buffer size.
740
741 2003-06-18  Nick Drochak <ndrochak@gol.com>
742
743         * FileSystemInfoTest.cs: Simplify a bit.
744
745 2003-06-18  Nick Drochak <ndrochak@gol.com>
746
747         * FileSystemInfoTest.cs: Works on .NET 1.1 now. If these values are
748         different on 1.0 then we need to wrap with a #if NET_1_1.
749
750 2003-06-12  Zoltan Varga  <vargaz@freemail.hu>
751
752         * FileStreamTest.cs: New tests for recently fixed bugs.
753
754 2003-06-08  Ville Palo <vi64pa@kolumbus.fi>
755
756         * BinaryWriterTest.cs:
757         * BinaryReaderTest.cs:
758         * DirectoryTest.cs:
759         * FileTest.cs: now works with ms.net, clean ups, nunit2, ...
760         
761 2003-05-29  Nick Drochak <ndrochak@gol.com>
762
763         * ms_run_test.sh: added .NET verion of helper script
764         * BinaryReaderTest.cs: fix my oversight
765         * BinaryWriterTest.cs: cleanups
766         * BufferedStreamTest.cs: cleanups
767         * DirectoryInfoTest.cs: cleanups
768         * DirectoryTest.cs: cleanups
769         * FileStreamTest.cs: cleanups
770
771 2003-05-29  Nick Drochak <ndrochak@gol.com>
772
773         * BinaryReaderTest.cs:
774         * BinaryWriterTest.cs:
775         * DirectoryInfoTest.cs:
776         * DirectoryTest.cs:
777         * FileInfoTest.cs:
778         * FileStreamTest.cs:
779         * FileSystemInfoTest.cs: Stop throwing exceptions on windows, and sub-
780         class from Assertion for brevity.
781
782 2003-05-22  Ben Maurer <bmaurer@users.sourceforge.net>
783         StringWriterTest.cs: Added tests from bug #43431 (by Ian MacLean).
784
785 2003-05-22  Nick Drochak <ndrochak@gol.com>
786
787         * StreamReaderTest.cs:
788         * StreamWriterTest.cs: Forgot nunit v2 TestFixture attribute
789
790 2003-05-22  Zoltan Varga  <vargaz@freemail.hu>
791
792         * FileTest.cs: Added tests for moving directories.
793
794 2003-05-20  Nick Drochak <ndrochak@gol.com>
795
796         * FileTest.cs:
797         * StreamReaderTest.cs:
798         * StreamWriterTest.cs: Workaround for process holding on to directory
799         that prevented cleanup and deletion.
800
801 2003-05-19  Ville Palo <vi64pa@kolumbus.fi>
802
803         * DirectoryTest.cs: Added tests for GetDirectories() and 
804         GetFiles ()
805         
806 2003-05-18  Ben Maurer <bmaurer@users.sourceforge.net>
807         * *.cs Cleaned up tests to work around bug that prevented 
808         System.IO from seeing directories starting with '.'
809
810 2003-05-15  Ville Palo <vi64pa@kolumbus.fi>
811
812         * FileStreamTest.cs: more cleaning
813         
814 2003-05-15  Ville Palo <vi64pa@kolumbus.fi>
815
816         * StreamReaderTest.cs:
817         * StreamWriterTest.cs: now use temp-dir
818         
819 2003-05-15  Ville Palo <vi64pa@kolumbus.fi>
820
821         * BinaryReaderTest.cs:
822         * BinaryWriterTest.cs:
823         * BufferedStreamTest.cs:
824         * DirectoryInfoTest.cs:
825         * DirectoryTest.cs:
826         * FileInfoTest.cs:
827         * FileSystemInfoTest.cs: clean up, now use temp-dir
828
829 2003-05-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
830
831         * PathTest.cs: added test for GetFullPath (".") and ".."
832
833 2003-05-13  Ville Palo <vi64pa@kolumbus.fi>
834
835         * FileStreamTest.cs:
836         * FileTest.cs: Clean up. Now use temp directory. also some nunit2 
837         changes
838         
839 2003-05-98  Ville Palo <vi64pa@kolumbus.fi>
840
841         * FileSystemInfoTest.cs; new file
842         
843 2003-05-07  Ben Maurer <bmaurer@users.sourceforge.net>
844         * PathTest.cs
845         Even more GetFullPath () tests. Includes UNC tests.
846         
847 2003-05-06  Ville Palo <vi64pa@kolumbus.fi>
848
849         * DirectoryInfoTest.cs: Removed OS-specific test
850         
851 2003-05-06  Ville Palo <vi64pa@kolumbus.fi>
852
853         * DirectoryTest: Fixed Utc errors
854         * FileTest: Fixes Utc errors. Now these tests works in other 
855         timezones too.
856         
857 2003-05-04  Ben Maurer <bmaurer@users.sourceforge.net>
858         * PathTest.cs
859         Added new tests for GetFullPath () that include a path with
860         . and ..
861         
862 2003-05-05  Ville Palo <vi64pa@kolumbus.fi>
863
864         * DirectoryInfoTest.cs: new file.
865
866 2003-05-04  Ville Palo <vi64pa@kolumbus.fi>
867
868         * FileInfoTest.cs: new file.
869         * FileStreamTest.cs: new tests for Seek ()
870         
871 2003-04-29  Ville Palo <vi64pa@kolumbus.fi>
872
873         * FileStreamTest.cs: Tests for Flush() adn  one one more test for
874         Ctor exceptions
875         
876 2003-04-25  Ville Palo <vi64pa@kolumbus.fi>
877
878         * FileTest.cs: more tests..
879         
880 2003-04-24  Ville Palo <vi64pa@kolumbus.fi>
881
882         * FileTest.cs: Fixed tests and added some.
883         
884 2003-04-22  Ville Palo <vi64pa@kolumbus.fi>
885
886         * FileTest.cs: More tests.
887         
888 2003-04-21  Ville Palo <vi64pa@kolumbus.fi>
889
890         * DirectoryTest.cs: lots of new tests. and some fixes and clean ups
891         
892 2003-04-20  Miguel de Icaza  <miguel@ximian.com>
893
894         * StringReaderTest.cs: Update test to include read-past-the-end
895
896 2003-04-20  Ville Palo <vi64pa@kolumbus.fi>
897
898         * DirectoryTest.cs: new file
899         
900 2003-04-16  Ville Palo <vi64pa@kolumbus.fi>
901
902         * BufferedStreamTest.cs: new file
903         
904 2003-04-14  Ville Palo <vi64pa@kolumbus.fi>
905
906         * BinaryWriterTest.cs: Added new file.
907         
908 2003-04-13  Ville Palo <vi64pa@kolumbus.fi>
909
910         * BinaryReaderTest.cs: Added lots of tests. Somehow I missed that
911         there are already testcases for BinaryStreamReader :/
912         
913 2003-04-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
914
915         * FileStreamTest.cs: added more tests by Gert Driesen
916         (gert.driesen@ardatis.com).
917
918 2003-04-12  Ville Palo <vi64pa@kolumbus.fi>
919
920         * FileStreamTest.cs More tests.
921         
922 2003-04-11  Ville Palo <vi64pa@kolumbus.fi>
923
924         * FileStreamTest.cs: File Added and some tests in it.
925         
926 2003-04-11  Ville Palo <vi64pa@kolumbus.fi>
927
928         * StringReaderTest.cs: Tests for close and some exceptions
929         
930 2003-04-11  Ville Palo <vi64pa@kolumbus.fi>
931
932         * StringWriterTest.cs: Added some Exception tests.
933         
934 2003-04-10  Ville Palo <vi64pa@kolumbus.fi>
935
936         * StringWriterTest.cs: Added couple of tests.
937         
938 2003-04-05  Nick Drochak  <ndrochak@gol.com>
939
940         * PathTest.cs: Use nunit2 convention for exception test.
941
942 2003-03-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
943
944         * StreamReaderTest.cs: added test for exception when the nase stream is
945         closed. Make the reader.CurrentEncoding test work.
946
947 2003-03-05  Dick Porter  <dick@ximian.com>
948
949         * MemoryStreamTest.cs: Some more tests
950
951 2003-03-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
952
953         * MemoryStreamTest.cs: some nunit2 love. Added a bunch of new tests.
954
955 2003-02-05  Nick Drochak  <ndrochak@gol.com>
956
957         * FileTest.cs: Have setup remove files before testing as well in case
958         tests were interrupted before TearDown could be called in a previous
959         run. Also test for specific exception in TestGetCreationTime ().
960
961 2003-01-28  Zoltan Varga  <vargaz@freemail.hu>
962
963         * FileTest.cs: Added tests for GetCreationTime.
964
965 2002-12-21  Nick Drochak <ndrochak@gol.com>
966
967         * all: make tests build and run under nunit2
968
969 2002-09-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
970
971         * PathTest.cs: added test for null argument in IsPathRooted.
972
973 2002-09-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
974
975         * BinaryReaderTest.cs: added more tests.
976
977          Patch from Eduardo GarcĂ­a Cebollero (kiwnix@yahoo.es).
978
979 2002-09-19  Nick Drochak  <ndrochak@gol.com>
980
981         * StreamReaderTest.cs: Pinpoint error closing streams
982
983 2002-09-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
984
985         * FileTest.cs: don't leave AFile.txt open.
986
987 2002-09-08  Nick Drochak  <ndrochak@gol.com>
988
989         * PathTest.cs (TestCombine): XP puts it's system root in WINDOWS not
990         WINNT.
991
992 2002-09-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
993
994         * PathTest.cs: some fixes to make it work also on unix.
995
996 2002-08-30  Nick Drochak <ndrochak@gol.com>
997
998         * PathTest.cs (TestGetPathRoot):  Don't assume current directory will
999         be on the C: drive (mine wasn't).
1000
1001 2002-08-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1002
1003         * PathTest.cs: improved.
1004
1005 2002-08-26  Nick Drochak  <ndrochak@gol.com>
1006
1007         * BinaryReaderTest.cs: Closing the stream twice doesn not throw any
1008         exceptions on .NET.
1009
1010 2002-08-17  Eduardo Garcia Cebollero <kiwnix@yahoo.es>
1011
1012         * AllTests.cs: added BinaryReaderTest.Suite.
1013         * BinaryReaderTest.cs: New file.
1014
1015 2002-06-12  Nick Drochak  <ndrochak@gol.com>
1016
1017         * StringReaderTest.cs: Regression test for a bug that we had were
1018         ReadLine() was not returning null when the string ended with newline.
1019
1020 2002-05-15  Nick Drochak  <ndrochak@gol.com>
1021
1022         * StreamReaderTest.cs: 
1023         * StreamWriterTest.cs: 
1024         Make sure invalid file name has invalid characters in it.  These are 
1025         platform dependant.
1026
1027 2002-05-14  Nick Drochak  <ndrochak@gol.com>
1028
1029         * FileTest.cs: Delete temporary files after each test method; Catch
1030         unexpected exceptions and report them; Make some Assert messages
1031         unique; Make sure temp files exist before trying Move and Delete, etc.
1032
1033 2002-05-13  Mike Gray <mike@mikegray.org>
1034
1035         * FileTest.cs: Adding better tests for File.Delete, File.Move
1036
1037 2002-05-12  Mike Gray <mike@mikegray.org>
1038
1039         * FileTest.cs: Adding better tests for File.Exists, File.Create,
1040         and File.Copy
1041
1042 2002-05-12  Nick Drochak  <ndrochak@gol.com>
1043
1044         * StringTest.cs: Add a couple more tests.
1045         * PathTest.cs: Make tests work a bit better on W32 and Linux.
1046
1047 2002/05/10  Nick Drochak <ndrochak@gol.com>
1048
1049         * StreamWriterTest.cs: Use "resources" directory and use OS friendly
1050         directory separator characters.  This makes the tests run correctly
1051         against MS.NET, but not yet in mono on Linux.
1052
1053 2002/05/08  Nick Drochak <ndrochak@gol.com>
1054
1055         * FileTest.cs: Use "resources" directory and use OS friendly
1056         directory separator characters.  This makes the tests run correctly
1057         against MS.NET, but not yet in mono on Linux.
1058
1059 2002-05-08  Nick Drochak  <ndrochak@gol.com>
1060
1061         * StreamWriter.cs: Wrap a try-catch around block of code to find out
1062         what exception is being thrown when it shouldn't.
1063
1064 2002-05-07  Nick Drochak  <ndrochak@gol.com>
1065
1066         * FileTest.cs: Added TestOpen() from Mike Gray.
1067         * AllTests.cs: Added missing FileTest.Suite as pointed out by Mike 
1068         as well.
1069
1070 2002-05-05  Nick Drochak  <ndrochak@gol.com>
1071
1072         * StreamReaderTest.cs: Change location of sample file. In some places,
1073         use memory stream instead of file stream to eliminate reliance on file 
1074         io for now.  That area is still a bit immature. Added a bunch of 
1075         markers to tell where errors were occuring.
1076
1077         * resources: New directory to hold files open/read, etc. by unit
1078         tests.
1079
1080 2002-05-01  Nick Drochak  <ndrochak@gol.com>
1081
1082         * StreamReaderTest.cs:
1083         * StreamWriterTest.cs: Catch and display exception info where it wasn't
1084         being caught before.
1085
1086 2002-03-02  Jason Diamond  <jason@injektilo.org>
1087
1088         * StringReader.cs: Added test for peeking and reading at the end of
1089         a string.
1090
1091 2002-02-28  Nick Drochak  <ndrochak@gol.com>
1092
1093         * MemoryStreamTest.cs 
1094         * StreamWriterTest.cs 
1095         * StringReaderTest.cs: Fix test bugs found by running against mscorlib.
1096         AssertEquals() requires the expected and atual values to be the same
1097         type if they are to be considered equal.
1098
1099 2002-02-05  Duncan Mak  <duncan@ximian.com>
1100
1101         * FileTest.cs: Added to CVS. However, this portion of the code
1102         can't be tested right now.
1103
1104 2002-01-20 Nick Drochak  <ndrochak@gol.com>
1105
1106         * AllTests.cs: removed duplicate MemoryStream test
1107         * MemoryStreamTest.cs: wrapped try-catch blocks around read/write/seek
1108         tests. These were throwing exceptions that NUnit wasn't catching.  I 
1109         don't think it used to behave this way before .NET.1.0.
1110 2003-05-04  Ben Maurer <bmaurer@users.sourceforge.net>
1111         * Path.cs 
1112         (CanonicalizePath) Added optimizations per Miguel's requests.