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