Fixed the tests checking for PlatformID.
[mono.git] / mcs / class / corlib / Test / System.IO / ChangeLog
index 28b5728b94a725f36868c820229e045560ad8653..425207ac42568e76ad05a4738ab1b8408a0714a7 100644 (file)
@@ -1,3 +1,424 @@
+2008-10-12  Zoltan Varga  <vargaz@gmail.com>
+
+       * BinaryReaderTest.cs: Add a test for #434581.
+
+2008-08-16  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * StreamWriterTest.cs: Removed Constructor2_Path_Whitespace test, as
+       it only applies to Windows (and is duplicate for illegal chars test).
+       Only check paramname for buffersize exception on 2.0 profile.
+
+2008-08-15  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * StreamWriterTest.cs: Added more .ctor tests. Enabled AutoFlush
+       test.
+
+2008-08-15  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * StreamWriterTest.cs: Moved ctor argument checks to separate methods.
+       Added and improved ctor tests. Added test for Close. Improved
+       (Auto)Flush tests. Use Assert class instead of Assertion.
+
+2008-06-21  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * PathCas.cs: Updated method names to reflect changes in PathTest.
+       * PathTest.cs: Renamed tests. Use String.Empty instead of "". Added
+       argument check tests, and moved tests to separate methods. Avoid using
+       ExpectedException.
+
+2008-05-29  Robert Jordan  <robertj@gmx.net>
+
+       * PathTest.cs (TestGetFullPathUnix, TestGetFullPathWindows):
+       Factored out from the disabled TestGetFullPath test while fixing
+       the issues mentioned by the ERROR comment and bug #394681.
+
+2008-05-08  Dick Porter  <dick@ximian.com>
+
+       * DirectoryInfoTest.cs: Added a test for bug 385765.
+
+2008-04-30  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * DirectoryTest.cs: Do not use ExpectedException to avoid false
+       positives. Use String.Empty instead of "".
+
+2008-04-22  Dick Porter  <dick@ximian.com>
+
+       * FileTest.cs: Disable the test for bug 323389, as I've reverted
+       the fix.
+
+2008-04-17  Dick Porter  <dick@ximian.com>
+
+       * FileTest.cs: Test for bug 323389.
+
+2008-04-17  Dick Porter  <dick@ximian.com>
+
+       * FileTest.cs: Test for bug 378229.
+
+2008-04-17  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * File.cs: Added/improved tests for Create and Move.
+       * DirectoryInfoTest.cs: No longer derive from deprecated Assertion
+       class. Improved tests for ctor, Create, Name, Parent, ...
+       * FileInfoTest.cs: No longer derive from deprecated Assertion class.
+       Improved/added tests,
+       * PathTest.cs: Added tests for IsPathRooted and GetFullPath.
+       * FileSystemInfoTest.cs: Fixed test. Now passes on both Mono and MS. 
+
+2008-04-16  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * FileTest.cs: Renamed and improved existing tests. Avoid use of
+       ExpectedException.
+       * FileSystemInfoTest.cs: No longer derive from deprecated Assertion
+       class. Added (de)serialization tests.
+
+2008-04-04  Dick Porter  <dick@ximian.com>
+
+       * FileTest.cs: Test moving a file when the access mode disallows
+       it.  Test from Eric Albright <albright@wesay.org>, see bug 377049.
+
+2008-04-03  Dick Porter  <dick@ximian.com>
+
+       * DirectoryTest.cs: Enable tests now that bug 346123 is fixed.
+
+2008-03-28  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * DirectoryTest.cs: Add test case when deleting a directory that does
+       not exists but where a file of the same name exists.
+
+2008-01-06  Zoltan Varga  <vargaz@gmail.com>
+
+       * FileTest.cs: Rename a helper method so it does not begin with Test.
+
+2007-12-28  Zoltan Varga  <vargaz@gmail.com>
+
+       * MemoryStreamTest.cs: Add new test.
+
+2007-12-05  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * DirectoryTest.cs: Added (NotWorking) tests for bug #346123.
+
+2007-11-17  Jb Evain  <jbevain@novell.com>
+
+       * PathTest.cs: Add test for #341034, GetRandomFileName should
+       return only file names in [a..z0..9].
+
+2007-11-05  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * MemoryStreamTest.cs: Add test case for #322672 (which seems already
+       fixed in SVN).
+
+2007-11-02  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * PathTest.cs: Fixed wrong assumption on GetDirectoryName("/")
+         result on Unix (on top level it returns null).
+
+2007-11-02  Robert Jordan  <robertj@gmx.net>
+
+       * PathTest.cs (TestGetDirectoryName): Fix syntax errors.
+
+2007-09-27  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * DirectoryTest.cs: Added RunningOnUnix property to use for enabling
+       or disabling tests on a specific platform. Enabled and improved test
+       for bug #325107.
+
+2007-09-21  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * MemoryStreamTest.cs: Added test for bug #327053.
+
+2007-09-08  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * DirectoryTest.cs: Added test for bug #82440.
+
+2007-08-21  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * FileTest.cs: Added test for File.GetAttributes (and indirectly also
+       for SetAttributes). Removed use of deprecated Assertion class.
+
+2007-08-20  William Holmes  <billholmes54@gmail.com>
+
+       *FileTest.cs:  Added a test for IO.File.Replace.  
+
+       Code is contributed under MIT/X11 license.
+
+2007-08-01  Dick Porter  <dick@ximian.com>
+
+       * DirectoryTest.cs: Test for bug 82212 is now working.
+
+2007-07-28  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * DirectoryTest.cs: Added test for bug #82212.
+
+2007-07-08  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * DirectoryCas.cs: Changed Move to MoveDirectory to match the
+       method in DirectoryTest. Fixed line endings.
+       * DirectoryTest.cs: Added test for bug #81912. Added tests for Move
+       argument checks.
+
+2007-06-24  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * DirectoryTest.cs: Restore original CurrentCulture on teardown.
+       * FileSystemInfoTest.cs: Restore original CurrentCulture on teardown.
+       Removed stray tabs. Code formatting.
+       * FileTest.cs: Restore original CurrentCulture on teardown. Removed
+       stray tabs. Changes spaces to tabs.
+
+2007-06-22  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * FileStreamTest.cs: Added test for bug #79250.
+
+2007-05-25  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * UnmanagedMemoryStreamTest.cs: Added tests for CanRead, CanSeek,
+       CanWrite, Seek, Write. Improved existing tests for SetLength,
+       Position. Enabled tests that were previously failing.
+
+2007-05-24  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * UnmanagedMemoryStreamTest.cs: Fixed several tests and added several
+       more. Tests were previously ignored by NUnit because the SetUp method
+       was private.
+
+2007-02-19     Eyal Alaluf <eyala@mainsoft.com>
+
+       * FileStreamTest.cs: Mark tests that use TARGET_JVM not supported features.
+
+2007-02-19     Boris Kirzner <borisk@mainsoft.com>
+
+       * DirectoryTest.cs, PathTest.cs: added test for 
+       order of InvalidPathChars on windows.
+
+2007-01-31  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * FileStreamTest.cs: Added and improved tests to verify whether the
+       reported exceptions match that of MS.>
+
+2007-01-31  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       *  StreamReaderTest.cs: Use Assert class instead of deprecation
+       Assertion. Clean-up some tests.
+
+2007-01-30     Boris Kirzner <borisk@mainsoft.com>
+       * FileNotFoundExceptionTest.cs: fix tests for TARGET_JVM.
+
+2007-01-29     Boris Kirzner <borisk@mainsoft.com>
+       * BinaryReaderTest.cs, BinaryWriterTest.cs, PathTest.cs: test fixes
+       for TARGET_JVM.
+
+2007-01-25  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * StreamReaderTest.cs: Added test for bug #75526.
+
+2007-01-11  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * DirectoryTest.cs: Fixed compiler warning by improving test.
+
+2006-01-25     Bors Kirzner <borisk@mainsoft.com>
+
+       * DirectoryInfoTest.cs, DirectoryTest.cs, FileInfoTest.cs, FileSystemInfoTest.cs
+       FileTest.cs: add ifdefs for TARGET_JVM.
+       
+2006-12-21  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * MemoryStreamTest.cs: Added (de)serialization tests for bug #80205.
+
+2006-11-28  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * DirectoryTest.cs: Use Assert.Ignore instead of silently ignoring
+       test.
+
+2006-11-07  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * DirectoryTest.cs: Use Assert class intead of deriving from 
+       deprecated Assertion class. Only ignore CreationTime test on unix.
+       Removed extra tabs.
+
+2006-11-07  Dick Porter  <dick@ximian.com>
+
+       * DirectoryTest.cs: CreateDirectoryAlreadyExistsAsFile() should
+       expect an IOException in the 2.0 profile
+
+2006-10-30 Joel Reed  <joel.reed@ddiworld.com>
+
+       * DirectoryInfoTest.cs: Updated tests to support the DirectoryInfo
+       SearchOption.AllDirectories
+
+2006-09-24  Raja R Harinath  <harinath@gmail.com>
+
+       * FileInfoTest.cs (IsReadOnly): Fix compilation.  Mark as NotWorking.
+
+2006-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * FileInfoTest.cs: improved IsReadOnly test case. Patch by Joel Reed.
+
+2006-09-21  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * FileNotFoundExceptionTest.cs: Added ctor tests.
+
+2006-07-06  Dick Porter  <dick@ximian.com>
+
+       * DirectoryTest.cs: Test creating a directory when a file or
+       directory already exists with the requested name.
+
+2006-05-14  Zoltan Varga  <vargaz@gmail.com>
+
+       * DirectoryTest.cs: Ignore one of the tests which causes nunit to abort on
+       IA64 due to an exception handling bug.
+
+2006-05-08  Atsushi Enomoto <atsushi@ximian.com>
+
+       * DirectoryTest.cs : don't expect "chmod" on Windows.
+
+2006-05-01  Daniel Drake  <dsd@gentoo.org>
+
+       * DirectoryTest.cs: add test for bug #78239, based on suggestion from
+       Robert Jordan.
+
+2006-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * DirectoryTest.cs: added test for bug 78209.
+
+2006-04-28  Robert Jordan  <robertj@gmx.net>
+
+       * PathTest.cs: Added tests for bug #78147.
+
+2006-03-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * FileStreamTest.cs: new test from bug #77863.
+
+2006-02-27  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * FileTest.cs: In 2.0 profile, no longer expect IOException when path to
+       non-existing directory or file is specified in Get***Time(Utc) methods
+       (bug #77641). Renamed tests and removed trailing tabs. Removed
+       duplicate test. Fixed GetLastWriteTime(Utc) tests that used
+       GetLastAccessTime(Utc) instead of GetLastWriteTime(Utc).
+       * DirectoryTest.cs: No longer expect IOException when path to 
+       non-existing directory or file is specified in Get***Time(Utc) methods
+       (bug #77641).   
+
+2006-02-26  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * FileStreamTest.cs: Fixed tests for invalid share value to pass on
+       MS.NET 2.0, and all Mono profiles. Added test that verifies the 
+       correct behavior of all possible FileMode and FileAccess combinations.
+       Fixed compiler warning.
+
+2006-02-25  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * FileStreamTest.cs: Spaces to tabs, (re)numbered tests.
+
+2006-01-18  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * DirectoryInfoTest.cs : don't expect "/" as a top directory on
+         Windows.
+
+2006-01-13  Ben Maurer  <bmaurer@andrew.cmu.edu>
+
+       * TextWriterTest.cs: Make sure TextWriter calls the char[],int,int
+       overload when calling the char[].
+
+2006-01-12  Ben Maurer  <bmaurer@andrew.cmu.edu>
+
+       * FileTest.cs: Tests tests for read/writealltext.
+
+2006-01-02  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * StreamReaderTest.cs: Added test case when reading a new line (see 
+       bug #77108 for details).
+       * StringReaderTest.cs: Added test case when reading a new line (see 
+       bug #77108 for details).
+
+2005-12-23  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * DirectoryInfoTest.cs: Added test case for #77090 where we skipped
+       / as a parent between /home and null.
+
+2005-12-21  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * PathTest.cs: Added new test case for #77058 where a Windows drive
+       wasn't considered during path canonalization.
+
+2005-12-20  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * PathTest.cs: Added new test case for #77007 where a Windows drive is
+       specified with a partial path.
+
+2005-12-15  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * DirectoryInfoTest.cs: Added test cases for #76191 and #76903.
+       * PathTest.cs: Added test cases for #76191, the possible modification 
+       of InvalidPathChars and the new 2.0 methods.
+
+2005-12-14  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * FileLoadExceptionCas.cs: MS fixed this in 2.0 final (#71861).
+       * FileNotFoundExceptionCas.cs: MS fixed this in 2.0 final (#71861).
+
+2005-10-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * StreamReaderTest.cs: more tests for ReadLine().
+
+2005-10-01  Ben Maurer  <bmaurer@ximian.com>
+
+       * BinaryReaderTest.cs: new test for long, non-ascii strings
+
+2005-09-08  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * MemoryStreamTest.cs: Add more tests for publicly visible (or not)
+       contents. Started converting tests to NUnit 2.2 API.
+
+2005-07-04  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * DirectoryInfoTest.cs: Added tests for getting parent of root 
+       directories (using directory separators).
+
+2005-07-02  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * DirectoryInfoTest.cs: Added tests for FullName (bug #75443).
+
+2005-06-16  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * DirectoryInfoTest.cs: Added tests for bug #75285.
+
+2005-06-10  Ben Maurer  <bmaurer@ximian.com>
+
+       * FileTest.cs: Fix gonz's typo. Also, clean stuff up by using the
+       temp file api, rather than our own hack.
+
+2005-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * FileTest.cs: yet more invalid array accesses removed.
+
+2005-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * FileTest.cs: on unix there are no invalid chars and we were trying
+       to index beyond the end of the array.
+
+2005-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * FileTest.cs: removed duplicate test. The same thing is done in
+       DeleteOpenStream.
+
+2005-05-18  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * StreamCas.cs: New. CAS unit tests to test stack propagation for 
+       BeginRead and BeginWrite.
+       * FileStreamCas.cs: Added tests to test stack propagation for 
+       BeginRead and BeginWrite.
+
+2005-05-09  Sebastien Pouliot  <sebastien@ximian.com> 
+       * DirectoryCas.cs: Fixed IsRunningOnWindows (inversed logic). That
+       didn't change the tests as the SecurityException occurs before the
+       parameters are checked (when all goes well ;-). Fixed for NET_2_0 too.
+       * DirectoryInfoTest.cs: Fixed PlatformID.Unix for NET_2_0.
+
+2005-05-06  Ben Maurer  <bmaurer@ximian.com>
+
+       * FileTest.cs (OpenAppend): Test for #71088.
+
 2005-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
 
        * DirectoryInfoTest.cs: added test for bug #53173.
 
        * BinaryReaderTest.cs: added more tests.
 
-        Patch from Eduardo García Cebollero (kiwnix@yahoo.es).
+        Patch from Eduardo García Cebollero (kiwnix@yahoo.es).
 
 2002-09-19  Nick Drochak  <ndrochak@gol.com>