Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Mono.Android-Tests] Update ignored .NET 6 tests #5802

Merged
merged 1 commit into from
Apr 1, 2021
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
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ namespace Android.RuntimeTests {
public class XmlReaderPullParserTest {

[Test]
[Category ("DotNetIgnore")] // Missing crypto / networking support.
public void ToLocalJniHandle ()
{
var p = Application.Context.Resources.GetXml (MyResource.Xml.XmlReaderResourceParser);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ namespace Android.RuntimeTests {
public class XmlReaderResourceParserTest {

[Test]
[Category ("DotNetIgnore")] // Missing crypto / networking support.
public void ToLocalJniHandle ()
{
var p = Application.Context.Resources.GetXml (MyResource.Xml.XmlReaderResourceParser);
Expand Down
3 changes: 0 additions & 3 deletions tests/Mono.Android-Tests/Java.Interop/JnienvTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,6 @@ public void SetField_PermitNullValues ()
}

[Test]
[Category ("DotNetIgnore")] // https://github.com/xamarin/xamarin-android/issues/5265
public void CreateTypeWithExportedMethods ()
{
using (var e = new ContainsExportedMethods ()) {
Expand Down Expand Up @@ -454,9 +453,7 @@ public ContainsExportedMethods ()
Constructed = true;
}

#if !NET // https://github.com/xamarin/xamarin-android/issues/5265
[Export]
#endif
public void Exported ()
{
Count++;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<_MonoAndroidTestPackage>Mono.Android.NET_Tests</_MonoAndroidTestPackage>
<PlotDataLabelSuffix>-NET6</PlotDataLabelSuffix>
<!-- TODO: Fix excluded tests -->
<ExcludeCategories>DotNetIgnore:InetAccess</ExcludeCategories>
<ExcludeCategories>DotNetIgnore</ExcludeCategories>
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
namespace System.Drawing {

[TestFixture]
[NUnit.Framework.Category ("DotNetIgnore")] // https://github.com/xamarin/xamarin-android/issues/5275
public class TypeConverterTest {

[Test]
Expand Down
2 changes: 1 addition & 1 deletion tests/Mono.Android-Tests/System.Net/SslTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

namespace System.NetTests {

[TestFixture, Category ("InetAccess")]
[TestFixture, Category ("InetAccess"), Category ("DotNetIgnore")]
public class SslTest
{
bool ShouldIgnoreException (WebException wex)
Expand Down
2 changes: 1 addition & 1 deletion tests/Mono.Android-Tests/System.Net/WebSocketTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace System.NetTests
[TestFixture]
public class WebSocketTests
{
[Test, Category ("InetAccess")]
[Test, Category ("InetAccess"), Category ("DotNetIgnore")] // https://github.com/xamarin/xamarin-android/issues/5801
public void TestSocketConnection()
{
string testMessage = "This is a test!";
Expand Down
1 change: 0 additions & 1 deletion tests/Mono.Android-Tests/System/TimeZoneTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ namespace Xamarin.Android.RuntimeTests
public class TimeZoneTest
{
[Test]
[Category ("DotNetIgnore")] // https://github.com/dotnet/runtime/issues/44358
public void TestDaylightSavingsTime ()
{
using (var jtz = Java.Util.TimeZone.Default) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ static Type GetInnerHandlerType (HttpClient httpClient)
return innerHandler.GetType ();
}

[Test]
[Test, Category ("DotNetIgnore")]
public void Sanity_Tls_1_2_Url_WithMonoClientHandlerFails ()
{
var tlsProvider = global::System.Environment.GetEnvironmentVariable ("XA_TLS_PROVIDER");
Expand Down