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