Mark tests as not working under TARGET_JVM
[mono.git] / mcs / class / System / Test / System.Net / HttpListenerPrefixCollectionTest.cs
index b099f07d75ebc9f2aece60592551b7ae33d8e77f..b30b7cc6bea8856ea812315469894b58c530ebc5 100644 (file)
@@ -34,7 +34,11 @@ using HLPC=System.Net.HttpListenerPrefixCollection;
 
 namespace MonoTests.System.Net {
        [TestFixture]
+#if TARGET_JVM
+       [Ignore ("The class System.Net.HttpListenerPrefixCollection - is not supported")]
+#endif
        public class HttpListenerPrefixCollectionTest {
+#if !TARGET_JVM
                // NL -> Not listening -> tests when listener.IsListening == false
                [Test]
                public void NL_DefaultProperties ()
@@ -246,6 +250,7 @@ namespace MonoTests.System.Net {
                        }
                        Assert.AreEqual (items, 1);
                }
+#endif
        }
 }
 #endif