Author: krasnov
Date: 2007-03-07 08:45:42 -0500 (Wed, 07 Mar 2007)
New Revision: 73886
Modified:
trunk/mcs/class/System/Test/System.Net.Sockets/ChangeLog
trunk/mcs/class/System/Test/System.Net.Sockets/SocketTest.jvm.cs
trunk/mcs/class/System/Test/System.Net/ChangeLog
trunk/mcs/class/System/Test/System.Net/HttpListenerPrefixCollectionTest.cs
trunk/mcs/class/System/Test/System.Net/HttpListenerTest.cs
trunk/mcs/class/System/Test/System.Security.Cryptography/AsnEncodedDataTest.cs
trunk/mcs/class/System/Test/System.Security.Cryptography/ChangeLog
trunk/mcs/class/System/Test/System.Security.Cryptography/OidCollectionTest.cs
trunk/mcs/class/System/Test/System.Security.Cryptography/OidEnumeratorTest.cs
trunk/mcs/class/System/Test/System.Security.Cryptography/OidTest.cs
Log:
* removed tests with not supported calls for TARGET_JVM because of validation
failures
Modified: trunk/mcs/class/System/Test/System.Net/ChangeLog
===================================================================
--- trunk/mcs/class/System/Test/System.Net/ChangeLog 2007-03-07 13:20:36 UTC
(rev 73885)
+++ trunk/mcs/class/System/Test/System.Net/ChangeLog 2007-03-07 13:45:42 UTC
(rev 73886)
@@ -1,3 +1,8 @@
+2007-03-07 Vladimir Krasnov <[EMAIL PROTECTED]>
+
+ * HttpListenerPrefixCollectionTest.cs, HttpListenerTest.cs: removed not
+ supported calls for TARGET_JVM because of validation failures
+
2007-02-24 Gert Driesen <[EMAIL PROTECTED]>
* HttpWebRequestTest.cs: Added test for bug #80944.
Modified:
trunk/mcs/class/System/Test/System.Net/HttpListenerPrefixCollectionTest.cs
===================================================================
--- trunk/mcs/class/System/Test/System.Net/HttpListenerPrefixCollectionTest.cs
2007-03-07 13:20:36 UTC (rev 73885)
+++ trunk/mcs/class/System/Test/System.Net/HttpListenerPrefixCollectionTest.cs
2007-03-07 13:45:42 UTC (rev 73886)
@@ -38,6 +38,7 @@
[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 ()
@@ -249,6 +250,7 @@
}
Assert.AreEqual (items, 1);
}
+#endif
}
}
#endif
Modified: trunk/mcs/class/System/Test/System.Net/HttpListenerTest.cs
===================================================================
--- trunk/mcs/class/System/Test/System.Net/HttpListenerTest.cs 2007-03-07
13:20:36 UTC (rev 73885)
+++ trunk/mcs/class/System/Test/System.Net/HttpListenerTest.cs 2007-03-07
13:45:42 UTC (rev 73886)
@@ -38,6 +38,7 @@
[Ignore ("The class HttpListener is not implemented")]
#endif
public class HttpListenerTest {
+#if !TARGET_JVM
[Test]
public void DefaultProperties ()
{
@@ -387,6 +388,7 @@
Event.Close ();
}
}
+#endif
}
}
#endif
Modified: trunk/mcs/class/System/Test/System.Net.Sockets/ChangeLog
===================================================================
--- trunk/mcs/class/System/Test/System.Net.Sockets/ChangeLog 2007-03-07
13:20:36 UTC (rev 73885)
+++ trunk/mcs/class/System/Test/System.Net.Sockets/ChangeLog 2007-03-07
13:45:42 UTC (rev 73886)
@@ -1,3 +1,8 @@
+2007-03-07 Vladimir Krasnov <[EMAIL PROTECTED]>
+
+ * SocketTest.jvm.cs: removed not supported calls for TARGET_JVM because
+ of validation failures
+
2007-02-08 Ilya Kharmatsky <ilyak -at- mainsoft.com>
* SocketTest.jvm.cs: added 'Ignore' attributes for non working tests.
Modified: trunk/mcs/class/System/Test/System.Net.Sockets/SocketTest.jvm.cs
===================================================================
--- trunk/mcs/class/System/Test/System.Net.Sockets/SocketTest.jvm.cs
2007-03-07 13:20:36 UTC (rev 73885)
+++ trunk/mcs/class/System/Test/System.Net.Sockets/SocketTest.jvm.cs
2007-03-07 13:45:42 UTC (rev 73886)
@@ -1749,6 +1749,7 @@
private static void BADCallback (IAsyncResult asyncResult)
{
+#if !TARGET_JVM
Socket sock = (Socket)asyncResult.AsyncState;
BADSocket = sock.EndAccept (out BADBytes,
@@ -1757,6 +1758,7 @@
BADAccepted = true;
BADCalledBack.Set ();
+#endif
}
[Test]
@@ -2373,12 +2375,14 @@
private static void BDCallback (IAsyncResult asyncResult)
{
+#if !TARGET_JVM
Socket sock = (Socket)asyncResult.AsyncState;
sock.EndDisconnect (asyncResult);
BDDisconnected = true;
BDCalledBack.Set ();
+#endif
}
[Test]
@@ -2388,6 +2392,7 @@
#endif
public void BeginDisconnect ()
{
+#if !TARGET_JVM
Socket sock = new Socket (AddressFamily.InterNetwork,
SocketType.Stream,
ProtocolType.Tcp);
@@ -2423,6 +2428,7 @@
sock.Close ();
listen.Close ();
+#endif
}
[Test]
@@ -2846,6 +2852,7 @@
#endif
public void Disconnect ()
{
+#if !TARGET_JVM
Socket sock = new Socket (AddressFamily.InterNetwork,
SocketType.Stream,
ProtocolType.Tcp);
@@ -2872,6 +2879,7 @@
sock.Close ();
listen.Close ();
+#endif
}
[Test]
Modified:
trunk/mcs/class/System/Test/System.Security.Cryptography/AsnEncodedDataTest.cs
===================================================================
---
trunk/mcs/class/System/Test/System.Security.Cryptography/AsnEncodedDataTest.cs
2007-03-07 13:20:36 UTC (rev 73885)
+++
trunk/mcs/class/System/Test/System.Security.Cryptography/AsnEncodedDataTest.cs
2007-03-07 13:45:42 UTC (rev 73886)
@@ -38,8 +38,11 @@
namespace MonoTests.System.Security.Cryptography {
[TestFixture]
+#if TARGET_JVM
+ [Ignore ("The class System.Security.Cryptography.AsnEncodedData - is
not supported")]
+#endif
public class AsnEncodedDataTest {
-
+#if !TARGET_JVM
static byte[] asnNullBytes = { 0x05, 0x00 };
static string asnNullString = "05 00";
static byte[] asnLongBytes = {
0x30,0x5C,0x02,0x55,0x2D,0x58,0xE9,0xBF,0xF0,0x31,0xCD,0x79,0x06,0x50,0x5A,0xD5,0x9E,0x0E,0x2C,0xE6,0xC2,0xF7,0xF9,0xD2,0xCE,0x55,0x64,0x85,0xB1,0x90,0x9A,0x92,0xB3,0x36,0xC1,0xBC,0xEA,0xC8,0x23,0xB7,0xAB,0x3A,0xA7,0x64,0x63,0x77,0x5F,0x84,0x22,0x8E,0xE5,0xB6,0x45,0xDD,0x46,0xAE,0x0A,0xDD,0x00,0xC2,0x1F,0xBA,0xD9,0xAD,0xC0,0x75,0x62,0xF8,0x95,0x82,0xA2,0x80,0xB1,0x82,0x69,0xFA,0xE1,0xAF,0x7F,0xBC,0x7D,0xE2,0x7C,0x76,0xD5,0xBC,0x2A,0x80,0xFB,0x02,0x03,0x01,0x00,0x01
};
@@ -281,6 +284,7 @@
Assert.AreEqual ("Subject Alternative Name",
aed.Oid.FriendlyName, "FriendlyName");
// anyway the answer is most probably CryptoAPI
}
+#endif
}
}
Modified: trunk/mcs/class/System/Test/System.Security.Cryptography/ChangeLog
===================================================================
--- trunk/mcs/class/System/Test/System.Security.Cryptography/ChangeLog
2007-03-07 13:20:36 UTC (rev 73885)
+++ trunk/mcs/class/System/Test/System.Security.Cryptography/ChangeLog
2007-03-07 13:45:42 UTC (rev 73886)
@@ -1,3 +1,9 @@
+2007-03-07 Vladimir Krasnov <[EMAIL PROTECTED]>
+
+ * AsnEncodedDataTest.cs, OidCollectionTest.cs, OidEnumeratorTest.cs,
+ OidTest.cs: removed not supported calls for TARGET_JVM because of
+ validation failures
+
2006-04-25 Atsushi Enomoto <[EMAIL PROTECTED]>
* OidTest.cs,
Modified:
trunk/mcs/class/System/Test/System.Security.Cryptography/OidCollectionTest.cs
===================================================================
---
trunk/mcs/class/System/Test/System.Security.Cryptography/OidCollectionTest.cs
2007-03-07 13:20:36 UTC (rev 73885)
+++
trunk/mcs/class/System/Test/System.Security.Cryptography/OidCollectionTest.cs
2007-03-07 13:45:42 UTC (rev 73886)
@@ -17,7 +17,11 @@
namespace MonoTests.System.Security.Cryptography {
[TestFixture]
+#if TARGET_JVM
+ [Ignore ("The class System.Security.Cryptography.OidCollection - is not
supported")]
+#endif
public class OidCollectionTest : Assertion {
+#if !TARGET_JVM
[Test]
public void Constructor ()
@@ -69,6 +73,7 @@
Oid[] array = null;
oc.CopyTo (array, 0);
}
+#endif
}
}
Modified:
trunk/mcs/class/System/Test/System.Security.Cryptography/OidEnumeratorTest.cs
===================================================================
---
trunk/mcs/class/System/Test/System.Security.Cryptography/OidEnumeratorTest.cs
2007-03-07 13:20:36 UTC (rev 73885)
+++
trunk/mcs/class/System/Test/System.Security.Cryptography/OidEnumeratorTest.cs
2007-03-07 13:45:42 UTC (rev 73886)
@@ -17,8 +17,11 @@
namespace MonoTests.System.Security.Cryptography {
[TestFixture]
+#if TARGET_JVM
+ [Ignore ("The class System.Security.Cryptography.OidEnumerator - is not
supported")]
+#endif
public class OidEnumeratorTest : Assertion {
-
+#if !TARGET_JVM
private OidEnumerator GetEnumerator ()
{
OidCollection oc = new OidCollection ();
@@ -76,6 +79,7 @@
enumerator.Reset ();
AssertNotNull ("Current after reset",
enumerator.Current);
}
+#endif
}
}
Modified: trunk/mcs/class/System/Test/System.Security.Cryptography/OidTest.cs
===================================================================
--- trunk/mcs/class/System/Test/System.Security.Cryptography/OidTest.cs
2007-03-07 13:20:36 UTC (rev 73885)
+++ trunk/mcs/class/System/Test/System.Security.Cryptography/OidTest.cs
2007-03-07 13:45:42 UTC (rev 73886)
@@ -37,7 +37,12 @@
namespace MonoTests.System.Security.Cryptography {
[TestFixture]
+#if TARGET_JVM
+ [Ignore ("The class System.Security.Cryptography.Oid - is not
supported")]
+#endif
+
public class OidTest {
+#if !TARGET_JVM
static string invalidOid = "1.0";
static string invalidName = "friendlyName";
@@ -180,6 +185,7 @@
// TODO: add other well known oid as we find them
}
+#endif
}
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches