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