1 2009-05-06 Raja R Harinath <harinath@hurrynot.org>
3 * FileInfoTest.cs: Wrap Replace() tests in #if NET_2_0.
5 2009-04-27 Sebastien Pouliot <sebastien@ximian.com>
7 * StreamReaderTest.cs: Fix build for NET_1_1
9 2009-04-24 Gonzalo Paniagua Javier <gonzalo@novell.com>
11 * StreamReaderTest.cs: new test. Using Peek() when we did a short read
12 should block if needed.
14 2009-02-24 Gonzalo Paniagua Javier <gonzalo@novell.com>
16 * StringReaderTest.cs: new test for ReadLine.
18 2008-12-10 Atsushi Enomoto <atsushi@ximian.com>
20 * BinaryReaderTest.cs : fix tests that are also failing under .NET
23 2008-11-09 William Holmes <billholmes54@gmail.com>
25 * TextReaderTest.cs: Added a test for the Null field of
28 Code is contributed under MIT/X11 license.
30 2008-10-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
32 * PathTest.cs: add test for bug #439751.
34 2008-10-12 Zoltan Varga <vargaz@gmail.com>
36 * BinaryReaderTest.cs: Add a test for #434581.
38 2008-08-16 Gert Driesen <drieseng@users.sourceforge.net>
40 * StreamWriterTest.cs: Removed Constructor2_Path_Whitespace test, as
41 it only applies to Windows (and is duplicate for illegal chars test).
42 Only check paramname for buffersize exception on 2.0 profile.
44 2008-08-15 Gert Driesen <drieseng@users.sourceforge.net>
46 * StreamWriterTest.cs: Added more .ctor tests. Enabled AutoFlush
49 2008-08-15 Gert Driesen <drieseng@users.sourceforge.net>
51 * StreamWriterTest.cs: Moved ctor argument checks to separate methods.
52 Added and improved ctor tests. Added test for Close. Improved
53 (Auto)Flush tests. Use Assert class instead of Assertion.
55 2008-06-21 Gert Driesen <drieseng@users.sourceforge.net>
57 * PathCas.cs: Updated method names to reflect changes in PathTest.
58 * PathTest.cs: Renamed tests. Use String.Empty instead of "". Added
59 argument check tests, and moved tests to separate methods. Avoid using
62 2008-05-29 Robert Jordan <robertj@gmx.net>
64 * PathTest.cs (TestGetFullPathUnix, TestGetFullPathWindows):
65 Factored out from the disabled TestGetFullPath test while fixing
66 the issues mentioned by the ERROR comment and bug #394681.
68 2008-05-08 Dick Porter <dick@ximian.com>
70 * DirectoryInfoTest.cs: Added a test for bug 385765.
72 2008-04-30 Gert Driesen <drieseng@users.sourceforge.net>
74 * DirectoryTest.cs: Do not use ExpectedException to avoid false
75 positives. Use String.Empty instead of "".
77 2008-04-22 Dick Porter <dick@ximian.com>
79 * FileTest.cs: Disable the test for bug 323389, as I've reverted
82 2008-04-17 Dick Porter <dick@ximian.com>
84 * FileTest.cs: Test for bug 323389.
86 2008-04-17 Dick Porter <dick@ximian.com>
88 * FileTest.cs: Test for bug 378229.
90 2008-04-17 Gert Driesen <drieseng@users.sourceforge.net>
92 * File.cs: Added/improved tests for Create and Move.
93 * DirectoryInfoTest.cs: No longer derive from deprecated Assertion
94 class. Improved tests for ctor, Create, Name, Parent, ...
95 * FileInfoTest.cs: No longer derive from deprecated Assertion class.
97 * PathTest.cs: Added tests for IsPathRooted and GetFullPath.
98 * FileSystemInfoTest.cs: Fixed test. Now passes on both Mono and MS.
100 2008-04-16 Gert Driesen <drieseng@users.sourceforge.net>
102 * FileTest.cs: Renamed and improved existing tests. Avoid use of
104 * FileSystemInfoTest.cs: No longer derive from deprecated Assertion
105 class. Added (de)serialization tests.
107 2008-04-04 Dick Porter <dick@ximian.com>
109 * FileTest.cs: Test moving a file when the access mode disallows
110 it. Test from Eric Albright <albright@wesay.org>, see bug 377049.
112 2008-04-03 Dick Porter <dick@ximian.com>
114 * DirectoryTest.cs: Enable tests now that bug 346123 is fixed.
116 2008-03-28 Sebastien Pouliot <sebastien@ximian.com>
118 * DirectoryTest.cs: Add test case when deleting a directory that does
119 not exists but where a file of the same name exists.
121 2008-01-06 Zoltan Varga <vargaz@gmail.com>
123 * FileTest.cs: Rename a helper method so it does not begin with Test.
125 2007-12-28 Zoltan Varga <vargaz@gmail.com>
127 * MemoryStreamTest.cs: Add new test.
129 2007-12-05 Gert Driesen <drieseng@users.sourceforge.net>
131 * DirectoryTest.cs: Added (NotWorking) tests for bug #346123.
133 2007-11-17 Jb Evain <jbevain@novell.com>
135 * PathTest.cs: Add test for #341034, GetRandomFileName should
136 return only file names in [a..z0..9].
138 2007-11-05 Sebastien Pouliot <sebastien@ximian.com>
140 * MemoryStreamTest.cs: Add test case for #322672 (which seems already
143 2007-11-02 Atsushi Enomoto <atsushi@ximian.com>
145 * PathTest.cs: Fixed wrong assumption on GetDirectoryName("/")
146 result on Unix (on top level it returns null).
148 2007-11-02 Robert Jordan <robertj@gmx.net>
150 * PathTest.cs (TestGetDirectoryName): Fix syntax errors.
152 2007-09-27 Gert Driesen <drieseng@users.sourceforge.net>
154 * DirectoryTest.cs: Added RunningOnUnix property to use for enabling
155 or disabling tests on a specific platform. Enabled and improved test
158 2007-09-21 Gert Driesen <drieseng@users.sourceforge.net>
160 * MemoryStreamTest.cs: Added test for bug #327053.
162 2007-09-08 Gert Driesen <drieseng@users.sourceforge.net>
164 * DirectoryTest.cs: Added test for bug #82440.
166 2007-08-21 Gert Driesen <drieseng@users.sourceforge.net>
168 * FileTest.cs: Added test for File.GetAttributes (and indirectly also
169 for SetAttributes). Removed use of deprecated Assertion class.
171 2007-08-20 William Holmes <billholmes54@gmail.com>
173 *FileTest.cs: Added a test for IO.File.Replace.
175 Code is contributed under MIT/X11 license.
177 2007-08-01 Dick Porter <dick@ximian.com>
179 * DirectoryTest.cs: Test for bug 82212 is now working.
181 2007-07-28 Gert Driesen <drieseng@users.sourceforge.net>
183 * DirectoryTest.cs: Added test for bug #82212.
185 2007-07-08 Gert Driesen <drieseng@users.sourceforge.net>
187 * DirectoryCas.cs: Changed Move to MoveDirectory to match the
188 method in DirectoryTest. Fixed line endings.
189 * DirectoryTest.cs: Added test for bug #81912. Added tests for Move
192 2007-06-24 Gert Driesen <drieseng@users.sourceforge.net>
194 * DirectoryTest.cs: Restore original CurrentCulture on teardown.
195 * FileSystemInfoTest.cs: Restore original CurrentCulture on teardown.
196 Removed stray tabs. Code formatting.
197 * FileTest.cs: Restore original CurrentCulture on teardown. Removed
198 stray tabs. Changes spaces to tabs.
200 2007-06-22 Gert Driesen <drieseng@users.sourceforge.net>
202 * FileStreamTest.cs: Added test for bug #79250.
204 2007-05-25 Gert Driesen <drieseng@users.sourceforge.net>
206 * UnmanagedMemoryStreamTest.cs: Added tests for CanRead, CanSeek,
207 CanWrite, Seek, Write. Improved existing tests for SetLength,
208 Position. Enabled tests that were previously failing.
210 2007-05-24 Gert Driesen <drieseng@users.sourceforge.net>
212 * UnmanagedMemoryStreamTest.cs: Fixed several tests and added several
213 more. Tests were previously ignored by NUnit because the SetUp method
216 2007-02-19 Eyal Alaluf <eyala@mainsoft.com>
218 * FileStreamTest.cs: Mark tests that use TARGET_JVM not supported features.
220 2007-02-19 Boris Kirzner <borisk@mainsoft.com>
222 * DirectoryTest.cs, PathTest.cs: added test for
223 order of InvalidPathChars on windows.
225 2007-01-31 Gert Driesen <drieseng@users.sourceforge.net>
227 * FileStreamTest.cs: Added and improved tests to verify whether the
228 reported exceptions match that of MS.>
230 2007-01-31 Gert Driesen <drieseng@users.sourceforge.net>
232 * StreamReaderTest.cs: Use Assert class instead of deprecation
233 Assertion. Clean-up some tests.
235 2007-01-30 Boris Kirzner <borisk@mainsoft.com>
236 * FileNotFoundExceptionTest.cs: fix tests for TARGET_JVM.
238 2007-01-29 Boris Kirzner <borisk@mainsoft.com>
239 * BinaryReaderTest.cs, BinaryWriterTest.cs, PathTest.cs: test fixes
242 2007-01-25 Gert Driesen <drieseng@users.sourceforge.net>
244 * StreamReaderTest.cs: Added test for bug #75526.
246 2007-01-11 Gert Driesen <drieseng@users.sourceforge.net>
248 * DirectoryTest.cs: Fixed compiler warning by improving test.
250 2006-01-25 Bors Kirzner <borisk@mainsoft.com>
252 * DirectoryInfoTest.cs, DirectoryTest.cs, FileInfoTest.cs, FileSystemInfoTest.cs
253 FileTest.cs: add ifdefs for TARGET_JVM.
255 2006-12-21 Gert Driesen <drieseng@users.sourceforge.net>
257 * MemoryStreamTest.cs: Added (de)serialization tests for bug #80205.
259 2006-11-28 Gert Driesen <drieseng@users.sourceforge.net>
261 * DirectoryTest.cs: Use Assert.Ignore instead of silently ignoring
264 2006-11-07 Gert Driesen <drieseng@users.sourceforge.net>
266 * DirectoryTest.cs: Use Assert class intead of deriving from
267 deprecated Assertion class. Only ignore CreationTime test on unix.
270 2006-11-07 Dick Porter <dick@ximian.com>
272 * DirectoryTest.cs: CreateDirectoryAlreadyExistsAsFile() should
273 expect an IOException in the 2.0 profile
275 2006-10-30 Joel Reed <joel.reed@ddiworld.com>
277 * DirectoryInfoTest.cs: Updated tests to support the DirectoryInfo
278 SearchOption.AllDirectories
280 2006-09-24 Raja R Harinath <harinath@gmail.com>
282 * FileInfoTest.cs (IsReadOnly): Fix compilation. Mark as NotWorking.
284 2006-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
286 * FileInfoTest.cs: improved IsReadOnly test case. Patch by Joel Reed.
288 2006-09-21 Gert Driesen <drieseng@users.sourceforge.net>
290 * FileNotFoundExceptionTest.cs: Added ctor tests.
292 2006-07-06 Dick Porter <dick@ximian.com>
294 * DirectoryTest.cs: Test creating a directory when a file or
295 directory already exists with the requested name.
297 2006-05-14 Zoltan Varga <vargaz@gmail.com>
299 * DirectoryTest.cs: Ignore one of the tests which causes nunit to abort on
300 IA64 due to an exception handling bug.
302 2006-05-08 Atsushi Enomoto <atsushi@ximian.com>
304 * DirectoryTest.cs : don't expect "chmod" on Windows.
306 2006-05-01 Daniel Drake <dsd@gentoo.org>
308 * DirectoryTest.cs: add test for bug #78239, based on suggestion from
311 2006-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
313 * DirectoryTest.cs: added test for bug 78209.
315 2006-04-28 Robert Jordan <robertj@gmx.net>
317 * PathTest.cs: Added tests for bug #78147.
319 2006-03-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
321 * FileStreamTest.cs: new test from bug #77863.
323 2006-02-27 Gert Driesen <drieseng@users.sourceforge.net>
325 * FileTest.cs: In 2.0 profile, no longer expect IOException when path to
326 non-existing directory or file is specified in Get***Time(Utc) methods
327 (bug #77641). Renamed tests and removed trailing tabs. Removed
328 duplicate test. Fixed GetLastWriteTime(Utc) tests that used
329 GetLastAccessTime(Utc) instead of GetLastWriteTime(Utc).
330 * DirectoryTest.cs: No longer expect IOException when path to
331 non-existing directory or file is specified in Get***Time(Utc) methods
334 2006-02-26 Gert Driesen <drieseng@users.sourceforge.net>
336 * FileStreamTest.cs: Fixed tests for invalid share value to pass on
337 MS.NET 2.0, and all Mono profiles. Added test that verifies the
338 correct behavior of all possible FileMode and FileAccess combinations.
339 Fixed compiler warning.
341 2006-02-25 Gert Driesen <drieseng@users.sourceforge.net>
343 * FileStreamTest.cs: Spaces to tabs, (re)numbered tests.
345 2006-01-18 Atsushi Enomoto <atsushi@ximian.com>
347 * DirectoryInfoTest.cs : don't expect "/" as a top directory on
350 2006-01-13 Ben Maurer <bmaurer@andrew.cmu.edu>
352 * TextWriterTest.cs: Make sure TextWriter calls the char[],int,int
353 overload when calling the char[].
355 2006-01-12 Ben Maurer <bmaurer@andrew.cmu.edu>
357 * FileTest.cs: Tests tests for read/writealltext.
359 2006-01-02 Sebastien Pouliot <sebastien@ximian.com>
361 * StreamReaderTest.cs: Added test case when reading a new line (see
362 bug #77108 for details).
363 * StringReaderTest.cs: Added test case when reading a new line (see
364 bug #77108 for details).
366 2005-12-23 Sebastien Pouliot <sebastien@ximian.com>
368 * DirectoryInfoTest.cs: Added test case for #77090 where we skipped
369 / as a parent between /home and null.
371 2005-12-21 Sebastien Pouliot <sebastien@ximian.com>
373 * PathTest.cs: Added new test case for #77058 where a Windows drive
374 wasn't considered during path canonalization.
376 2005-12-20 Sebastien Pouliot <sebastien@ximian.com>
378 * PathTest.cs: Added new test case for #77007 where a Windows drive is
379 specified with a partial path.
381 2005-12-15 Sebastien Pouliot <sebastien@ximian.com>
383 * DirectoryInfoTest.cs: Added test cases for #76191 and #76903.
384 * PathTest.cs: Added test cases for #76191, the possible modification
385 of InvalidPathChars and the new 2.0 methods.
387 2005-12-14 Sebastien Pouliot <sebastien@ximian.com>
389 * FileLoadExceptionCas.cs: MS fixed this in 2.0 final (#71861).
390 * FileNotFoundExceptionCas.cs: MS fixed this in 2.0 final (#71861).
392 2005-10-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
394 * StreamReaderTest.cs: more tests for ReadLine().
396 2005-10-01 Ben Maurer <bmaurer@ximian.com>
398 * BinaryReaderTest.cs: new test for long, non-ascii strings
400 2005-09-08 Sebastien Pouliot <sebastien@ximian.com>
402 * MemoryStreamTest.cs: Add more tests for publicly visible (or not)
403 contents. Started converting tests to NUnit 2.2 API.
405 2005-07-04 Sebastien Pouliot <sebastien@ximian.com>
407 * DirectoryInfoTest.cs: Added tests for getting parent of root
408 directories (using directory separators).
410 2005-07-02 Sebastien Pouliot <sebastien@ximian.com>
412 * DirectoryInfoTest.cs: Added tests for FullName (bug #75443).
414 2005-06-16 Gert Driesen <drieseng@users.sourceforge.net>
416 * DirectoryInfoTest.cs: Added tests for bug #75285.
418 2005-06-10 Ben Maurer <bmaurer@ximian.com>
420 * FileTest.cs: Fix gonz's typo. Also, clean stuff up by using the
421 temp file api, rather than our own hack.
423 2005-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
425 * FileTest.cs: yet more invalid array accesses removed.
427 2005-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
429 * FileTest.cs: on unix there are no invalid chars and we were trying
430 to index beyond the end of the array.
432 2005-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
434 * FileTest.cs: removed duplicate test. The same thing is done in
437 2005-05-18 Sebastien Pouliot <sebastien@ximian.com>
439 * StreamCas.cs: New. CAS unit tests to test stack propagation for
440 BeginRead and BeginWrite.
441 * FileStreamCas.cs: Added tests to test stack propagation for
442 BeginRead and BeginWrite.
444 2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
446 * DirectoryCas.cs: Fixed IsRunningOnWindows (inversed logic). That
447 didn't change the tests as the SecurityException occurs before the
448 parameters are checked (when all goes well ;-). Fixed for NET_2_0 too.
449 * DirectoryInfoTest.cs: Fixed PlatformID.Unix for NET_2_0.
451 2005-05-06 Ben Maurer <bmaurer@ximian.com>
453 * FileTest.cs (OpenAppend): Test for #71088.
455 2005-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
457 * DirectoryInfoTest.cs: added test for bug #53173.
459 2005-04-09 Miguel de Icaza <miguel@novell.com>
461 * StreamWriterTest.cs: New test for bug #74513.
463 2005-03-24 Sebastien Pouliot <sebastien@ximian.com>
465 * DirectoryCas.cs: Added partial trust unit tests.
466 * DirectoryTest.cs: Added missing [Test] attribute to
467 SetCreationTimeException1.
468 * FileStreamCas.cs: New. CAS unit tests for FileStream.
469 * PathCas.cs: New. CAS unit tests for Path.
470 * PathTest.cs: Splitted TestGetPathRoot test in two so the second part
471 could be re-used in partial trust tests.
473 2005-03-15 Sebastien Pouliot <sebastien@ximian.com>
475 * FileStreamTest.cs: Added tests for all FileMode when a directory
476 doesn't exists. Added a test for UnauthorizedAccessException when a
477 directory is opened as a file.
479 2005-01-28 Sebastien Pouliot <sebastien@ximian.com>
481 * FileLoadExceptionCas.cs: Fixed failures under MS for NET_1_1.
482 * FileNotFoundExceptionCas.cs: Fixed failures under MS for NET_1_1.
484 2005-03-02 Raja R Harinath <rharinath@novell.com>
486 * FileStreamTest.cs (Constructor_InvalidFileHandle): Fix to work
489 2005-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
491 * FileTest.cs: test for invalid characters in file names.
493 2005-01-28 Sebastien Pouliot <sebastien@ximian.com>
495 * DirectoryCas.cs: New. Very limited permission tests for Directory.
496 Actually it's only there to support tests for System.Environment.
497 * FileLoadExceptionCas.cs: New. Permission tests for FileLoadException
498 * FileNotFoundExceptionCas.cs: New. Permission tests for
499 FileNotFoundException.
501 2005-01-19 Nick Drochak <ndrochak@gol.com>
503 * FileStreamTest.cs: Fix test regression on .NET. Need to close
504 stream so other tests don't fail.
506 2004-12-06 Atsushi Enomoto <atsushi@ximian.com>
508 * TextWriterTest.cs : added.
510 2004-12-04 Ben Maurer <bmaurer@ximian.com>
512 * DirectoryInfoTest.cs: Check for CreateSubdirectory with empty string.
514 2004-08-31 Nick Drochak <ndrochak@gol.com>
516 * StringWriterTest.cs: Eliminate ambiguity so csc can compile.
518 2004-06-21 Atsushi Enomoto <atsushi@ximian.com>
520 * FileStreamTest.cs : Added some tests on .ctor() without FileShare.
522 2004-06-21 Atsushi Enomoto <atsushi@ximian.com>
524 FileInfoTest.cs : more '/' and Path.DirectorySeparatorChar fixes
526 2004-06-21 Atsushi Enomoto <atsushi@ximian.com>
528 * DirectoryInfoTest.cs,
531 FileSystemInfoTest.cs:
532 Replace all '/' in path with Path.DirectorySeparatorChar.
534 2004-06-08 Duncan Mak <duncan@ximian.com>
536 * DirectoryTest.cs (GetParentOfRootDirectory): Add test for
537 GetParent from the root directory.
539 2004-06-07 Duncan Mak <duncan@ximian.com>
541 * FileStreamTest.cs (SetLengthWithClosedBaseStream): New test for
542 checking that the correct exception is thrown when the base stream
545 2004-06-03 Sebastien Pouliot <sebastien@ximian.com>
547 * BufferedStreamTest.cs: Modified two tests (using newer helper
548 classes) to be more specific and avoid regressions of bugs like
550 * StreamHelperTest.cs: New. Helper classes that provides read-only,
551 write-only or non-seekable stream.
553 2004-05-31 Sebastien Pouliot <sebastien@ximian.com>
555 * FileTest.cs: Added tests to confirm that Exists never throws
556 exceptions even for invalid filenames or for unexisting directories.
557 * PathTest.cs: Added windows-specific tests that shows that
558 ChangeExtension validate the input patch but doesn't validate the
561 2004-05-30 Sebastien Pouliot <sebastien@ximian.com>
563 * BufferedStreamTest.cs: Added tests for Position after SetLength,
564 SetLength after Close and Seek logic exception handling.
565 * FileStream.cs: Added test for invalid SeekOrigin in Seek. Lots of
566 new tests for exception handling (negatives, disposed) and test
567 reading a byte ast the end of the stream.
568 * MemoryStream.cs: Added test for Seek after Close.
570 2004-05-29 Sebastien Pouliot <sebastien@ximian.com>
572 * BinaryReader.cs: Added new cases to check exceptions thrown by Read
575 2004-05-26 Atsushi Enomoto <atsushi@ximian.com>
577 * FileInfoTest.cs : more incorrect \ fix.
579 2004-05-26 Sebastien Pouliot <sebastien@ximian.com>
581 * BufferedStreamTest.cs: Added new unit tests for exceptions.
582 * FileStreamTest.cs: Added new tests for integer overflow checks.
583 * StringReaderTest.cs: Added new tests for integer overflow checks.
585 2003-05-26 Atsushi Enomoto <atsushi@ximian.com>
587 * FileInfoTest.cs : incorrect \ fix. added more cases.
589 2003-05-26 Atsushi Enomoto <atsushi@ximian.com>
591 * FileInfoTest.cs : added tests for ToString().
593 2004-05-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
595 * DirectoryTest.cs: added test from bug 58875.
597 2004-05-24 Sebastien Pouliot <sebastien@ximian.com>
599 * MemoryStreamTest.cs: Test that we zeroize old data when we manipulate
600 the length of the stream. Verify that we throw the same exceptions as
602 * StreamReaderTest.cs: New tests for integer overflow and null handling
603 * StreamWriterTest.cs: New tests for integer overflow, disposed
604 exceptions and null handling.
605 * StringWriterTest.cs: New tests for integer overflow and disposed
608 2004-05-20 Sebastien Pouliot <sebastien@ximian.com>
610 * MemoryStream.cs: SetUp is now public (required for new nunit).
612 2004-05-20 Jackson Harper <jackson@ximian.com>
614 * DirectoryInfoTest.cs: Add test for CreateSubdirectory.
616 2004-04-12 David Sheldon <dave-mono@earth.li>
618 * BinaryReaderTest.cs: Changed series of bytes in
619 ReadDecimal to be a cleaner representation of a real
620 decimal, as was not a technically correct decimal.
622 2004-04-01 Lluis Sanchez Gual <lluis@ximian.com>
624 * BufferedStreamTest.cs: Added test for Position.
626 2003-04-03 Atsushi Enomoto <atsushi@ximian.com>
628 * PathTest.cs : Added more patterns on TestChangeExtension().
630 2004-02-16 Jackson Harper <jackson@ximian.com>
632 * FileTest.cs: We do not need to convert to local time because we
633 are getting creation time, not utc time.
635 2004-01-31 David Sheldon <dave-mono@earth.li>
637 * FileSystemInfoTest.cs: Added code to skip CreationTime tests
638 on Unix, as it doesn't support them.
640 2004-01-31 David Sheldon <dave-mono@earth.li>
642 * FileSystemInfoTest.cs: Change tests for default times to
643 be TimeZone agnostic by conversion to universal time before
646 2004-01-22 David Sheldon <dave-mono@earth.li>
648 * FileStreamTest.cs: CtorArgumentOutOfRangeException4, we were
649 testing for this ecveption, but the other parameters were also
650 invalid. Made them correct. We don't care that MS throw
651 exceptions in a different order do we?
653 2004-01-22 David Sheldon <dave-mono@earth.li>
655 * DirectoryTest.cs: Added Ignore to the CreationTime tests,
656 as Unix filesystems don't support them. Should we only ignore
659 2004-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
661 * PathTest.cs: added some unix-only tests for GetFullPath.
663 2004-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
665 * PathTest.cs: a couple of tests for bugs.
667 2003-01-06 Atsushi Enomoto <atsushi@ximian.com>
669 * DirectoryTest.cs : remoed incorrect args.
671 2003-12-25 Atsushi Enomoto <atsushi@ximian.com>
673 * PathTest.cs : On Unix, "Z:" can be valid local file.
674 And cosmetic character case fix.
676 2003-12-19 Nick Drochak <ndrochak@gol.com>
678 * PathTest.cs: Make tests pass on .NET 1.1. Probably still
679 need to handle different directory and volume separators for
682 2003-12-17 Atsushi Enomoto <atsushi@ximian.com>
685 Added more GetPathRoot and GetFullPath tests for windows.
686 Fixed incorrectly specified arguments in the previous patch.
688 2003-12-17 Atsushi Enomoto <atsushi@ximian.com>
690 * PathTest.cs : Added more tests for IsPathRooted, HasExtension
693 2003-12-17 Atsushi Enomoto <atsushi@ximian.com>
695 * DirectoryTests.cs : Added some SetCurrentDirectory tests.
697 2003-12-17 Nick Drochak <ndrochak@gol.com>
699 * FileStreamTest.cs: Ok, it wasn't a 1.1 thing. The test simply would
700 fail randomly because location 12 was sometimes a file handle.
702 2003-12-16 Nick Drochak <ndrochak@gol.com>
704 * FileStreamTest.cs: Exception not thrown in .NET 1.1.
705 And Happy Birthday to Me!
707 2003-11-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
709 * StringReaderTest.cs: added test from bug #51020.
711 2003-10-21 Nick Drochak <ndrochak@gol.com>
713 * BufferedSTreamTest.cs: Make TearDown smarter about possible
716 2003-07-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
718 * MemoryStreamTest.cs: added a couple of tests for WriteByte.
720 2003-06-30 Zoltan Varga <vargaz@freemail.hu>
722 * FileStreamTest.cs: New tests for flushing when disposed and zero
725 2003-06-18 Nick Drochak <ndrochak@gol.com>
727 * FileSystemInfoTest.cs: Simplify a bit.
729 2003-06-18 Nick Drochak <ndrochak@gol.com>
731 * FileSystemInfoTest.cs: Works on .NET 1.1 now. If these values are
732 different on 1.0 then we need to wrap with a #if NET_1_1.
734 2003-06-12 Zoltan Varga <vargaz@freemail.hu>
736 * FileStreamTest.cs: New tests for recently fixed bugs.
738 2003-06-08 Ville Palo <vi64pa@kolumbus.fi>
740 * BinaryWriterTest.cs:
741 * BinaryReaderTest.cs:
743 * FileTest.cs: now works with ms.net, clean ups, nunit2, ...
745 2003-05-29 Nick Drochak <ndrochak@gol.com>
747 * ms_run_test.sh: added .NET verion of helper script
748 * BinaryReaderTest.cs: fix my oversight
749 * BinaryWriterTest.cs: cleanups
750 * BufferedStreamTest.cs: cleanups
751 * DirectoryInfoTest.cs: cleanups
752 * DirectoryTest.cs: cleanups
753 * FileStreamTest.cs: cleanups
755 2003-05-29 Nick Drochak <ndrochak@gol.com>
757 * BinaryReaderTest.cs:
758 * BinaryWriterTest.cs:
759 * DirectoryInfoTest.cs:
763 * FileSystemInfoTest.cs: Stop throwing exceptions on windows, and sub-
764 class from Assertion for brevity.
766 2003-05-22 Ben Maurer <bmaurer@users.sourceforge.net>
767 StringWriterTest.cs: Added tests from bug #43431 (by Ian MacLean).
769 2003-05-22 Nick Drochak <ndrochak@gol.com>
771 * StreamReaderTest.cs:
772 * StreamWriterTest.cs: Forgot nunit v2 TestFixture attribute
774 2003-05-22 Zoltan Varga <vargaz@freemail.hu>
776 * FileTest.cs: Added tests for moving directories.
778 2003-05-20 Nick Drochak <ndrochak@gol.com>
781 * StreamReaderTest.cs:
782 * StreamWriterTest.cs: Workaround for process holding on to directory
783 that prevented cleanup and deletion.
785 2003-05-19 Ville Palo <vi64pa@kolumbus.fi>
787 * DirectoryTest.cs: Added tests for GetDirectories() and
790 2003-05-18 Ben Maurer <bmaurer@users.sourceforge.net>
791 * *.cs Cleaned up tests to work around bug that prevented
792 System.IO from seeing directories starting with '.'
794 2003-05-15 Ville Palo <vi64pa@kolumbus.fi>
796 * FileStreamTest.cs: more cleaning
798 2003-05-15 Ville Palo <vi64pa@kolumbus.fi>
800 * StreamReaderTest.cs:
801 * StreamWriterTest.cs: now use temp-dir
803 2003-05-15 Ville Palo <vi64pa@kolumbus.fi>
805 * BinaryReaderTest.cs:
806 * BinaryWriterTest.cs:
807 * BufferedStreamTest.cs:
808 * DirectoryInfoTest.cs:
811 * FileSystemInfoTest.cs: clean up, now use temp-dir
813 2003-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
815 * PathTest.cs: added test for GetFullPath (".") and ".."
817 2003-05-13 Ville Palo <vi64pa@kolumbus.fi>
820 * FileTest.cs: Clean up. Now use temp directory. also some nunit2
823 2003-05-98 Ville Palo <vi64pa@kolumbus.fi>
825 * FileSystemInfoTest.cs; new file
827 2003-05-07 Ben Maurer <bmaurer@users.sourceforge.net>
829 Even more GetFullPath () tests. Includes UNC tests.
831 2003-05-06 Ville Palo <vi64pa@kolumbus.fi>
833 * DirectoryInfoTest.cs: Removed OS-specific test
835 2003-05-06 Ville Palo <vi64pa@kolumbus.fi>
837 * DirectoryTest: Fixed Utc errors
838 * FileTest: Fixes Utc errors. Now these tests works in other
841 2003-05-04 Ben Maurer <bmaurer@users.sourceforge.net>
843 Added new tests for GetFullPath () that include a path with
846 2003-05-05 Ville Palo <vi64pa@kolumbus.fi>
848 * DirectoryInfoTest.cs: new file.
850 2003-05-04 Ville Palo <vi64pa@kolumbus.fi>
852 * FileInfoTest.cs: new file.
853 * FileStreamTest.cs: new tests for Seek ()
855 2003-04-29 Ville Palo <vi64pa@kolumbus.fi>
857 * FileStreamTest.cs: Tests for Flush() adn one one more test for
860 2003-04-25 Ville Palo <vi64pa@kolumbus.fi>
862 * FileTest.cs: more tests..
864 2003-04-24 Ville Palo <vi64pa@kolumbus.fi>
866 * FileTest.cs: Fixed tests and added some.
868 2003-04-22 Ville Palo <vi64pa@kolumbus.fi>
870 * FileTest.cs: More tests.
872 2003-04-21 Ville Palo <vi64pa@kolumbus.fi>
874 * DirectoryTest.cs: lots of new tests. and some fixes and clean ups
876 2003-04-20 Miguel de Icaza <miguel@ximian.com>
878 * StringReaderTest.cs: Update test to include read-past-the-end
880 2003-04-20 Ville Palo <vi64pa@kolumbus.fi>
882 * DirectoryTest.cs: new file
884 2003-04-16 Ville Palo <vi64pa@kolumbus.fi>
886 * BufferedStreamTest.cs: new file
888 2003-04-14 Ville Palo <vi64pa@kolumbus.fi>
890 * BinaryWriterTest.cs: Added new file.
892 2003-04-13 Ville Palo <vi64pa@kolumbus.fi>
894 * BinaryReaderTest.cs: Added lots of tests. Somehow I missed that
895 there are already testcases for BinaryStreamReader :/
897 2003-04-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
899 * FileStreamTest.cs: added more tests by Gert Driesen
900 (gert.driesen@ardatis.com).
902 2003-04-12 Ville Palo <vi64pa@kolumbus.fi>
904 * FileStreamTest.cs More tests.
906 2003-04-11 Ville Palo <vi64pa@kolumbus.fi>
908 * FileStreamTest.cs: File Added and some tests in it.
910 2003-04-11 Ville Palo <vi64pa@kolumbus.fi>
912 * StringReaderTest.cs: Tests for close and some exceptions
914 2003-04-11 Ville Palo <vi64pa@kolumbus.fi>
916 * StringWriterTest.cs: Added some Exception tests.
918 2003-04-10 Ville Palo <vi64pa@kolumbus.fi>
920 * StringWriterTest.cs: Added couple of tests.
922 2003-04-05 Nick Drochak <ndrochak@gol.com>
924 * PathTest.cs: Use nunit2 convention for exception test.
926 2003-03-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
928 * StreamReaderTest.cs: added test for exception when the nase stream is
929 closed. Make the reader.CurrentEncoding test work.
931 2003-03-05 Dick Porter <dick@ximian.com>
933 * MemoryStreamTest.cs: Some more tests
935 2003-03-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
937 * MemoryStreamTest.cs: some nunit2 love. Added a bunch of new tests.
939 2003-02-05 Nick Drochak <ndrochak@gol.com>
941 * FileTest.cs: Have setup remove files before testing as well in case
942 tests were interrupted before TearDown could be called in a previous
943 run. Also test for specific exception in TestGetCreationTime ().
945 2003-01-28 Zoltan Varga <vargaz@freemail.hu>
947 * FileTest.cs: Added tests for GetCreationTime.
949 2002-12-21 Nick Drochak <ndrochak@gol.com>
951 * all: make tests build and run under nunit2
953 2002-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
955 * PathTest.cs: added test for null argument in IsPathRooted.
957 2002-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
959 * BinaryReaderTest.cs: added more tests.
961 Patch from Eduardo GarcĂa Cebollero (kiwnix@yahoo.es).
963 2002-09-19 Nick Drochak <ndrochak@gol.com>
965 * StreamReaderTest.cs: Pinpoint error closing streams
967 2002-09-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
969 * FileTest.cs: don't leave AFile.txt open.
971 2002-09-08 Nick Drochak <ndrochak@gol.com>
973 * PathTest.cs (TestCombine): XP puts it's system root in WINDOWS not
976 2002-09-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
978 * PathTest.cs: some fixes to make it work also on unix.
980 2002-08-30 Nick Drochak <ndrochak@gol.com>
982 * PathTest.cs (TestGetPathRoot): Don't assume current directory will
983 be on the C: drive (mine wasn't).
985 2002-08-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
987 * PathTest.cs: improved.
989 2002-08-26 Nick Drochak <ndrochak@gol.com>
991 * BinaryReaderTest.cs: Closing the stream twice doesn not throw any
994 2002-08-17 Eduardo Garcia Cebollero <kiwnix@yahoo.es>
996 * AllTests.cs: added BinaryReaderTest.Suite.
997 * BinaryReaderTest.cs: New file.
999 2002-06-12 Nick Drochak <ndrochak@gol.com>
1001 * StringReaderTest.cs: Regression test for a bug that we had were
1002 ReadLine() was not returning null when the string ended with newline.
1004 2002-05-15 Nick Drochak <ndrochak@gol.com>
1006 * StreamReaderTest.cs:
1007 * StreamWriterTest.cs:
1008 Make sure invalid file name has invalid characters in it. These are
1011 2002-05-14 Nick Drochak <ndrochak@gol.com>
1013 * FileTest.cs: Delete temporary files after each test method; Catch
1014 unexpected exceptions and report them; Make some Assert messages
1015 unique; Make sure temp files exist before trying Move and Delete, etc.
1017 2002-05-13 Mike Gray <mike@mikegray.org>
1019 * FileTest.cs: Adding better tests for File.Delete, File.Move
1021 2002-05-12 Mike Gray <mike@mikegray.org>
1023 * FileTest.cs: Adding better tests for File.Exists, File.Create,
1026 2002-05-12 Nick Drochak <ndrochak@gol.com>
1028 * StringTest.cs: Add a couple more tests.
1029 * PathTest.cs: Make tests work a bit better on W32 and Linux.
1031 2002/05/10 Nick Drochak <ndrochak@gol.com>
1033 * StreamWriterTest.cs: Use "resources" directory and use OS friendly
1034 directory separator characters. This makes the tests run correctly
1035 against MS.NET, but not yet in mono on Linux.
1037 2002/05/08 Nick Drochak <ndrochak@gol.com>
1039 * FileTest.cs: Use "resources" directory and use OS friendly
1040 directory separator characters. This makes the tests run correctly
1041 against MS.NET, but not yet in mono on Linux.
1043 2002-05-08 Nick Drochak <ndrochak@gol.com>
1045 * StreamWriter.cs: Wrap a try-catch around block of code to find out
1046 what exception is being thrown when it shouldn't.
1048 2002-05-07 Nick Drochak <ndrochak@gol.com>
1050 * FileTest.cs: Added TestOpen() from Mike Gray.
1051 * AllTests.cs: Added missing FileTest.Suite as pointed out by Mike
1054 2002-05-05 Nick Drochak <ndrochak@gol.com>
1056 * StreamReaderTest.cs: Change location of sample file. In some places,
1057 use memory stream instead of file stream to eliminate reliance on file
1058 io for now. That area is still a bit immature. Added a bunch of
1059 markers to tell where errors were occuring.
1061 * resources: New directory to hold files open/read, etc. by unit
1064 2002-05-01 Nick Drochak <ndrochak@gol.com>
1066 * StreamReaderTest.cs:
1067 * StreamWriterTest.cs: Catch and display exception info where it wasn't
1068 being caught before.
1070 2002-03-02 Jason Diamond <jason@injektilo.org>
1072 * StringReader.cs: Added test for peeking and reading at the end of
1075 2002-02-28 Nick Drochak <ndrochak@gol.com>
1077 * MemoryStreamTest.cs
1078 * StreamWriterTest.cs
1079 * StringReaderTest.cs: Fix test bugs found by running against mscorlib.
1080 AssertEquals() requires the expected and atual values to be the same
1081 type if they are to be considered equal.
1083 2002-02-05 Duncan Mak <duncan@ximian.com>
1085 * FileTest.cs: Added to CVS. However, this portion of the code
1086 can't be tested right now.
1088 2002-01-20 Nick Drochak <ndrochak@gol.com>
1090 * AllTests.cs: removed duplicate MemoryStream test
1091 * MemoryStreamTest.cs: wrapped try-catch blocks around read/write/seek
1092 tests. These were throwing exceptions that NUnit wasn't catching. I
1093 don't think it used to behave this way before .NET.1.0.
1094 2003-05-04 Ben Maurer <bmaurer@users.sourceforge.net>
1096 (CanonicalizePath) Added optimizations per Miguel's requests.