* DirectoryTest.cs: Use Assert.Ignore instead of silently ignoring test.
authorGert Driesen <drieseng@users.sourceforge.net>
Tue, 28 Nov 2006 19:01:51 +0000 (19:01 -0000)
committerGert Driesen <drieseng@users.sourceforge.net>
Tue, 28 Nov 2006 19:01:51 +0000 (19:01 -0000)
svn path=/trunk/mcs/; revision=68607

mcs/class/corlib/Test/System.IO/ChangeLog
mcs/class/corlib/Test/System.IO/DirectoryTest.cs

index e59fcf692ca054ea0508ab6ef5e6b6db8bd56464..220fc72f290104ccf7b12060ade90c2b7e62d72c 100644 (file)
@@ -1,3 +1,8 @@
+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 
index a8f5692dd2f6b959d2e5a00b4e457979d9355ea1..4efbb76c1910cc7ab738d196ed67bc276754f0eb 100644 (file)
@@ -9,15 +9,17 @@
 // TODO: Find out why ArgumentOutOfRange tests does not release directories properly\r
 //\r
 \r
-using NUnit.Framework;\r
-using System.IO;\r
-using System.Text;\r
 using System;\r
+using System.Diagnostics;\r
 using System.Globalization;\r
+using System.IO;\r
+using System.Text;\r
 using System.Threading;\r
-using System.Diagnostics;\r
 \r
-namespace MonoTests.System.IO {\r
+using NUnit.Framework;\r
+\r
+namespace MonoTests.System.IO\r
+{\r
 \r
 [TestFixture]\r
 public class DirectoryTest\r
@@ -720,9 +722,7 @@ public class DirectoryTest
                // http://www.mono-project.com/FAQ:_Technical#How_to_detect_the_execution_platform_.3F\r
                int platform = (int) Environment.OSVersion.Platform;\r
                if ((platform == 4) || (platform == 128))\r
-                       // Unix doesnt support CreationTime\r
-                       // FIXME: use Assert.Ignore\r
-                       return;\r
+                       Assert.Ignore ("Unix doesn't support CreationTime");\r
 \r
                string path = TempFolder + DSC + "DirectoryTest.CreationTime.1";\r
                DeleteDirectory (path);\r
@@ -1329,7 +1329,6 @@ public class DirectoryTest
                dir.GetFiles ("*.nonext");\r
        }\r
 \r
-\r
        [Test]\r
        public void FilenameOnly () // bug 78209\r
        {\r