diff options
author | Maxim Lipnin <v-maxlip@microsoft.com> | 2019-12-04 00:40:09 +0300 |
---|---|---|
committer | Zoltan Varga <vargaz@gmail.com> | 2019-12-04 00:40:09 +0300 |
commit | e7ef2f3d5fbbbc1c5da8f2fd87a37ad7a2b51013 (patch) | |
tree | e86f7fa5cddc24484e1211cc3386072297e69cee /mcs/class/referencesource | |
parent | 174f2f6a70084eced80d4c0284b0a9eb2cf25432 (diff) |
[Wasm] Enable system nunit tests on ci (#17716)
* [wasm][nunit tests] Enable nunit tests for System on CI
* [wasm][nunit tests] Exclude failing MonoTests.System.Net.Mail.SmtpClientTest tests
* Fix test suit name
* [wasm][nunit tests] Exclude MonoTests.System.Net.HttpListenerPrefixCollectionTest nunit tests
* [wasm][nunit tests] Exclude failing MonoTests.System.Net.HttpListenerTest nunit tests
* [wasm][nunit tests] Exclude MonoTests.System.Net.NetworkInformation.NetworkInterfaceTest nunit tests
* [wasm][nunit tests] Exclude failing MonoTests.System.Net.Sockets.UdpClientTest nunit tests
* [wasm][nunit tests] Exclude failing MonoTests.System.ComponentModel.PropertyDescriptorCollectionTests nunit tests
* [wasm][nunit tests] Exclude failing MonoTests.System.Collections.Specialized.NameValueCollectionTest nunit tests
* [wasm][nunit tests] Exclude failing MonoTests.System.Collections.Concurrent.ConcurrentBagTests nunit tests
* [wasm][nunit tests] Exclude failing MonoTests.System.ComponentModel.BackgroundWorkerTest nunit tests
* [wasm][nunit tests] Exclude failing MonoTests.System.Net.NetworkInformation.IPInterfacePropertiesTest nunit tests
* [wasm][nunit tests] Exclude failing MonoTests.System.ComponentModel.EventDescriptorCollectionTests nunit tests
* [wasm][nunit tests] Exclude failing MonoTests.System.ComponentModel.AsyncOperationManagerTest nunit tests
* [wasm][nunit tests] Exclude failing MonoTests.System.Net.HttpListenerRequestTest nunit tests
* [wasm][nunit tests] Exclude failing MonoTests.System.Net.ServicePointTest nunit tests
* [wasm][nunit tests] Exclude failing MonoTests.System.Net.Sockets.TcpListenerTest nunit tests
* [wasm][nunit tests] Exclude failing MonoTests.System.Net.WebClientTestAsync nunit tests
* [wasm][nunit tests] Exclude failing MonoTests.System.Net.WebProxyTest nunit tests
* [wasm][nunit tests] Exclude failing MonoTests.System.Net.WebRequestTest nunit tests
* [wasm][nunit tests] Exclude failing MonoTests.System.Security.Cryptography.X509Certificates.X509Certificate2CollectionTest nunit tests
* [wasm][nunit tests] Exclude failing MonoTests.System.Timers.TimerTest nunit tests
* [wasm][nunit tests] Exclude failing MonoTests.System.Net.HttpListenerTest.PropertiesWhenClosedSet3 test
* [wasm][nunit tests] Increase timeout for System nunit tests
* [wasm][nunit tests] Exclude failing MonoTests.System.Security.Cryptography.X509Certificates.X509Certificate2CollectionTest.Find_FindByIssuerName test
* [wasm][nunit tests] Remove PNSE expectation in MonoTests.System.Net.Mail.SmtpClientTest tests
* [wasm][nunit tests] Remove PNSE expectation in MonoTests.System.Net.HttpListenerPrefixCollectionTest nunit tests
* [wasm][nunit tests] Remove PNSE expectation in MonoTests.System.Net.HttpListenerTest nunit tests
* Increase CI timeout for System.Core nunit tests
* [wasm][nunit tests] Remove PNSE expectation in MonoTests.System.Net.Sockets.UdpClientTest nunit tests
* [wasm][nunit tests] Update NetworkInterface class to throw PNSE
* [wasm][nunit tests] Ignore failing MonoTests.System.ComponentModel.PropertyDescriptorCollectionTests nunit tests
* [wasm][nunit tests] Ignore failing MonoTests.System.Collections.Specialized.NameValueCollectionTest nunit tests
* [wasm][nunit tests] Adjust the use of Ignore attribute
* [wasm][nunit tests] Categorize failing MonoTests.System.Collections.Concurrent.ConcurrentBagTests nunit tests
* [wasm][nunit tests] Categorize failing MonoTests.System.ComponentModel.BackgroundWorkerTest nunit tests
* [wasm][nunit tests] Categorize failing MonoTests.System.Net.NetworkInformation.IPInterfacePropertiesTest nunit tests
* [wasm][nunit tests] Ignore failing MonoTests.System.Net.NetworkInformation.IPInterfacePropertiesTest nunit tests
* [wasm][nunit tests] Remove the category for passing MonoTests.System.Net.HttpListenerRequestTest nunit tests
* [wasm][nunit tests] Exclude failing part of MonoTests.System.Net.ServicePointTest.DnsRefreshTimeout test
* [wasm][nunit tests] Remove PNSE expectation in failing MonoTests.System.Net.Sockets.TcpListenerTest nunit tests.
* [wasm][nunit tests] Exclude failing MonoTests.System.Net.WebProxyTest nunit tests due to libc issue
* [wasm][nunit tests] Remove PNSE expectation in MonoTests.System.Net.WebRequestTest.DefaultWebProxy test
* [wasm][nunit tests] Exclude failing MonoTests.System.Security.Cryptography.X509Certificates.X509Certificate2CollectionTest nunit tests due to compare info issue
Diffstat (limited to 'mcs/class/referencesource')
-rw-r--r-- | mcs/class/referencesource/System/net/System/Net/NetworkInformation/NetworkInterface.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/mcs/class/referencesource/System/net/System/Net/NetworkInformation/NetworkInterface.cs b/mcs/class/referencesource/System/net/System/Net/NetworkInformation/NetworkInterface.cs index c6dd34f86d7..c2d6c8c0ad8 100644 --- a/mcs/class/referencesource/System/net/System/Net/NetworkInformation/NetworkInterface.cs +++ b/mcs/class/referencesource/System/net/System/Net/NetworkInformation/NetworkInterface.cs @@ -8,19 +8,31 @@ namespace System.Net.NetworkInformation { /// Returns objects that describe the network interfaces on the local computer. public static NetworkInterface[] GetAllNetworkInterfaces(){ +#if WASM + throw new PlatformNotSupportedException (); +#else #if MONO_FEATURE_CAS (new NetworkInformationPermission(NetworkInformationAccess.Read)).Demand(); #endif return SystemNetworkInterface.GetNetworkInterfaces(); +#endif } public static bool GetIsNetworkAvailable(){ +#if WASM + throw new PlatformNotSupportedException (); +#else return SystemNetworkInterface.InternalGetIsNetworkAvailable(); +#endif } public static int LoopbackInterfaceIndex{ get{ +#if WASM + throw new PlatformNotSupportedException (); +#else return SystemNetworkInterface.InternalLoopbackInterfaceIndex; +#endif } } |