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