SkipOnMono should only be used for features which won't be implemented by Mono, not general bugs.
+++ /dev/null
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-
-using Xunit;
-
-[assembly: SkipOnMono("System.ComponentModel.Composition.Registration APIs are not supported on this platform")]
\ No newline at end of file
<TargetFrameworks>$(NetCoreAppCurrent)</TargetFrameworks>
</PropertyGroup>
<ItemGroup>
- <Compile Include="AssemblyInfo.cs" />
<Compile Include="InternalCalls.cs" />
<Compile Include="System\ComponentModel\Composition\Registration\ExportBuilderTests.cs" />
<Compile Include="System\ComponentModel\Composition\Registration\ExportBuilderUnitTests.cs" />
}
[Fact]
+ [ActiveIssue("https://github.com/dotnet/runtime/issues/32744", TestRuntimes.Mono)]
public void ExportInterfaceWithTypeOf1()
{
var ctx = new RegistrationBuilder();
}
[Fact]
+ [ActiveIssue("https://github.com/dotnet/runtime/issues/32744", TestRuntimes.Mono)]
public void ExportInterfaceWithTypeOf2()
{
var ctx = new RegistrationBuilder();
}
[Fact]
+ [ActiveIssue("https://github.com/dotnet/runtime/issues/32744", TestRuntimes.Mono)]
public void ExportInheritedInterfaceWithImplements1()
{
var ctx = new RegistrationBuilder();
}
[Fact]
+ [ActiveIssue("https://github.com/dotnet/runtime/issues/32744", TestRuntimes.Mono)]
public void ExportInheritedInterfaceWithImplements2()
{
var ctx = new RegistrationBuilder();
}
[Fact]
+ [ActiveIssue("https://github.com/dotnet/runtime/issues/32744", TestRuntimes.Mono)]
public void StandardExportInterfacesShouldWork()
{
var builder = new RegistrationBuilder();
}
[Fact]
+ [ActiveIssue("https://github.com/dotnet/runtime/issues/32744", TestRuntimes.Mono)]
public void StandardExportInterfacesDefaultContractShouldWork()
{ //Same test as above only using default export builder
var builder = new RegistrationBuilder();
}
[Fact]
+ [ActiveIssue("https://github.com/dotnet/runtime/issues/32744", TestRuntimes.Mono)]
public void InsideTheLambdaCallGetCustomAttributesShouldSucceed()
{
//Same test as above only using default export builder
public class PartBuilderUnitTests
{
[Fact]
+ [ActiveIssue("https://github.com/dotnet/runtime/issues/32744", TestRuntimes.Mono)]
public void ManyConstructorsControllerFindLongestConstructor_ShouldSucceed()
{
var ctx = new RegistrationBuilder();
}
[Fact]
+ [ActiveIssue("https://github.com/dotnet/runtime/issues/32744", TestRuntimes.Mono)]
public void ManyConstructorsControllerFindLongestConstructorAndImportByName_ShouldSucceed()
{
var ctx = new RegistrationBuilder();
}
[Fact]
+ [ActiveIssue("https://github.com/dotnet/runtime/issues/32744", TestRuntimes.Mono)]
public void LongestConstructorWithAttribute_ShouldSucceed()
{
var ctx = new RegistrationBuilder();
}
[Fact]
+ [ActiveIssue("https://github.com/dotnet/runtime/issues/32744", TestRuntimes.Mono)]
public void LongestConstructorShortestWithAttribute_ShouldSucceed()
{
var ctx = new RegistrationBuilder();
}
[Fact]
+ [ActiveIssue("https://github.com/dotnet/runtime/issues/32744", TestRuntimes.Mono)]
public void AmbiguousConstructorWithAttributeAppliedToOne_ShouldSucceed()
{
var ctx = new RegistrationBuilder();
[Fact]
+ [ActiveIssue("https://github.com/dotnet/runtime/issues/32744", TestRuntimes.Mono)]
public void AmbiguousConstructor_ShouldFail()
{
var ctx = new RegistrationBuilder();
}
[Fact]
+ [ActiveIssue("https://github.com/dotnet/runtime/issues/32744", TestRuntimes.Mono)]
public void RegistrationBuilder_WithExportDelegatesShouldNotThrow()
{
var rb = new RegistrationBuilder();
}
[Fact]
+ [ActiveIssue("https://github.com/dotnet/runtime/issues/32744", TestRuntimes.Mono)]
public void ShouldSucceed()
{
var rb = new RegistrationBuilder();
private class ClassExportingInterface<T> : IGenericInterface<T> { }
[Fact]
+ [ActiveIssue("https://github.com/dotnet/runtime/issues/32743", TestRuntimes.Mono)]
public void GenericInterfaceExportInRegistrationBuilder()
{
CompositionContainer container = CreateRegistrationBuilderContainer(typeof(ClassExportingInterface<>));
private class ClassExportingBaseClass<T> : GenericBaseClass<T> { }
[Fact]
+ [ActiveIssue("https://github.com/dotnet/runtime/issues/32743", TestRuntimes.Mono)]
public void GenericBaseClassExportInRegistrationBuilder()
{
CompositionContainer container = CreateRegistrationBuilderContainer(typeof(ClassExportingBaseClass<>));
private class ExplicitGenericClass<T> { }
[Fact]
+ [ActiveIssue("https://github.com/dotnet/runtime/issues/32743", TestRuntimes.Mono)]
public void ExplicitGenericExportInRegistrationBuilder()
{
CompositionContainer container = CreateRegistrationBuilderContainer(typeof(ExplicitGenericClass<>));
private class ExplicitGenericClass<T, U> { }
[Fact]
+ [ActiveIssue("https://github.com/dotnet/runtime/issues/32743", TestRuntimes.Mono)]
public void ExplicitGenericArity2ExportInRegistrationBuilder()
{
CompositionContainer container = CreateRegistrationBuilderContainer(typeof(ExplicitGenericClass<,>));
using Xunit;
-[assembly: SkipOnMono("Flaky tests: https://github.com/mono/mono/issues/16417")]
+[assembly: ActiveIssue("https://github.com/mono/mono/issues/16417", TestRuntimes.Mono)] // flaky tests
using Xunit;
[assembly: SkipOnCoreClr("System.Net.Tests are flaky and/or long running: https://github.com/dotnet/runtime/issues/131", RuntimeConfiguration.Checked)]
-[assembly: SkipOnMono("System.Net.Tests are flaky and/or long running: https://github.com/dotnet/runtime/issues/131")]
+[assembly: ActiveIssue("https://github.com/dotnet/runtime/issues/131", TestRuntimes.Mono)] // System.Net.Tests are flaky and/or long running
+
[InlineData("")]
[InlineData(null)]
[SkipOnCoreClr("System.Net.Tests are flaky and/or long running: https://github.com/dotnet/runtime/issues/131", RuntimeConfiguration.Checked)]
- [SkipOnMono("System.Net.Tests are flaky and/or long running: https://github.com/dotnet/runtime/issues/131")]
+ [ActiveIssue("https://github.com/dotnet/runtime/issues/131", TestRuntimes.Mono)] // System.Net.Tests are flaky and/or long running
public async Task TestMailDeliveryAsync(string body)
{
using var server = new LoopbackSmtpServer();
[Fact]
[PlatformSpecific(TestPlatforms.Windows)] // NTLM support required, see https://github.com/dotnet/runtime/issues/25827
[SkipOnCoreClr("System.Net.Tests are flaky and/or long running: https://github.com/dotnet/runtime/issues/131", RuntimeConfiguration.Checked)]
- [SkipOnMono("System.Net.Tests are flaky and/or long running: https://github.com/dotnet/runtime/issues/131")]
+ [ActiveIssue("https://github.com/dotnet/runtime/issues/131", TestRuntimes.Mono)] // System.Net.Tests are flaky and/or long running
public async Task TestCredentialsCopyInAsyncContext()
{
using var server = new LoopbackSmtpServer();
[Fact]
[SkipOnCoreClr("System.Net.Tests are flaky and/or long running: https://github.com/dotnet/runtime/issues/131", RuntimeConfiguration.Checked)]
- [SkipOnMono("System.Net.Tests are flaky and/or long running: https://github.com/dotnet/runtime/issues/131")]
+ [ActiveIssue("https://github.com/dotnet/runtime/issues/131", TestRuntimes.Mono)] // System.Net.Tests are flaky and/or long running
public async Task SslStream_NoSniFromClient_CallbackReturnsNull()
{
await WithVirtualConnection(async (server, client) =>
using Xunit;
-[assembly: SkipOnMono("Test hangs: https://github.com/dotnet/runtime/issues/32177")]
\ No newline at end of file
+[assembly: ActiveIssue("https://github.com/dotnet/runtime/issues/32177", TestRuntimes.Mono)] // Test hangs
\ No newline at end of file