Mark tests as not working under TARGET_JVM
[mono.git] / mcs / class / corlib / Test / System.IO / DirectoryInfoTest.cs
index 1b615b63caaef92510f7cd36e4fd62fd81caf113..f2b4f36c0e3646cd1fd80d1ec6bf312f7ec4f030 100644 (file)
@@ -612,9 +612,6 @@ namespace MonoTests.System.IO
                }
  
                [Test]
-#if TARGET_JVM
-        [Category("NotWorking")]
-#endif
                public void DirectoryNameWithSpace ()
                {
                        // check for Unix platforms - see FAQ for more details
@@ -679,40 +676,32 @@ namespace MonoTests.System.IO
                                AssertEquals ("test#12", 0, time.Second);
                        }
 
-                       [Test]\r
-#if TARGET_JVM\r
-            [Category("NotWorking")]\r
-#endif
+                       [Test]
+            [Category("TargetJvmNotSupported")] // LastAccessTime not supported for TARGET_JVM
                        public void LastAccessTime ()
                        {
                                DirectoryInfo info = new DirectoryInfo (TempFolder);
                                info.LastAccessTime = DateTime.Now;
                        }
 
-                       [Test]\r
-#if TARGET_JVM\r
-            [Category("NotWorking")]\r
-#endif
+                       [Test]
+            [Category("TargetJvmNotSupported")] // LastAccessTime not supported for TARGET_JVM
                        public void LastAccessTimeUtc ()
                        {
                                DirectoryInfo info = new DirectoryInfo (TempFolder);
                                info.LastAccessTimeUtc = DateTime.Now;
                        }
 
-                       [Test]\r
-#if TARGET_JVM\r
-            [Category("NotWorking")]\r
-#endif
+                       [Test]
+            [Category("TargetJvmNotSupported")] // CreationTime not supported for TARGET_JVM
                        public void CreationTime ()
                        {
                                DirectoryInfo info = new DirectoryInfo (TempFolder);
                                info.CreationTime = DateTime.Now;
                        }
 
-                       [Test]\r
-#if TARGET_JVM\r
-            [Category("NotWorking")]\r
-#endif
+                       [Test]
+            [Category("TargetJvmNotSupported")] // CreationTime not supported for TARGET_JVM
                        public void CreationTimeUtc ()
                        {
                                DirectoryInfo info = new DirectoryInfo (TempFolder);