Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion mcs/build/tests.make
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ test-local: $(test_assemblies)
run-test-local: run-test-lib
run-test-ondotnet-local: run-test-ondotnet-lib

TEST_HARNESS_EXCLUDES = -exclude=$(PLATFORM_TEST_HARNESS_EXCLUDES)$(PROFILE_TEST_HARNESS_EXCLUDES)NotWorking,ValueAdd,CAS,InetAccess
TEST_HARNESS_EXCLUDES = -exclude=$(PLATFORM_TEST_HARNESS_EXCLUDES)$(PROFILE_TEST_HARNESS_EXCLUDES)NotWorking,CAS
TEST_HARNESS_EXCLUDES_ONDOTNET = /exclude:$(PLATFORM_TEST_HARNESS_EXCLUDES)$(PROFILE_TEST_HARNESS_EXCLUDES)NotDotNet,CAS

NOSHADOW_FLAG =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
namespace MonoTests.System.DirectoryServices
{
[TestFixture]
[Category ("InetAccess")]
public class DirectoryServicesDirectoryEntryTest
{
#region Fields
Expand All @@ -30,6 +29,9 @@ public void TestFixtureSetUp()
{
de = null;
configuration = new TestConfiguration ();

if (String.IsNullOrEmpty (configuration.ConnectionString))
Assert.Ignore ("No configuration");
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
namespace MonoTests.System.DirectoryServices
{
[TestFixture]
[Category ("InetAccess")]
public class DirectoryServicesDirectorySearcherTest
{
#region Fields
Expand All @@ -33,6 +32,9 @@ public void TestFixtureSetUp()
{
de = null;
configuration = new TestConfiguration ();

if (String.IsNullOrEmpty (configuration.ConnectionString))
Assert.Ignore ("No configuration");
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
namespace MonoTests.System.DirectoryServices
{
[TestFixture]
[Category ("InetAccess")]
public class DirectoryServicesSearchResultTest
{
#region Fields
Expand All @@ -31,6 +30,9 @@ public void TestFixtureSetUp()
{
de = null;
configuration = new TestConfiguration ();

if (String.IsNullOrEmpty (configuration.ConnectionString))
Assert.Ignore ("No configuration");
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace MonoTests.System.Web.Services.Discovery {
public class DiscoveryClientProtocolTest {

[Test] // Covers #36116
[Category ("InetAccess")]
[Category ("NotWorking")]
public void ReadWriteTest ()
{
string directory = Path.Combine (Path.GetTempPath (), Path.GetRandomFileName ());
Expand Down
2 changes: 1 addition & 1 deletion mcs/class/System.Windows.Forms/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ test-local: DummyAssembly.dll

include ../../build/library.make

TEST_HARNESS_EXCLUDES = -exclude=Interactive,NotWorking,ValueAdd,CAS,InetAccess
TEST_HARNESS_EXCLUDES = -exclude=Interactive,NotWorking,CAS
TEST_HARNESS_EXCLUDES_ONDOTNET = -exclude=Interactive,NotDotNet,CAS

$(the_lib): $(RESOURCES)
Expand Down
2 changes: 0 additions & 2 deletions mcs/class/System/Test/System.Net.Sockets/NetworkStreamCas.cs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ private void ReadCallback (IAsyncResult ar)

[Test]
[EnvironmentPermission (SecurityAction.Deny, Read = "USERNAME")]
[Category ("InetAccess")]
public void AsyncRead ()
{
message = "AsyncRead";
Expand Down Expand Up @@ -136,7 +135,6 @@ private void WriteCallback (IAsyncResult ar)

[Test]
[EnvironmentPermission (SecurityAction.Deny, Read = "USERNAME")]
[Category ("InetAccess")]
public void AsyncWrite ()
{
message = "AsyncWrite";
Expand Down
6 changes: 0 additions & 6 deletions mcs/class/System/Test/System.Net.Sockets/SocketCas.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ private void AcceptCallback (IAsyncResult ar)

[Test]
[EnvironmentPermission (SecurityAction.Deny, Read = "USERNAME")]
[Category ("InetAccess")]
public void AsyncAccept ()
{
IPEndPoint ep = new IPEndPoint (IPAddress.Loopback, 16279);
Expand Down Expand Up @@ -118,7 +117,6 @@ private void ConnectCallback (IAsyncResult ar)

[Test]
[EnvironmentPermission (SecurityAction.Deny, Read = "USERNAME")]
[Category ("InetAccess")]
public void AsyncConnect ()
{
message = "AsyncConnect";
Expand Down Expand Up @@ -152,7 +150,6 @@ private void ReceiveCallback (IAsyncResult ar)

[Test]
[EnvironmentPermission (SecurityAction.Deny, Read = "USERNAME")]
[Category ("InetAccess")]
public void AsyncReceive ()
{
message = "AsyncReceive";
Expand Down Expand Up @@ -191,7 +188,6 @@ private void ReceiveFromCallback (IAsyncResult ar)

[Test]
[EnvironmentPermission (SecurityAction.Deny, Read = "USERNAME")]
[Category ("InetAccess")]
public void AsyncReceiveFrom ()
{
message = "AsyncReceiveFrom";
Expand Down Expand Up @@ -230,7 +226,6 @@ private void SendCallback (IAsyncResult ar)

[Test]
[EnvironmentPermission (SecurityAction.Deny, Read = "USERNAME")]
[Category ("InetAccess")]
public void AsyncSend ()
{
message = "AsyncSend";
Expand Down Expand Up @@ -265,7 +260,6 @@ private void SendToCallback (IAsyncResult ar)

[Test]
[EnvironmentPermission (SecurityAction.Deny, Read = "USERNAME")]
[Category ("InetAccess")]
public void AsyncSendTo ()
{
message = "AsyncSendTo";
Expand Down
2 changes: 1 addition & 1 deletion mcs/class/System/Test/System.Net.Sockets/SocketTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public void IncompatibleAddress ()
}

[Test]
[Category ("InetAccess")]
[Category ("NotWorking")]
#if FEATURE_NO_BSD_SOCKETS
[ExpectedException (typeof (PlatformNotSupportedException))]
#endif
Expand Down
5 changes: 0 additions & 5 deletions mcs/class/System/Test/System.Net.Sockets/TcpClientCas.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ public void SetUp ()
}

// async tests (for stack propagation)
/* Oops - not yet implemented in Mono
private void ConnectCallback (IAsyncResult ar)
{
TcpClient c = (TcpClient)ar.AsyncState;
Expand All @@ -71,7 +70,6 @@ private void ConnectCallback (IAsyncResult ar)

[Test]
[EnvironmentPermission (SecurityAction.Deny, Read = "USERNAME")]
[Category ("InetAccess")]
public void AsyncConnect_StringIntAsyncCallbackObject ()
{
TcpClient s = new TcpClient ();
Expand All @@ -86,7 +84,6 @@ public void AsyncConnect_StringIntAsyncCallbackObject ()

[Test]
[EnvironmentPermission (SecurityAction.Deny, Read = "USERNAME")]
[Category ("InetAccess")]
public void AsyncConnect_IPAddressIntAsyncCallbackObject ()
{
IPHostEntry host = Dns.Resolve ("www.google.com");
Expand All @@ -102,7 +99,6 @@ public void AsyncConnect_IPAddressIntAsyncCallbackObject ()

[Test]
[EnvironmentPermission (SecurityAction.Deny, Read = "USERNAME")]
[Category ("InetAccess")]
public void AsyncConnect_IPAddressArrayIntAsyncCallbackObject ()
{
IPHostEntry host = Dns.Resolve ("www.google.com");
Expand All @@ -115,6 +111,5 @@ public void AsyncConnect_IPAddressArrayIntAsyncCallbackObject ()
Assert.Ignore ("Timeout");
Assert.IsNull (message, message);
}
*/
}
}
2 changes: 0 additions & 2 deletions mcs/class/System/Test/System.Net/HttpWebRequestTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ public void Proxy_Null ()
}

[Test]
[Category("InetAccess")]
#if FEATURE_NO_BSD_SOCKETS
[ExpectedException (typeof (PlatformNotSupportedException))]
#endif
Expand Down Expand Up @@ -135,7 +134,6 @@ public void CloseRequestStreamAfterReadingResponse ()
}

[Test]
//[Category("InetAccess")]
[Category ("NotWorking")] // Disabled until a server that meets requirements is found
public void Cookies1 ()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public void Finish ()
}

[Test, ExpectedException (typeof (InvalidOperationException))]
[Category ("InetAccess")]
[Category ("NotWorking")]
public void MaxServicePointManagers ()
{
Assert.AreEqual (0, ServicePointManager.MaxServicePoints, "#1");
Expand Down
Loading