Commit Graph
19 Commits
Author SHA1 Message Date
Alexander Köplinger 48e112d652 [Cleanup] Removed TARGET_JVM
It was once part of a special Java target profile, but this is no longer used today.
2014-08-08 03:28:34 +02:00
Marek Safar afa79435aa Update for mobile profile 2013-02-07 16:34:21 +01:00
Raja R Harinath 5201a990a2 * FileInfoTest.cs: Wrap Replace() tests in #if NET_2_0.
svn path=/trunk/mcs/; revision=133655
2009-05-06 13:35:46 +00:00
Miguel de Icaza 6e23827f34 Add this too
svn path=/trunk/mcs/; revision=133619
2009-05-05 22:59:33 +00:00
Gert Driesen 5d4e8d2ce4 * DirectoryInfo.cs: Added new internal ctor, which takes a bool that
indicates whether the original path should only container the last
part of the directory. Moved logic for determining the Name and
Parent to Initialize method, to allow it to be re-used on
deserialization. Renamed argument names to fix corcompare issues.
Added missing argument checks.
* Directory.cs (CreateDirectoriesInternal): Use internal ctor for
DirectoryInfo to ensure OriginalPath only contains last part of
the directory.
* File.cs: Removed redundant checks from Create. On 2.0 profile, pass
FileOptions to FileStream. Removed redundant directory check from
Delete and modified exceptions to more closely match MS.
* FileInfo.cs: Added argument check to ctor to match MS. Added missing
deserialization ctor. Modified argument checks in MoveTo, and removed
redundant checks. Added missing argument checks in CopyTo. Code
formatting.
* FileSystemInfo.cs: Modified argument checks in CheckPath to more
closely match MS.
* MonoIO.cs: Added msg that does not disclose filename for
ERROR_FILE_EXISTS.
* Path.cs: Use String.Length instead of comparing with String.Empty.
Removed exceptions argument names to match MS.
* 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.

svn path=/trunk/mcs/; revision=101006
2008-04-17 15:04:25 +00:00
Eyal Alalouf 30c28c41d7 Mark tests as not working under TARGET_JVM
svn path=/trunk/mcs/; revision=74246
2007-03-14 10:47:05 +00:00
Boris Kirzner 30eb15be6d Use System.IO tests for TARGET_JVM.
svn path=/trunk/mcs/; revision=71656
2007-01-25 09:48:45 +00:00
Raja R Harinath ba51a042f8 * FileInfoTest.cs (IsReadOnly): Fix compilation. Mark as NotWorking.
svn path=/trunk/mcs/; revision=65867
2006-09-24 17:41:15 +00:00
Gonzalo Paniagua Javier 6c1343c8a0 2006-09-24 Gonzalo Paniagua Javier <[email protected]>
* FileInfoTest.cs: improved IsReadOnly test case. Patch by Joel Reed.


svn path=/trunk/mcs/; revision=65854
2006-09-24 14:52:17 +00:00
Gonzalo Paniagua Javier 511182b2ed 2006-09-21 Gonzalo Paniagua Javier <[email protected]>
* Test/System.IO/FileInfoTest.cs:
	* System.IO/FileInfo.cs: added 2.0 IsReadOnly. Patch by Joel Reed.


svn path=/trunk/mcs/; revision=65802
2006-09-22 02:54:31 +00:00
Ben Maurer 2cac9d1d6b eol style
svn path=/trunk/mcs/; revision=46462
2005-06-23 23:11:11 +00:00
Raja R Harinath e0cfa4925e Set svn:eol-style=native, delete svn:executable.
Fix line endings of System/Decimal.cs (only actual "change" in text, to force recompile of mscorlib to reflect changes in decimal constant handling in the compiler)


svn path=/trunk/mcs/; revision=44558
2005-05-16 12:23:26 +00:00
Atsushi Eno 8c0f1bb9d5 2004-06-21 Atsushi Enomoto <[email protected]>
FileInfoTest.cs : more '/' and Path.DirectorySeparatorChar fixes

svn path=/trunk/mcs/; revision=30038
2004-06-21 13:46:04 +00:00
Atsushi Eno cf946a498f 2003-05-26 Atsushi Enomoto <[email protected]>
* FileInfoTest.cs : more incorrect \ fix.

svn path=/trunk/mcs/; revision=28181
2004-05-26 18:36:54 +00:00
Atsushi Eno 2f91adfd77 2003-05-26 Atsushi Enomoto <[email protected]>
* FileInfoTest.cs : incorrect \ fix. added more cases.

svn path=/trunk/mcs/; revision=28119
2004-05-26 03:45:34 +00:00
Atsushi Eno ac00a4d3f3 2003-05-26 Atsushi Enomoto <[email protected]>
* FileInfoTest.cs : added tests for ToString().

svn path=/trunk/mcs/; revision=28118
2004-05-26 03:33:21 +00:00
Nick Drochak dfada10b44 2003-05-29 Nick Drochak <[email protected]>
* BinaryReaderTest.cs:
	* BinaryWriterTest.cs:
	* DirectoryInfoTest.cs:
	* DirectoryTest.cs:
	* FileInfoTest.cs:
	* FileStreamTest.cs:
	* FileSystemInfoTest.cs: Stop throwing exceptions on windows, and sub-
	class from Assertion for brevity.

svn path=/trunk/mcs/; revision=14972
2003-05-28 15:39:52 +00:00
Ville Palo 134e735cdc 2003-05-15 Ville Palo <[email protected]>
* BinaryReaderTest.cs:
	* BinaryWriterTest.cs:
	* BufferedStreamTest.cs:
	* DirectoryInfoTest.cs:
	* DirectoryTest.cs:
	* FileInfoTest.cs:
	* FileSystemInfoTest.cs: clean up, now use temp-dir

svn path=/trunk/mcs/; revision=14592
2003-05-15 06:22:55 +00:00
Ville Palo 3be8442e3d 2003-05-04 Ville Palo <[email protected]>
* FileInfoTest.cs: new file.
	* FileStreamTest.cs: new tests for Seek ()

svn path=/trunk/mcs/; revision=14243
2003-05-04 09:38:30 +00:00