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
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@

namespace Microsoft.Extensions.SourceGeneration.Configuration.Binder.Tests
{
[ActiveIssue("https://github.com/dotnet/runtime/issues/52062", TestPlatforms.Browser)]
public partial class ConfigurationBindingGeneratorTests : ConfigurationBinderTestsBase
{
[Theory]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ public void ProviderDisposesChangeTokenRegistration()

// Moq heavily utilizes RefEmit, which does not work on most aot workloads
[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsReflectionEmitSupported))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/52319", TestPlatforms.Android)]
public void ProviderThrowsInvalidDataExceptionWhenLoadFails()
{
var tempFile = Path.GetTempFileName();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ public class IniConfigurationExtensionsTest
[Theory]
[InlineData(null)]
[InlineData("")]
[ActiveIssue("https://github.com/dotnet/runtime/issues/50867", TestPlatforms.Android)]
public void AddIniFile_ThrowsIfFilePathIsNullOrEmpty(string? path)
{
// Arrange
Expand All @@ -26,7 +25,6 @@ public void AddIniFile_ThrowsIfFilePathIsNullOrEmpty(string? path)
}

[Fact]
[ActiveIssue("https://github.com/dotnet/runtime/issues/50867", TestPlatforms.Android)]
public void AddIniFile_ThrowsIfFileDoesNotExistAtPath()
{
// Arrange
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,6 @@ public void ThrowExceptionWhenKeyIsDuplicated()
}

[Fact]
[ActiveIssue("https://github.com/dotnet/runtime/issues/50867", TestPlatforms.Android)]
public void IniConfiguration_Throws_On_Missing_Configuration_File()
{
var exception = Assert.Throws<FileNotFoundException>(() => new ConfigurationBuilder().AddIniFile("NotExistingConfig.ini").Build());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -726,9 +726,9 @@ public void XmlConfiguration_Does_Not_Throw_On_Optional_Configuration()
var config = new ConfigurationBuilder().AddXmlFile("NotExistingConfig.xml", optional: true).Build();
}

[Fact]
[ActiveIssue("https://github.com/dotnet/runtime/issues/73432", typeof(PlatformDetection), nameof(PlatformDetection.IsBuiltWithAggressiveTrimming))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/37669", TestPlatforms.Browser)]
[Fact]
public void LoadKeyValuePairsFromValidEncryptedXml()
{
var xml = @"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

namespace Microsoft.Extensions.DependencyInjection.Tests
{
[ActiveIssue("https://github.com/dotnet/runtime/issues/33894", TestRuntimes.Mono)]
public class ServiceProviderCompilationTest
{
// Runs the compilation on a dedicated thread with a small stack size, which requires multithreading support.
Expand All @@ -19,7 +18,6 @@ public class ServiceProviderCompilationTest
[InlineData(ServiceProviderMode.Runtime, typeof(I999))]
[InlineData(ServiceProviderMode.ILEmit, typeof(I999))]
[InlineData(ServiceProviderMode.Expressions, typeof(I999))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/33894", TestRuntimes.Mono)]
private async Task CompilesInLimitedStackSpace(ServiceProviderMode mode, Type serviceType)
{
// Arrange
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ public void ReadsRuntimeTargetInfo(bool withPreamble)
}

[Fact]
[ActiveIssue("https://github.com/dotnet/runtime/issues/50872", TestPlatforms.Android)]
public void ReadsRuntimeTargetInfoWithCommentsIsInvalid()
{
var exception = Assert.ThrowsAny<JsonException>(() => Read(
Expand Down Expand Up @@ -308,7 +307,6 @@ public void ReadsCompilationTarget()
}

[Fact]
[ActiveIssue("https://github.com/dotnet/runtime/issues/50872", TestPlatforms.Android)]
public void RejectsMissingLibrary()
{
var exception = Assert.Throws<InvalidOperationException>(() => Read(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,6 @@ public void LastCallToUseEnvironmentWins(string environment)
}

[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsMultithreadingSupported))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/48696")]
public async Task CreateDefaultBuilder_ConfigJsonDoesNotReload()
{
var reloadFlagConfig = new Dictionary<string, string>() { { "hostbuilder:reloadConfigOnChange", "false" } };
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ public void Build_SomeAdditionalHandlers_PutsTogetherDelegatingHandlers()
}

[Fact]
[ActiveIssue("https://github.com/dotnet/runtime/issues/50873", TestPlatforms.Android)]
public void Build_PrimaryHandlerIsNull_UsesDefault()
{
// Arrange
Expand All @@ -101,7 +100,6 @@ public void Build_PrimaryHandlerIsNull_UsesDefault()
}

[Fact]
[ActiveIssue("https://github.com/dotnet/runtime/issues/50873", TestPlatforms.Android)]
public void Build_AdditionalHandlerIsNull_ThrowsException()
{
// Arrange
Expand All @@ -120,7 +118,6 @@ public void Build_AdditionalHandlerIsNull_ThrowsException()

// Moq heavily utilizes RefEmit, which does not work on most aot workloads
[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsReflectionEmitSupported))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/50873", TestPlatforms.Android)]
public void Build_AdditionalHandlerHasNonNullInnerHandler_ThrowsException()
{
// Arrange
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ public void AddHttpClient_RegistersDefaultClientAsHttpClient()
}

[Fact] // Verifies that AddHttpClient does not override any existing registration
[ActiveIssue("https://github.com/dotnet/runtime/issues/50873", TestPlatforms.Android)]
public void AddHttpClient_DoesNotRegisterDefaultClientIfAlreadyRegistered()
{
// Arrange
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ public class HttpMessageHandlerBuilderTest
{
// Moq heavily utilizes RefEmit, which does not work on most aot workloads
[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsReflectionEmitSupported))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/50873", TestPlatforms.Android)]
public void Build_AdditionalHandlerIsNull_ThrowsException()
{
// Arrange
Expand All @@ -32,7 +31,6 @@ public void Build_AdditionalHandlerIsNull_ThrowsException()

// Moq heavily utilizes RefEmit, which does not work on most aot workloads
[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsReflectionEmitSupported))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/50873", TestPlatforms.Android)]
public void Build_AdditionalHandlerHasNonNullInnerHandler_ThrowsException()
{
// Arrange
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

namespace Microsoft.Extensions.Logging.Generators.Tests
{
[ActiveIssue("https://github.com/dotnet/runtime/issues/52062", TestPlatforms.Browser)]
public class LoggerMessageGeneratorEmitterTests
{
[Fact]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

namespace Microsoft.Extensions.Logging.Generators.Tests
{
[ActiveIssue("https://github.com/dotnet/runtime/issues/52062", TestPlatforms.Browser)]
public class LoggerMessageGeneratorParserTests
{
[Fact]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ public class LoggerFactoryExtensionsTest
{
// Moq heavily utilizes RefEmit, which does not work on most aot workloads
[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsReflectionEmitSupported))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/34091", TestRuntimes.Mono)]
public void LoggerFactoryCreateOfT_CallsCreateWithCorrectName()
{
// Arrange
Expand All @@ -32,7 +31,6 @@ public void LoggerFactoryCreateOfT_CallsCreateWithCorrectName()

// Moq heavily utilizes RefEmit, which does not work on most aot workloads
[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsReflectionEmitSupported))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/34091", TestRuntimes.Mono)]
public void LoggerFactoryCreateOfT_SingleGeneric_CallsCreateWithCorrectName()
{
// Arrange
Expand All @@ -49,7 +47,6 @@ public void LoggerFactoryCreateOfT_SingleGeneric_CallsCreateWithCorrectName()

// Moq heavily utilizes RefEmit, which does not work on most aot workloads
[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsReflectionEmitSupported))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/34091", TestRuntimes.Mono)]
public void LoggerFactoryCreateOfT_TwoGenerics_CallsCreateWithCorrectName()
{
// Arrange
Expand Down Expand Up @@ -121,7 +118,6 @@ public void CreatesLoggerName_OnMultipleTypeArgumentGenericType_CreatesWithoutGe

// Moq heavily utilizes RefEmit, which does not work on most aot workloads
[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsReflectionEmitSupported))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/34091", TestRuntimes.Mono)]
public void LoggerFactoryCreate_CallsCreateWithCorrectName()
{
// Arrange
Expand All @@ -141,7 +137,6 @@ public void LoggerFactoryCreate_CallsCreateWithCorrectName()

// Moq heavily utilizes RefEmit, which does not work on most aot workloads
[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsReflectionEmitSupported))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/34091", TestRuntimes.Mono)]
public void LoggerFactoryCreate_SingleGeneric_CallsCreateWithCorrectName()
{
// Arrange
Expand All @@ -158,7 +153,6 @@ public void LoggerFactoryCreate_SingleGeneric_CallsCreateWithCorrectName()

// Moq heavily utilizes RefEmit, which does not work on most aot workloads
[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsReflectionEmitSupported))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/34091", TestRuntimes.Mono)]
public void LoggerFactoryCreate_TwoGenerics_CallsCreateWithCorrectName()
{
// Arrange
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,6 @@ public void DefaultCategoryIsCaseInsensitive()
}

[Fact]
[ActiveIssue("https://github.com/dotnet/runtime/issues/50875", TestPlatforms.Android)]
public void MultipleWildcardsAreNotAllowed()
{
var options = new LoggerFilterOptions()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,6 @@ public void LogMessage_WithNullParameter_DoesNotMutateArgument()
}

[Fact]
[ActiveIssue("https://github.com/dotnet/runtime/issues/50875", TestPlatforms.Android)]
public void DefineMessage_WithNoParameters_ThrowsException_WhenFormatString_HasNamedParameters()
{
// Arrange
Expand All @@ -276,7 +275,6 @@ public void DefineMessage_WithNoParameters_ThrowsException_WhenFormatString_HasN
[InlineData(4)]
[InlineData(5)]
[InlineData(6)]
[ActiveIssue("https://github.com/dotnet/runtime/issues/50875", TestPlatforms.Android)]
public void DefineMessage_ThrowsException_WhenExpectedFormatStringParameterCount_NotFound(
int expectedNamedParameterCount)
{
Expand Down Expand Up @@ -321,7 +319,6 @@ public void DefineMessage_ThrowsException_WhenExpectedFormatStringParameterCount
}

[Fact]
[ActiveIssue("https://github.com/dotnet/runtime/issues/50875", TestPlatforms.Android)]
public void DefineScope_WithNoParameters_ThrowsException_WhenFormatString_HasNamedParameters()
{
// Arrange
Expand All @@ -343,7 +340,6 @@ public void DefineScope_WithNoParameters_ThrowsException_WhenFormatString_HasNam
[InlineData(4)]
[InlineData(5)]
[InlineData(6)]
[ActiveIssue("https://github.com/dotnet/runtime/issues/50875", TestPlatforms.Android)]
public void DefineScope_ThrowsException_WhenExpectedFormatStringParameterCount_NotFound(
int expectedNamedParameterCount)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ public void LoggerCanGetProviderAfterItIsCreated()

// Moq heavily utilizes RefEmit, which does not work on most aot workloads
[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsReflectionEmitSupported))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/34091", TestRuntimes.Mono)]
public void ScopesAreNotCreatedForDisabledLoggers()
{
var provider = new Mock<ILoggerProvider>();
Expand All @@ -153,7 +152,6 @@ public void ScopesAreNotCreatedForDisabledLoggers()

// Moq heavily utilizes RefEmit, which does not work on most aot workloads
[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsReflectionEmitSupported))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/34091", TestRuntimes.Mono)]
public void ScopesAreNotCreatedWhenScopesAreDisabled()
{
var provider = new Mock<ILoggerProvider>();
Expand All @@ -179,7 +177,6 @@ public void ScopesAreNotCreatedWhenScopesAreDisabled()

// Moq heavily utilizes RefEmit, which does not work on most aot workloads
[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsReflectionEmitSupported))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/34091", TestRuntimes.Mono)]
public void ScopesAreNotCreatedInIScopeProviderWhenScopesAreDisabled()
{
var provider = new Mock<ILoggerProvider>();
Expand Down Expand Up @@ -213,7 +210,6 @@ public void ScopesAreNotCreatedInIScopeProviderWhenScopesAreDisabled()

// Moq heavily utilizes RefEmit, which does not work on most aot workloads
[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsReflectionEmitSupported))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/34091", TestRuntimes.Mono)]
public void CaptureScopesIsReadFromConfiguration()
{
var provider = new Mock<ILoggerProvider>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,6 @@ public void CanMixConfigureEverything()
}

[Fact]
[ActiveIssue("https://github.com/dotnet/runtime/issues/50877", TestPlatforms.Android)]
public void ConfigureOptionsThrowsWithAction()
{
var services = new ServiceCollection();
Expand All @@ -361,7 +360,6 @@ public void ConfigureOptionsThrowsWithAction()
}

[Fact]
[ActiveIssue("https://github.com/dotnet/runtime/issues/50877", TestPlatforms.Android)]
public void ConfigureOptionsThrowsIfNothingFound()
{
var services = new ServiceCollection();
Expand Down
Loading