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