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