Quellcode durchsuchen

* FileInfoTest.cs (IsReadOnly): Fix compilation. Mark as NotWorking.

svn path=/trunk/mcs/; revision=65867
Raja R Harinath vor 19 Jahren
Ursprung
Commit
ba51a042f8

+ 4 - 0
mcs/class/corlib/Test/System.IO/ChangeLog

@@ -1,3 +1,7 @@
+2006-09-24  Raja R Harinath  <[email protected]>
+
+	* FileInfoTest.cs (IsReadOnly): Fix compilation.  Mark as NotWorking.
+
 2006-09-24 Gonzalo Paniagua Javier <[email protected]>
 
 	* FileInfoTest.cs: improved IsReadOnly test case. Patch by Joel Reed.

+ 2 - 2
mcs/class/corlib/Test/System.IO/FileInfoTest.cs

@@ -108,7 +108,7 @@ namespace MonoTests.System.IO
 
 #if NET_2_0
 		
-		[Test]
+		[Test, Category ("NotWorking")]
 		public void IsReadOnly ()
 		{
 			string path = TempFolder + DSC + "FIT.IsReadOnly.Test";
@@ -126,7 +126,7 @@ namespace MonoTests.System.IO
 				info2.IsReadOnly = true;
 				AssertEquals ("test#02", true, info1.IsReadOnly);
 
-				FileInfo info1 = new FileInfo (path);
+				FileInfo info3 = new FileInfo (path);
 				info2.IsReadOnly = false;
 				AssertEquals ("test#03", false, info1.IsReadOnly);
 			} finally {