Skip to content

Commit

Permalink
[mono] Reenable disabled tests as mono now respects non-public custom…
Browse files Browse the repository at this point in the history
… attributes in dynamic assemblies (#88322)

* Reenable disabled tests
* Disable Roslyn analyzer tests in the browser as Monitor.Wait / Monitor.Pulse are not supported on single-threaded WASM

Contributes to: #60650
  • Loading branch information
ivanpovazan authored Jul 4, 2023
1 parent 79c2669 commit 01c9a84
Show file tree
Hide file tree
Showing 16 changed files with 1 addition and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

namespace IntrinsicsInSystemPrivateCoreLib.Test
{
[ActiveIssue("https://github.com/dotnet/runtime/issues/60650", TestRuntimes.Mono)]
[SkipOnPlatform(TestPlatforms.Browser, "Do not try to run analyzer tests in the browser")]
public class IntrinsicsInSystemPrivateCoreLibUnitTest
{
string BoilerPlate = @"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

namespace ComInterfaceGenerator.Unit.Tests
{
[ActiveIssue("https://github.com/dotnet/runtime/issues/60650", TestRuntimes.Mono)]
public class AddGeneratedComClassTests
{
[Fact]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

namespace ComInterfaceGenerator.Unit.Tests
{
[ActiveIssue("https://github.com/dotnet/runtime/issues/60650", TestRuntimes.Mono)]
public class ComHostingDoesNotSupportGeneratedComInterfaceTests
{
[InlineData(true)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

namespace ComInterfaceGenerator.Unit.Tests
{
[ActiveIssue("https://github.com/dotnet/runtime/issues/60650", TestRuntimes.Mono)]
public class ConvertToGeneratedComInterfaceTests
{
[Fact]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

namespace ComInterfaceGenerator.Unit.Tests
{
[ActiveIssue("https://github.com/dotnet/runtime/issues/60650", TestRuntimes.Mono)]
public class GeneratedComInterfaceAnalyzerTests
{
static string _usings = $$"""
Expand All @@ -21,7 +20,6 @@ public class GeneratedComInterfaceAnalyzerTests
#pragma warning restore CS8019
""";

[ActiveIssue("https://github.com/dotnet/runtime/issues/60650", TestRuntimes.Mono)]
public class InterfaceHasInterfaceTypeAttributeOnly
{
[Fact]
Expand Down Expand Up @@ -143,7 +141,6 @@ void Bar() {}
}
}

[ActiveIssue("https://github.com/dotnet/runtime/issues/60650", TestRuntimes.Mono)]
public class InterfaceHasGeneratedComInterfaceAttributeOnly
{
[Fact]
Expand All @@ -162,7 +159,6 @@ void Bar() {}
}
}

[ActiveIssue("https://github.com/dotnet/runtime/issues/60650", TestRuntimes.Mono)]
public class InterfaceHasGeneratedComInterfaceAttributeAndInterfaceTypeAttribute
{
[Fact]
Expand Down Expand Up @@ -318,7 +314,6 @@ await VerifyCS.VerifyAnalyzerAsync(
}
}

[ActiveIssue("https://github.com/dotnet/runtime/issues/60650", TestRuntimes.Mono)]
public class PartialInterfaceHasGeneratedComInterfaceAttributeAndInterfaceTypeAttribute
{
[Fact]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

namespace ComInterfaceGenerator.Unit.Tests
{
[ActiveIssue("https://github.com/dotnet/runtime/issues/60650", TestRuntimes.Mono)]
public class RuntimeComApiUsageWithSourceGeneratedComTests
{
[Fact]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

namespace LibraryImportGenerator.UnitTests
{
[ActiveIssue("https://github.com/dotnet/runtime/issues/60650", TestRuntimes.Mono)]
public class AddDisableRuntimeMarshallingAttributeFixerTests
{
[Fact]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

namespace LibraryImportGenerator.UnitTests
{
[ActiveIssue("https://github.com/dotnet/runtime/issues/60650", TestRuntimes.Mono)]
public class ConvertToLibraryImportAnalyzerTests
{
public static IEnumerable<object[]> MarshallingRequiredTypes() => new[]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@

namespace LibraryImportGenerator.UnitTests
{
[ActiveIssue("https://github.com/dotnet/runtime/issues/60650", TestRuntimes.Mono)]
public class ConvertToLibraryImportFixerTests
{
private const string ConvertToLibraryImportKey = "ConvertToLibraryImport";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@

namespace LibraryImportGenerator.UnitTests
{
[ActiveIssue("https://github.com/dotnet/runtime/issues/60650", TestRuntimes.Mono)]
public class CustomMarshallerAttributeAnalyzerTests_AttributeUsage
{
[Fact]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@

namespace LibraryImportGenerator.UnitTests
{
[ActiveIssue("https://github.com/dotnet/runtime/issues/60650", TestRuntimes.Mono)]
public class CustomMarshallerAttributeAnalyzerTests_StatefulLinearCollectionShapeValidation
{
[Fact]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

namespace LibraryImportGenerator.UnitTests
{
[ActiveIssue("https://github.com/dotnet/runtime/issues/60650", TestRuntimes.Mono)]
public class CustomMarshallerAttributeAnalyzerTests_StatefulValueShapeValidation
{
[Fact]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@

namespace LibraryImportGenerator.UnitTests
{
[ActiveIssue("https://github.com/dotnet/runtime/issues/60650", TestRuntimes.Mono)]
public class CustomMarshallerAttributeAnalyzerTests_StatelessLinearCollectionShapeValidation
{
[Fact]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@

namespace LibraryImportGenerator.UnitTests
{
[ActiveIssue("https://github.com/dotnet/runtime/issues/60650", TestRuntimes.Mono)]
public class CustomMarshallerAttributeAnalyzerTests_StatelessValueShapeValidation
{
[Fact]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

namespace LibraryImportGenerator.UnitTests
{
[ActiveIssue("https://github.com/dotnet/runtime/issues/60650", TestRuntimes.Mono)]
public class NativeMarshallingAttributeAnalyzerTests
{
[Fact]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

namespace LibraryImportGenerator.UnitTests
{
[ActiveIssue("https://github.com/dotnet/runtime/issues/60650", TestRuntimes.Mono)]
public class ShapeBreakingDiagnosticSuppressorTests
{
[Fact]
Expand Down

0 comments on commit 01c9a84

Please sign in to comment.