From ab6e225d0c3e3b8d2c085ab68f8a6511a64dc562 Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Fri, 10 Apr 2020 13:41:57 +0300 Subject: [PATCH] [mono] Remove CoreFX.issues_windows.rsp file (#32592) Changes: - enabled `runtime (Libraries Test Run release mono Windows_NT x64 Debug)` CI lane (Windows Nano Server CI leg is disabled); - enabled the tests that pass; - marked failing test assemblies/classes/methods with `ActiveIssue` attribute using respective GH issues; - removed CoreFX.issues_windows.rsp file and related mono rsp arguments. Fixes #1980 --- .../libraries/helix-queues-setup.yml | 6 +- eng/pipelines/runtime.yml | 2 +- eng/testing/tests.targets | 15 ---- .../Net/WebSockets/WebSocketCreateTest.cs | 2 + .../Common/tests/Tests/System/StringTests.cs | 1 + src/libraries/Directory.Build.props | 4 -- .../tests/ConfigurationExtensionTest.cs | 3 + .../tests/FunctionalTests/ArrayTests.cs | 2 + .../FunctionalTests/ConfigurationTests.cs | 12 ++++ .../tests/PhysicalFileProviderTests.cs | 26 +++++++ .../tests/PhysicalFilesWatcherTests.cs | 1 + .../tests/UnitTests/HostBuilderTests.cs | 1 + .../tests/UnitTests/HostTests.cs | 7 ++ .../tests/FileSystemTests.cs | 1 + .../tests/BlockingCollectionTests.cs | 1 + .../tests/WindowAndCursorProps.cs | 1 + .../tests/CounterSampleTests.cs | 2 + .../tests/ProcessStartInfoTests.cs | 2 + .../tests/ProcessTests.cs | 3 + .../tests/ComputerPrincipalTest.cs | 1 + .../tests/PrincipalContextTests.cs | 2 + .../tests/SortRequestControlTests.cs | 1 + .../ActiveDirectory/DomainControllerTests.cs | 1 + .../ActiveDirectory/ForestTests.cs | 1 + .../DirectoryServices/DirectoryEntryTests.cs | 1 + .../tests/BitmapTests.cs | 1 + .../tests/Graphics_DrawBezierTests.cs | 1 + .../System.Drawing.Common/tests/IconTests.cs | 6 ++ .../System.Drawing.Common/tests/ImageTests.cs | 1 + .../tests/Imaging/MetafileTests.cs | 9 +++ .../tests/Imaging/PropertyItemTests.cs | 1 + .../tests/ToolboxBitmapAttributeTests.cs | 1 + .../tests/mono/System.Imaging/MetafileTest.cs | 3 +- .../tests/Normalization/NormalizationAll.cs | 1 + .../Normalization/StringNormalizationTests.cs | 1 + .../FileSystemWatcher.Directory.Changed.cs | 1 + .../FileSystemWatcher.Directory.Create.cs | 1 + .../FileSystemWatcher.Directory.Delete.cs | 1 + .../tests/FileSystemWatcher.Directory.Move.cs | 1 + ...ileSystemWatcher.Directory.NotifyFilter.cs | 1 + .../tests/FileSystemWatcher.File.Changed.cs | 1 + .../tests/FileSystemWatcher.File.Create.cs | 1 + .../tests/FileSystemWatcher.File.Delete.cs | 1 + .../tests/FileSystemWatcher.File.Move.cs | 1 + .../FileSystemWatcher.File.NotifyFilter.cs | 1 + .../FileSystemWatcher.InternalBufferSize.cs | 1 + .../tests/FileSystemWatcher.WaitForChanged.cs | 1 + .../tests/FileSystemWatcher.cs | 1 + .../tests/FileSystemWatcher.unit.cs | 1 + .../tests/File/AppendAsync.cs | 1 + .../System.IO.FileSystem/tests/File/Create.cs | 2 +- .../tests/File/EncryptDecrypt.cs | 1 + .../tests/File/ReadWriteAllBytesAsync.cs | 1 + .../tests/File/ReadWriteAllLinesAsync.cs | 1 + .../tests/File/ReadWriteAllTextAsync.cs | 2 + .../tests/FileStream/CopyToAsync.cs | 1 + .../tests/FileStream/IsAsync.cs | 1 + .../tests/FileStream/Pipes.cs | 1 + .../tests/FileStream/ReadAsync.cs | 2 + .../tests/FileStream/ReadWriteSpan.cs | 2 + .../tests/FileStream/SafeFileHandle.cs | 1 + .../tests/FileStream/WriteAsync.cs | 2 + .../FileStream/ctor_sfh_fa_buffer_async.cs | 1 + .../ctor_str_fm_fa_fs_buffer_async.cs | 1 + .../FileStream/ctor_str_fm_fa_fs_buffer_fo.cs | 1 + .../tests/AssemblyInfo.cs | 7 ++ ...System.IO.Pipes.AccessControl.Tests.csproj | 1 + .../System.IO.Pipes/tests/AssemblyInfo.cs | 7 ++ .../tests/System.IO.Pipes.Tests.csproj | 1 + .../tests/SerialPort/GetPortNames.cs | 1 + .../tests/StreamReader/StreamReaderTests.cs | 1 + .../System/Management/ManagementClassTests.cs | 6 ++ .../ManagementClassTestsMofRequired.cs | 2 + .../ManagementObjectSearcherTests.cs | 1 + .../Management/ManagementObjectTests.cs | 2 + .../System/Management/SelectQueryTests.cs | 3 + .../tests/FunctionalTests/AssemblyInfo.cs | 7 ++ ...stem.Net.Http.Json.Functional.Tests.csproj | 1 + .../tests/FunctionalTests/AssemblyInfo.cs | 7 ++ ...ttp.WinHttpHandler.Functional.Tests.csproj | 1 + .../tests/Functional/AssemblyInfo.cs | 7 ++ .../System.Net.Mail.Functional.Tests.csproj | 1 + .../NetworkInterfaceBasicTest.cs | 1 + .../System.Net.Requests/tests/AssemblyInfo.cs | 7 ++ .../tests/System.Net.Requests.Tests.csproj | 1 + .../tests/FunctionalTests/AssemblyInfo.cs | 7 ++ .../System.Net.Security.Tests.csproj | 1 + .../tests/FunctionalTests/AssemblyInfo.cs | 2 + .../tests/AssemblyInfo.cs | 7 ++ .../tests/System.Net.WebClient.Tests.csproj | 1 + .../tests/ClientWebSocketOptionsTests.cs | 1 + .../tests/ConnectTest.cs | 3 + .../ModuleBuilderDefinePInvokeMethod.cs | 1 + .../TypeBuilderDefinePInvokeMethod.cs | 1 + .../Utilities/AbstractMemoryBlockTests.cs | 2 + .../tests/AssemblyNameTests.cs | 1 + .../tests/MemberInfoTests.cs | 3 + .../tests/BinaryResourceWriterUnitTest.cs | 4 ++ .../tests/ResourceManagerTests.cs | 6 +- .../HostFileChangeMonitorTest.cs | 3 + .../EventRegistrationTokenTableTests.cs | 1 + .../EventRegistrationTokenTests.cs | 1 + ...rfaceImplementedInVersionAttributeTests.cs | 1 + .../WindowsRuntimeMarshalTests.cs | 1 + .../tests/AssemblyInfo.cs | 7 ++ ...ystem.Runtime.InteropServices.Tests.csproj | 1 + .../tests/BinaryFormatterTests.cs | 2 + .../tests/AssemblyInfo.cs | 7 ++ ...tem.Runtime.Serialization.Xml.Tests.csproj | 1 + .../tests/System/IO/AsWinRTStreamTests.cs | 1 + .../System/IO/CreateSafeFileHandleTests.cs | 1 + .../WindowsRuntimeBufferExtensionsTests.cs | 1 + .../WindowsRuntimeBufferTests.cs | 1 + .../tests/System/ActivatorTests.cs | 1 + .../System.Runtime/tests/System/GCTests.cs | 1 + .../tests/System/Threading/WaitHandleTests.cs | 3 + .../tests/System/Type/TypeTests.cs | 1 + ...undHandle_AllocateNativeOverlappedTests.cs | 1 + .../tests/ThreadTests.cs | 6 ++ .../System/Drawing/ImageConverterTests.cs | 1 + src/libraries/sendtohelix.proj | 2 - src/mono/netcore/CoreFX.issues_windows.rsp | 72 ------------------- 122 files changed, 280 insertions(+), 101 deletions(-) create mode 100644 src/libraries/System.IO.Pipes.AccessControl/tests/AssemblyInfo.cs create mode 100644 src/libraries/System.IO.Pipes/tests/AssemblyInfo.cs create mode 100644 src/libraries/System.Net.Http.Json/tests/FunctionalTests/AssemblyInfo.cs create mode 100644 src/libraries/System.Net.Http.WinHttpHandler/tests/FunctionalTests/AssemblyInfo.cs create mode 100644 src/libraries/System.Net.Mail/tests/Functional/AssemblyInfo.cs create mode 100644 src/libraries/System.Net.Requests/tests/AssemblyInfo.cs create mode 100644 src/libraries/System.Net.Security/tests/FunctionalTests/AssemblyInfo.cs create mode 100644 src/libraries/System.Net.WebClient/tests/AssemblyInfo.cs create mode 100644 src/libraries/System.Runtime.InteropServices/tests/AssemblyInfo.cs create mode 100644 src/libraries/System.Runtime.Serialization.Xml/tests/AssemblyInfo.cs delete mode 100644 src/mono/netcore/CoreFX.issues_windows.rsp diff --git a/eng/pipelines/libraries/helix-queues-setup.yml b/eng/pipelines/libraries/helix-queues-setup.yml index 24bee99a968d0b..10b99697d0b734 100644 --- a/eng/pipelines/libraries/helix-queues-setup.yml +++ b/eng/pipelines/libraries/helix-queues-setup.yml @@ -90,12 +90,14 @@ jobs: - Windows.81.Amd64.Open - Windows.10.Amd64.ServerRS5.Open - Windows.10.Amd64.Server19H1.Open - - (Windows.Nano.1809.Amd64.Open)windows.10.amd64.serverrs5.open@mcr.microsoft.com/dotnet-buildtools/prereqs:nanoserver-1809-helix-amd64-08e8e40-20200107182504 + - ${{ if ne(parameters.jobParameters.runtimeFlavor, 'mono') }}: + - (Windows.Nano.1809.Amd64.Open)windows.10.amd64.serverrs5.open@mcr.microsoft.com/dotnet-buildtools/prereqs:nanoserver-1809-helix-amd64-08e8e40-20200107182504 - ${{ if eq(parameters.jobParameters.isFullMatrix, false) }}: - Windows.7.Amd64.Open - Windows.81.Amd64.Open - Windows.10.Amd64.Server19H1.ES.Open - - (Windows.Nano.1809.Amd64.Open)windows.10.amd64.serverrs5.open@mcr.microsoft.com/dotnet-buildtools/prereqs:nanoserver-1809-helix-amd64-08e8e40-20200107182504 + - ${{ if ne(parameters.jobParameters.runtimeFlavor, 'mono') }}: + - (Windows.Nano.1809.Amd64.Open)windows.10.amd64.serverrs5.open@mcr.microsoft.com/dotnet-buildtools/prereqs:nanoserver-1809-helix-amd64-08e8e40-20200107182504 # NET472 - ${{ if eq(parameters.jobParameters.framework, 'net472') }}: diff --git a/eng/pipelines/runtime.yml b/eng/pipelines/runtime.yml index 9e90f79a461569..38cdb046f5fe2b 100644 --- a/eng/pipelines/runtime.yml +++ b/eng/pipelines/runtime.yml @@ -683,7 +683,7 @@ jobs: runtimeFlavor: mono buildConfig: ${{ variables.debugOnPrReleaseOnRolling }} platforms: - # - Windows_NT_x64 + - Windows_NT_x64 - OSX_x64 - Linux_arm64 - Linux_x64 diff --git a/eng/testing/tests.targets b/eng/testing/tests.targets index 9936c2ad8293dd..e7e824b6178337 100644 --- a/eng/testing/tests.targets +++ b/eng/testing/tests.targets @@ -16,8 +16,6 @@ $(RunScriptHostDir)dotnet.exe $(RunScriptHostDir)dotnet - - $(RunWorkingDirectory)$(MonoRspFileName) @@ -75,17 +73,6 @@ - - - - <_rspFile Include="$(TestRspFile)" Condition="'$(TestRspFile)' != ''" /> - <_rspFile Include="$(MonoProjectRoot)netcore\CoreFX.issues_windows.rsp" Condition="'$(TargetOS)' == 'Windows_NT'" /> - - - <_rspFileContent Include="$([System.IO.File]::ReadAllText(%(_rspFile.Identity)))" Condition="'$(TargetOS)' != 'OSX' and '$(TargetOS)' != 'Linux'" /> - - - @@ -108,8 +95,6 @@ DependsOnTargets="ValidateTestPlatform"> "$(RunScriptOutputPath)" --runtime-path "$(TestHostRootPath.TrimEnd('\/'))" - - $(RunTestsCommand) --rsp-file "$(MonoRspFile)" $(RunTestsCommand) --rsp-file "$(TestRspFile)" diff --git a/src/libraries/Common/tests/System/Net/WebSockets/WebSocketCreateTest.cs b/src/libraries/Common/tests/System/Net/WebSockets/WebSocketCreateTest.cs index 391c41eeee693f..c5a8f6167683df 100644 --- a/src/libraries/Common/tests/System/Net/WebSockets/WebSocketCreateTest.cs +++ b/src/libraries/Common/tests/System/Net/WebSockets/WebSocketCreateTest.cs @@ -102,6 +102,7 @@ public async Task ReceiveAsync_UTF8SplitAcrossMultipleBuffers_ValidDataReceived( } [Theory] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34690", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [InlineData(0b_1000_0001, 0b_0_000_0001, false)] // fin + text, no mask + length == 1 [InlineData(0b_1100_0001, 0b_0_000_0001, true)] // fin + rsv1 + text, no mask + length == 1 [InlineData(0b_1010_0001, 0b_0_000_0001, true)] // fin + rsv2 + text, no mask + length == 1 @@ -147,6 +148,7 @@ public async Task ReceiveAsync_InvalidFrameHeader_AbortsAndThrowsException(byte } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34690", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public async Task ReceiveAsync_ServerSplitHeader_ValidDataReceived() { using (Socket listener = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp)) diff --git a/src/libraries/Common/tests/Tests/System/StringTests.cs b/src/libraries/Common/tests/Tests/System/StringTests.cs index c32350dbdd3a3c..18f494d9440e4d 100644 --- a/src/libraries/Common/tests/Tests/System/StringTests.cs +++ b/src/libraries/Common/tests/Tests/System/StringTests.cs @@ -7215,6 +7215,7 @@ public static void InternalTestAotSubset() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34577", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public static unsafe void NormalizationTest() // basic test; more tests in globalization tests { // U+0063 LATIN SMALL LETTER C diff --git a/src/libraries/Directory.Build.props b/src/libraries/Directory.Build.props index 45768f60cd6e61..51e21fa9b22897 100644 --- a/src/libraries/Directory.Build.props +++ b/src/libraries/Directory.Build.props @@ -302,10 +302,6 @@ true - - mono.issues.rsp - - true diff --git a/src/libraries/Microsoft.Extensions.Configuration.UserSecrets/tests/ConfigurationExtensionTest.cs b/src/libraries/Microsoft.Extensions.Configuration.UserSecrets/tests/ConfigurationExtensionTest.cs index 43b5366ae8ffef..c0cecba108fcec 100644 --- a/src/libraries/Microsoft.Extensions.Configuration.UserSecrets/tests/ConfigurationExtensionTest.cs +++ b/src/libraries/Microsoft.Extensions.Configuration.UserSecrets/tests/ConfigurationExtensionTest.cs @@ -53,6 +53,7 @@ private void SetSecret(string id, string key, string value) } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void AddUserSecrets_FindsAssemblyAttribute() { var randValue = Guid.NewGuid().ToString(); @@ -67,6 +68,7 @@ public void AddUserSecrets_FindsAssemblyAttribute() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void AddUserSecrets_FindsAssemblyAttributeFromType() { var randValue = Guid.NewGuid().ToString(); @@ -107,6 +109,7 @@ public void AddUserSecrets_DoesNotThrowsIfOptional() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void AddUserSecrets_With_SecretsId_Passed_Explicitly() { var userSecretsId = Guid.NewGuid().ToString(); diff --git a/src/libraries/Microsoft.Extensions.Configuration/tests/FunctionalTests/ArrayTests.cs b/src/libraries/Microsoft.Extensions.Configuration/tests/FunctionalTests/ArrayTests.cs index 0d61f77d54fd44..2a241a7cc0704b 100644 --- a/src/libraries/Microsoft.Extensions.Configuration/tests/FunctionalTests/ArrayTests.cs +++ b/src/libraries/Microsoft.Extensions.Configuration/tests/FunctionalTests/ArrayTests.cs @@ -48,6 +48,7 @@ public class ArrayTests : IDisposable "; [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void DifferentConfigSources_Merged_KeysAreSorted() { var config = BuildConfig(); @@ -76,6 +77,7 @@ public void DifferentConfigSources_Merged_KeysAreSorted() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void DifferentConfigSources_Merged_WithOverwrites() { var config = BuildConfig(); diff --git a/src/libraries/Microsoft.Extensions.Configuration/tests/FunctionalTests/ConfigurationTests.cs b/src/libraries/Microsoft.Extensions.Configuration/tests/FunctionalTests/ConfigurationTests.cs index 2ea4297042e8b4..9b4d8e9462bef8 100644 --- a/src/libraries/Microsoft.Extensions.Configuration/tests/FunctionalTests/ConfigurationTests.cs +++ b/src/libraries/Microsoft.Extensions.Configuration/tests/FunctionalTests/ConfigurationTests.cs @@ -208,6 +208,7 @@ public void MissingFileDoesNotIncludesAbsolutePathIfWithNoPhysicalPath() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void LoadAndCombineKeyValuePairsFromDifferentConfigurationProviders() { WriteTestFiles(); @@ -247,6 +248,7 @@ public void LoadAndCombineKeyValuePairsFromDifferentConfigurationProviders() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void LoadAndCombineKeyValuePairsFromDifferentConfigurationProvidersWithAbsolutePath() { WriteTestFiles(); @@ -287,6 +289,7 @@ public void LoadAndCombineKeyValuePairsFromDifferentConfigurationProvidersWithAb } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void CanOverrideValuesWithNewConfigurationProvider() { WriteTestFiles(); @@ -359,6 +362,7 @@ public IConfigurationProvider Build(IConfigurationBuilder builder) } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void OnLoadErrorWillBeCalledOnJsonParseError() { _fileSystem.WriteFile(Path.Combine(_basePath, "error.json"), @"{""JsonKey1"": ", absolute: true); @@ -387,6 +391,7 @@ public void OnLoadErrorWillBeCalledOnJsonParseError() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void OnLoadErrorWillBeCalledOnXmlParseError() { _fileSystem.WriteFile("error.xml", @"gobblygook"); @@ -414,6 +419,7 @@ public void OnLoadErrorWillBeCalledOnXmlParseError() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void OnLoadErrorWillBeCalledOnIniLoadError() { _fileSystem.WriteFile("error.ini", @"IniKey1=IniValue1 @@ -441,6 +447,7 @@ public void OnLoadErrorWillBeCalledOnIniLoadError() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void OnLoadErrorCanIgnoreErrors() { _fileSystem.WriteFile("error.json", @"{""JsonKey1"": "); @@ -813,6 +820,7 @@ await WaitForChange( } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void LoadIncorrectJsonFile_ThrowException() { var json = @"{ @@ -829,6 +837,7 @@ public void LoadIncorrectJsonFile_ThrowException() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void SetBasePathCalledMultipleTimesForEachSourceLastOneWins() { var builder = new ConfigurationBuilder(); @@ -862,6 +871,7 @@ public void SetBasePathCalledMultipleTimesForEachSourceLastOneWins() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void GetDefaultBasePathForSources() { var builder = new ConfigurationBuilder(); @@ -891,6 +901,7 @@ public void GetDefaultBasePathForSources() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void CanEnumerateProviders() { var config = CreateBuilder() @@ -937,6 +948,7 @@ await WaitForChange( } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void BindingDoesNotThrowIfReloadedDuringBinding() { WriteTestFiles(); diff --git a/src/libraries/Microsoft.Extensions.FileProviders.Physical/tests/PhysicalFileProviderTests.cs b/src/libraries/Microsoft.Extensions.FileProviders.Physical/tests/PhysicalFileProviderTests.cs index be1202550b7c2b..a34c16f44ca32a 100644 --- a/src/libraries/Microsoft.Extensions.FileProviders.Physical/tests/PhysicalFileProviderTests.cs +++ b/src/libraries/Microsoft.Extensions.FileProviders.Physical/tests/PhysicalFileProviderTests.cs @@ -177,6 +177,7 @@ public void GetFileInfoReturnsNotFoundFileInfoForRelativePathWithEmptySegmentsTh } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void CreateReadStreamSucceedsOnEmptyFile() { using (var root = new DisposableFileSystem()) @@ -274,6 +275,7 @@ public void GetFileInfoReturnsFileInfoWhenExclusionDisabled() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void TokenIsSameForSamePath() { using (var root = new DisposableFileSystem()) @@ -296,6 +298,7 @@ public void TokenIsSameForSamePath() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public async Task TokensFiredOnFileChange() { using (var root = new DisposableFileSystem()) @@ -325,6 +328,7 @@ public async Task TokensFiredOnFileChange() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public async Task TokenCallbackInvokedOnFileChange() { using (var root = new DisposableFileSystem()) @@ -360,6 +364,7 @@ public async Task TokenCallbackInvokedOnFileChange() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public async Task WatcherWithPolling_ReturnsTrueForFileChangedWhenFileSystemWatcherDoesNotRaiseEvents() { using (var root = new DisposableFileSystem()) @@ -389,6 +394,7 @@ public async Task WatcherWithPolling_ReturnsTrueForFileChangedWhenFileSystemWatc } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public async Task WatcherWithPolling_ReturnsTrueForFileRemovedWhenFileSystemWatcherDoesNotRaiseEvents() { using (var root = new DisposableFileSystem()) @@ -420,6 +426,7 @@ public async Task WatcherWithPolling_ReturnsTrueForFileRemovedWhenFileSystemWatc } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public async Task TokensFiredOnFileDeleted() { using (var root = new DisposableFileSystem()) @@ -730,6 +737,7 @@ public void GetDirectoryContentsReturnsFilesWhenExclusionDisabled() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public async Task FileChangeTokenNotNotifiedAfterExpiry() { using (var root = new DisposableFileSystem()) @@ -761,6 +769,7 @@ public async Task FileChangeTokenNotNotifiedAfterExpiry() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void TokenIsSameForSamePathCaseInsensitive() { using (var root = new DisposableFileSystem()) @@ -776,6 +785,7 @@ public void TokenIsSameForSamePathCaseInsensitive() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public async Task CorrectTokensFiredForMultipleFiles() { using (var root = new DisposableFileSystem()) @@ -808,6 +818,7 @@ public async Task CorrectTokensFiredForMultipleFiles() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public async Task TokenNotAffectedByExceptions() { using (var root = new DisposableFileSystem()) @@ -865,6 +876,7 @@ public void NoopChangeTokenForFilterThatNavigatesAboveRoot() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void TokenForEmptyFilter() { using (var root = new DisposableFileSystem()) @@ -880,6 +892,7 @@ public void TokenForEmptyFilter() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void TokenForWhitespaceFilters() { using (var root = new DisposableFileSystem()) @@ -912,6 +925,7 @@ public void NoopChangeTokenForAbsolutePathFilters() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public async Task TokenFiredOnCreation() { using (var root = new DisposableFileSystem()) @@ -936,6 +950,7 @@ public async Task TokenFiredOnCreation() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public async Task TokenFiredOnDeletion() { using (var root = new DisposableFileSystem()) @@ -960,6 +975,7 @@ public async Task TokenFiredOnDeletion() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public async Task TokenFiredForFilesUnderPathEndingWithSlash() { using (var root = new DisposableFileSystem()) @@ -997,6 +1013,7 @@ public async Task TokenFiredForFilesUnderPathEndingWithSlash() } [Theory] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [InlineData("/")] [InlineData("///")] [InlineData("/\\/")] @@ -1085,6 +1102,7 @@ private async Task TokenNotFiredForInvalidPathStartingWithSlash(string slashes) } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public async Task TokenFiredForGlobbingPatternsPointingToSubDirectory() { using (var root = new DisposableFileSystem()) @@ -1117,6 +1135,7 @@ public async Task TokenFiredForGlobbingPatternsPointingToSubDirectory() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void TokensWithForwardAndBackwardSlashesAreSame() { using (var root = new DisposableFileSystem()) @@ -1132,6 +1151,7 @@ public void TokensWithForwardAndBackwardSlashesAreSame() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public async Task TokensFiredForOldAndNewNamesOnRename() { using (var root = new DisposableFileSystem()) @@ -1160,6 +1180,7 @@ public async Task TokensFiredForOldAndNewNamesOnRename() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public async Task TokensFiredForNewDirectoryContentsOnRename() { var tcsShouldNotFire = new TaskCompletionSource(); @@ -1232,6 +1253,7 @@ void Fail(object state) } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public async Task TokenNotFiredForFileNameStartingWithPeriod() { using (var root = new DisposableFileSystem()) @@ -1256,6 +1278,7 @@ public async Task TokenNotFiredForFileNameStartingWithPeriod() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] // Hidden and system files only make sense on Windows. [PlatformSpecific(TestPlatforms.Windows)] public async Task TokensNotFiredForHiddenAndSystemFiles() @@ -1297,6 +1320,7 @@ public async Task TokensNotFiredForHiddenAndSystemFiles() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public async Task TokensFiredForAllEntriesOnError() { using (var root = new DisposableFileSystem()) @@ -1324,6 +1348,7 @@ public async Task TokensFiredForAllEntriesOnError() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public async Task WildCardToken_RaisesEventsForNewFilesAdded() { // Arrange @@ -1349,6 +1374,7 @@ public async Task WildCardToken_RaisesEventsForNewFilesAdded() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public async Task WildCardToken_RaisesEventsWhenFileSystemWatcherDoesNotFire() { // Arrange diff --git a/src/libraries/Microsoft.Extensions.FileProviders.Physical/tests/PhysicalFilesWatcherTests.cs b/src/libraries/Microsoft.Extensions.FileProviders.Physical/tests/PhysicalFilesWatcherTests.cs index 98080d76f19d11..e512dd9ee6aeda 100644 --- a/src/libraries/Microsoft.Extensions.FileProviders.Physical/tests/PhysicalFilesWatcherTests.cs +++ b/src/libraries/Microsoft.Extensions.FileProviders.Physical/tests/PhysicalFilesWatcherTests.cs @@ -37,6 +37,7 @@ public void CreateFileChangeToken_DoesNotAllowPathsAboveRoot() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public async Task HandlesOnRenamedEventsThatMatchRootPath() { using (var root = new DisposableFileSystem()) diff --git a/src/libraries/Microsoft.Extensions.Hosting/tests/UnitTests/HostBuilderTests.cs b/src/libraries/Microsoft.Extensions.Hosting/tests/UnitTests/HostBuilderTests.cs index 53c38ea7069e83..6209f2841537f6 100644 --- a/src/libraries/Microsoft.Extensions.Hosting/tests/UnitTests/HostBuilderTests.cs +++ b/src/libraries/Microsoft.Extensions.Hosting/tests/UnitTests/HostBuilderTests.cs @@ -116,6 +116,7 @@ public void CanConfigureAppConfigurationAndRetrieveFromDI() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void CanConfigureAppConfigurationFromFile() { var hostBuilder = new HostBuilder() diff --git a/src/libraries/Microsoft.Extensions.Hosting/tests/UnitTests/HostTests.cs b/src/libraries/Microsoft.Extensions.Hosting/tests/UnitTests/HostTests.cs index bfce74ac543078..8660769a76523f 100644 --- a/src/libraries/Microsoft.Extensions.Hosting/tests/UnitTests/HostTests.cs +++ b/src/libraries/Microsoft.Extensions.Hosting/tests/UnitTests/HostTests.cs @@ -20,6 +20,7 @@ namespace Microsoft.Extensions.Hosting public partial class HostTests { [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void CreateDefaultBuilder_IncludesContentRootByDefault() { var expected = Directory.GetCurrentDirectory(); @@ -32,6 +33,7 @@ public void CreateDefaultBuilder_IncludesContentRootByDefault() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void CreateDefaultBuilder_IncludesCommandLineArguments() { var expected = Directory.GetParent(Directory.GetCurrentDirectory()).FullName; // It must exist @@ -42,6 +44,7 @@ public void CreateDefaultBuilder_IncludesCommandLineArguments() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void CreateDefaultBuilder_RegistersEventSourceLogger() { var listener = new TestEventListener(); @@ -58,6 +61,7 @@ public void CreateDefaultBuilder_RegistersEventSourceLogger() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void CreateDefaultBuilder_EnablesScopeValidation() { var host = Host.CreateDefaultBuilder() @@ -72,6 +76,7 @@ public void CreateDefaultBuilder_EnablesScopeValidation() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void CreateDefaultBuilder_EnablesValidateOnBuild() { var hostBuilder = Host.CreateDefaultBuilder() @@ -85,6 +90,7 @@ public void CreateDefaultBuilder_EnablesValidateOnBuild() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public async Task CreateDefaultBuilder_ConfigJsonDoesNotReload() { var reloadFlagConfig = new Dictionary() {{ "hostbuilder:reloadConfigOnChange", "false" }}; @@ -118,6 +124,7 @@ string SaveRandomConfig() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public async Task CreateDefaultBuilder_ConfigJsonDoesReload() { var reloadFlagConfig = new Dictionary() { { "hostbuilder:reloadConfigOnChange", "true" } }; diff --git a/src/libraries/Microsoft.VisualBasic.Core/tests/FileSystemTests.cs b/src/libraries/Microsoft.VisualBasic.Core/tests/FileSystemTests.cs index 84f421c3b71280..2b6db04eaf236d 100644 --- a/src/libraries/Microsoft.VisualBasic.Core/tests/FileSystemTests.cs +++ b/src/libraries/Microsoft.VisualBasic.Core/tests/FileSystemTests.cs @@ -486,6 +486,7 @@ public void Input_Write() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34362", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void Input_Object_Write() { int fileNumber = FileSystem.FreeFile(); diff --git a/src/libraries/System.Collections.Concurrent/tests/BlockingCollectionTests.cs b/src/libraries/System.Collections.Concurrent/tests/BlockingCollectionTests.cs index 65f1c628ee80b3..6f8a107ccb8c62 100644 --- a/src/libraries/System.Collections.Concurrent/tests/BlockingCollectionTests.cs +++ b/src/libraries/System.Collections.Concurrent/tests/BlockingCollectionTests.cs @@ -974,6 +974,7 @@ public static void Test_LargeSize() } [ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsNotWindowsNanoServer))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34360", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [PlatformSpecific(TestPlatforms.Windows)] public static void Test_LargeSize_STA() { diff --git a/src/libraries/System.Console/tests/WindowAndCursorProps.cs b/src/libraries/System.Console/tests/WindowAndCursorProps.cs index aa7299bf5ae996..44b5453a2ad65d 100644 --- a/src/libraries/System.Console/tests/WindowAndCursorProps.cs +++ b/src/libraries/System.Console/tests/WindowAndCursorProps.cs @@ -224,6 +224,7 @@ public static void Title_Get_Windows_NoNulls() } [ConditionalTheory(typeof(PlatformDetection), nameof(PlatformDetection.IsNotWindowsNanoServer))] // Nano currently ignores set title + [ActiveIssue("https://github.com/dotnet/runtime/issues/34454", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [InlineData(0)] [InlineData(1)] [InlineData(254)] diff --git a/src/libraries/System.Diagnostics.PerformanceCounter/tests/CounterSampleTests.cs b/src/libraries/System.Diagnostics.PerformanceCounter/tests/CounterSampleTests.cs index 8ddfe9b7985a0d..a28cf8ed079614 100644 --- a/src/libraries/System.Diagnostics.PerformanceCounter/tests/CounterSampleTests.cs +++ b/src/libraries/System.Diagnostics.PerformanceCounter/tests/CounterSampleTests.cs @@ -41,6 +41,7 @@ public static void CounterSample_Constructor_CounterSample() } [ConditionalFact(typeof(Helpers), nameof(Helpers.IsElevatedAndCanWriteToPerfCounters))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34409", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public static void CounterSample_Calculate_CalculateCounterSample() { CounterSample counterSample = new CounterSample(5, 0, 0, 0, 0, 0, PerformanceCounterType.NumberOfItems32); @@ -49,6 +50,7 @@ public static void CounterSample_Calculate_CalculateCounterSample() } [ConditionalFact(typeof(Helpers), nameof(Helpers.IsElevatedAndCanWriteToPerfCounters))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34409", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public static void CounterSample_Calculate_CalculateCounterSampleCounterSample() { CounterSample counterSample1 = new CounterSample(5, 0, 0, 1, 0, 0, PerformanceCounterType.CounterDelta32); diff --git a/src/libraries/System.Diagnostics.Process/tests/ProcessStartInfoTests.cs b/src/libraries/System.Diagnostics.Process/tests/ProcessStartInfoTests.cs index 730bcf3121303e..2a24721239d605 100644 --- a/src/libraries/System.Diagnostics.Process/tests/ProcessStartInfoTests.cs +++ b/src/libraries/System.Diagnostics.Process/tests/ProcessStartInfoTests.cs @@ -1081,6 +1081,7 @@ public static TheoryData UseShellExecute private const int ERROR_BAD_EXE_FORMAT = 0xC1; [Theory] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34685", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [MemberData(nameof(UseShellExecute))] [PlatformSpecific(TestPlatforms.Windows)] public void StartInfo_BadVerb(bool useShellExecute) @@ -1096,6 +1097,7 @@ public void StartInfo_BadVerb(bool useShellExecute) } [Theory] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34685", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [MemberData(nameof(UseShellExecute))] [PlatformSpecific(TestPlatforms.Windows)] public void StartInfo_BadExe(bool useShellExecute) diff --git a/src/libraries/System.Diagnostics.Process/tests/ProcessTests.cs b/src/libraries/System.Diagnostics.Process/tests/ProcessTests.cs index 69b1375940b8d2..1b5eb65f043a28 100644 --- a/src/libraries/System.Diagnostics.Process/tests/ProcessTests.cs +++ b/src/libraries/System.Diagnostics.Process/tests/ProcessTests.cs @@ -234,6 +234,7 @@ public void ProcessStart_UseShellExecute_OnWindows_DoesNotThrow(bool isFolder) [ConditionalTheory(typeof(PlatformDetection), nameof(PlatformDetection.IsNotWindowsServerCore), nameof(PlatformDetection.IsNotWindowsNanoServer), nameof(PlatformDetection.IsNotWindowsIoTCore))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34685", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [InlineData(true), InlineData(false)] public void ProcessStart_UseShellExecute_Executes(bool filenameAsUrl) { @@ -253,6 +254,7 @@ public void ProcessStart_UseShellExecute_Executes(bool filenameAsUrl) [ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsNotWindowsServerCore), nameof(PlatformDetection.IsNotWindowsNanoServer), nameof(PlatformDetection.IsNotWindowsIoTCore))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34685", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void ProcessStart_UseShellExecute_ExecuteOrder() { // Create a directory that we will use as PATH @@ -296,6 +298,7 @@ public void ProcessStart_UseShellExecute_ExecuteOrder() [ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsNotWindowsServerCore), nameof(PlatformDetection.IsNotWindowsNanoServer), nameof(PlatformDetection.IsNotWindowsIoTCore))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34685", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void ProcessStart_UseShellExecute_WorkingDirectory() { // Create a directory that will ProcessStartInfo.WorkingDirectory diff --git a/src/libraries/System.DirectoryServices.AccountManagement/tests/ComputerPrincipalTest.cs b/src/libraries/System.DirectoryServices.AccountManagement/tests/ComputerPrincipalTest.cs index 0c133f3e6958f5..e17eaf3f60aac8 100644 --- a/src/libraries/System.DirectoryServices.AccountManagement/tests/ComputerPrincipalTest.cs +++ b/src/libraries/System.DirectoryServices.AccountManagement/tests/ComputerPrincipalTest.cs @@ -46,6 +46,7 @@ public void Ctor_NullPassword_ThrowsArgumentException() } [ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsNotWindowsNanoServer), nameof(PlatformDetection.IsNotWindowsIoTCore))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34442", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void Ctor_MachineContext_NoException() { var context = new PrincipalContext(ContextType.Machine); diff --git a/src/libraries/System.DirectoryServices.AccountManagement/tests/PrincipalContextTests.cs b/src/libraries/System.DirectoryServices.AccountManagement/tests/PrincipalContextTests.cs index 3b2958f0b53a15..7574bac440d1a2 100644 --- a/src/libraries/System.DirectoryServices.AccountManagement/tests/PrincipalContextTests.cs +++ b/src/libraries/System.DirectoryServices.AccountManagement/tests/PrincipalContextTests.cs @@ -11,6 +11,7 @@ namespace System.DirectoryServices.AccountManagement.Tests public class PrincipalContextTests { [ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsNotWindowsNanoServer), nameof(PlatformDetection.IsNotWindowsIoTCore))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34442", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void Ctor_ContextType() { var context = new PrincipalContext(ContextType.Machine); @@ -289,6 +290,7 @@ public void UserName_GetWhenDisposed_ThrowsObjectDisposedException() } [ConditionalTheory(typeof(PlatformDetection), nameof(PlatformDetection.IsNotWindowsNanoServer), nameof(PlatformDetection.IsNotWindowsIoTCore))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34442", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [InlineData(null, null, true)] [InlineData("", "", false)] public void ValidateCredentials_Invoke_ReturnsExpected(string userName, string password, bool expected) diff --git a/src/libraries/System.DirectoryServices.Protocols/tests/SortRequestControlTests.cs b/src/libraries/System.DirectoryServices.Protocols/tests/SortRequestControlTests.cs index 5b611adb66191c..24c57e840cf527 100644 --- a/src/libraries/System.DirectoryServices.Protocols/tests/SortRequestControlTests.cs +++ b/src/libraries/System.DirectoryServices.Protocols/tests/SortRequestControlTests.cs @@ -10,6 +10,7 @@ namespace System.DirectoryServices.Protocols.Tests public class SortRequestControlTests { [Theory] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34679", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [InlineData(true)] [InlineData(false)] public void Ctor_SortKeys(bool critical) diff --git a/src/libraries/System.DirectoryServices/tests/System/DirectoryServices/ActiveDirectory/DomainControllerTests.cs b/src/libraries/System.DirectoryServices/tests/System/DirectoryServices/ActiveDirectory/DomainControllerTests.cs index 0c89ebcfb9f7f5..c87ceec3d75ff8 100644 --- a/src/libraries/System.DirectoryServices/tests/System/DirectoryServices/ActiveDirectory/DomainControllerTests.cs +++ b/src/libraries/System.DirectoryServices/tests/System/DirectoryServices/ActiveDirectory/DomainControllerTests.cs @@ -42,6 +42,7 @@ public void GetDomainController_InvalidName(string name) } [ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsNotWindowsNanoServer), nameof(PlatformDetection.IsNotWindowsIoTCore))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34442", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void GetDomainController_InvalidIPV6() { var context = new DirectoryContext(DirectoryContextType.DirectoryServer, "[::1]:port"); diff --git a/src/libraries/System.DirectoryServices/tests/System/DirectoryServices/ActiveDirectory/ForestTests.cs b/src/libraries/System.DirectoryServices/tests/System/DirectoryServices/ActiveDirectory/ForestTests.cs index b495bfd598949b..f884fda50122ae 100644 --- a/src/libraries/System.DirectoryServices/tests/System/DirectoryServices/ActiveDirectory/ForestTests.cs +++ b/src/libraries/System.DirectoryServices/tests/System/DirectoryServices/ActiveDirectory/ForestTests.cs @@ -36,6 +36,7 @@ public void GetForest_NullNameAndNotRootedDomain_ThrowsActiveDirectoryOperationE } [ConditionalTheory(typeof(PlatformDetection), nameof(PlatformDetection.IsNotWindowsNanoServer), nameof(PlatformDetection.IsNotWindowsIoTCore))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34442", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [InlineData(DirectoryContextType.DirectoryServer, "\0")] [InlineData(DirectoryContextType.Forest, "server:port")] public void GetForest_NonNullNameAndNotRootedDomain_ThrowsActiveDirectoryObjectNotFoundException(DirectoryContextType type, string name) diff --git a/src/libraries/System.DirectoryServices/tests/System/DirectoryServices/DirectoryEntryTests.cs b/src/libraries/System.DirectoryServices/tests/System/DirectoryServices/DirectoryEntryTests.cs index 3d7450bd1496b1..5bf7fe63971b09 100644 --- a/src/libraries/System.DirectoryServices/tests/System/DirectoryServices/DirectoryEntryTests.cs +++ b/src/libraries/System.DirectoryServices/tests/System/DirectoryServices/DirectoryEntryTests.cs @@ -141,6 +141,7 @@ public void CopyTo_DisposedEntry_ThrowsObjectDisposedException() } [ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsNotWindowsNanoServer), nameof(PlatformDetection.IsNotWindowsIoTCore))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34442", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void DeleteTree_NoObject_ThrowsCOMException() { var entry = new DirectoryEntry("path"); diff --git a/src/libraries/System.Drawing.Common/tests/BitmapTests.cs b/src/libraries/System.Drawing.Common/tests/BitmapTests.cs index c1be4b4701a029..f9123c253039c4 100644 --- a/src/libraries/System.Drawing.Common/tests/BitmapTests.cs +++ b/src/libraries/System.Drawing.Common/tests/BitmapTests.cs @@ -33,6 +33,7 @@ namespace System.Drawing.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/34591", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class BitmapTests : FileCleanupTestBase { public static IEnumerable Ctor_FilePath_TestData() diff --git a/src/libraries/System.Drawing.Common/tests/Graphics_DrawBezierTests.cs b/src/libraries/System.Drawing.Common/tests/Graphics_DrawBezierTests.cs index 89b5d6e0c7f70c..294811d12f2375 100644 --- a/src/libraries/System.Drawing.Common/tests/Graphics_DrawBezierTests.cs +++ b/src/libraries/System.Drawing.Common/tests/Graphics_DrawBezierTests.cs @@ -8,6 +8,7 @@ namespace System.Drawing.Tests public class Graphics_DrawBezierTests : DrawingTest { [ConditionalFact(Helpers.IsDrawingSupported)] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34591", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void DrawBezier_Point() { using (Bitmap image = new Bitmap(100, 100)) diff --git a/src/libraries/System.Drawing.Common/tests/IconTests.cs b/src/libraries/System.Drawing.Common/tests/IconTests.cs index 40e2ec0eedd4b0..a201c9bce16e36 100644 --- a/src/libraries/System.Drawing.Common/tests/IconTests.cs +++ b/src/libraries/System.Drawing.Common/tests/IconTests.cs @@ -269,6 +269,7 @@ public void Ctor_NullIcon_ThrowsArgumentNullException() // libgdiplus causes a segfault when given an invalid Icon handle. [PlatformSpecific(TestPlatforms.Windows)] [ConditionalFact(Helpers.IsDrawingSupported)] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34591", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void Ctor_InvalidHandle_Success() { using (Icon icon = Icon.FromHandle((IntPtr)1)) @@ -516,6 +517,7 @@ public void Save_NullOutputStreamIconData_ThrowsNullReferenceException() [ActiveIssue("https://github.com/dotnet/runtime/issues/22221", TestPlatforms.AnyUnix)] [ConditionalFact(Helpers.IsDrawingSupported)] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34591", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void Save_NullOutputStreamNoIconData_ThrowsArgumentNullException() { using (var source = new Icon(Helpers.GetTestBitmapPath("48x48_multiple_entries_4bit.ico"))) @@ -703,6 +705,7 @@ private static Icon GetPngIcon() } [ConditionalFact(Helpers.IsDrawingSupported)] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34591", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void FromHandle_IconHandleOneTime_Success() { using (var icon1 = new Icon(Helpers.GetTestBitmapPath("16x16_one_entry_4bit.ico"))) @@ -715,6 +718,7 @@ public void FromHandle_IconHandleOneTime_Success() } [ConditionalFact(Helpers.IsDrawingSupported)] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34591", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void FromHandle_IconHandleMultipleTime_Success() { using (var icon1 = new Icon(Helpers.GetTestBitmapPath("16x16_one_entry_4bit.ico"))) @@ -735,6 +739,7 @@ public void FromHandle_IconHandleMultipleTime_Success() } [ConditionalFact(Helpers.IsDrawingSupported)] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34591", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void FromHandle_BitmapHandleOneTime_Success() { IntPtr handle; @@ -751,6 +756,7 @@ public void FromHandle_BitmapHandleOneTime_Success() } [ConditionalFact(Helpers.IsDrawingSupported)] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34591", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void FromHandle_BitmapHandleMultipleTime_Success() { IntPtr handle; diff --git a/src/libraries/System.Drawing.Common/tests/ImageTests.cs b/src/libraries/System.Drawing.Common/tests/ImageTests.cs index ebf65b2235a23c..e0ac720cd38f8e 100644 --- a/src/libraries/System.Drawing.Common/tests/ImageTests.cs +++ b/src/libraries/System.Drawing.Common/tests/ImageTests.cs @@ -78,6 +78,7 @@ public void FromFile_NoSuchFile_ThrowsFileNotFoundException() } [ActiveIssue("https://github.com/dotnet/runtime/issues/22221", TestPlatforms.AnyUnix)] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34591", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [ConditionalTheory(Helpers.IsDrawingSupported)] [MemberData(nameof(InvalidBytes_TestData))] public void FromStream_InvalidBytes_ThrowsArgumentException(byte[] bytes) diff --git a/src/libraries/System.Drawing.Common/tests/Imaging/MetafileTests.cs b/src/libraries/System.Drawing.Common/tests/Imaging/MetafileTests.cs index 00df07bf7470f9..ada5782ced86cc 100644 --- a/src/libraries/System.Drawing.Common/tests/Imaging/MetafileTests.cs +++ b/src/libraries/System.Drawing.Common/tests/Imaging/MetafileTests.cs @@ -96,6 +96,7 @@ public void Ctor_InvalidPath_ThrowsArgumentException(string path) } [ConditionalFact(Helpers.IsDrawingSupported)] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34591", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void Ctor_Stream_Success() { using (FileStream stream = File.OpenRead(GetPath(WmfFile))) @@ -113,6 +114,7 @@ public void Ctor_NullStream_ThrowsArgumentException() [ActiveIssue("https://github.com/dotnet/runtime/issues/22221", TestPlatforms.AnyUnix)] [ConditionalFact(Helpers.IsDrawingSupported)] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34591", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void Ctor_EmptyStream_ThrowsExternalException() { using (var stream = new MemoryStream()) @@ -777,6 +779,7 @@ public void Ctor_PathTooLongI_ThrowsPathTooLongException() } [ConditionalFact(Helpers.IsDrawingSupported)] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34591", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void Ctor_StreamIntPtrRectangle_Success() { using (Bitmap bmp = new Bitmap(10, 10, PixelFormat.Format32bppArgb)) @@ -789,6 +792,7 @@ public void Ctor_StreamIntPtrRectangle_Success() } [ConditionalTheory(Helpers.IsDrawingSupported)] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34591", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [MemberData(nameof(MetafileFrameUnit_TestData))] public void Ctor_StreamIntPtrRectangleMetafileFrameUnit_Success(MetafileFrameUnit frameUnit) { @@ -802,6 +806,7 @@ public void Ctor_StreamIntPtrRectangleMetafileFrameUnit_Success(MetafileFrameUni } [ConditionalTheory(Helpers.IsDrawingSupported)] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34591", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [MemberData(nameof(EmfType_TestData))] public void Ctor_StreamIntPtrRectangleMetafileFrameUnitEmfType_Success(EmfType emfType) { @@ -816,6 +821,7 @@ public void Ctor_StreamIntPtrRectangleMetafileFrameUnitEmfType_Success(EmfType e } [ConditionalTheory(Helpers.IsDrawingSupported)] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34591", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [MemberData(nameof(Description_TestData))] public void Ctor_StreamIntPtrRectangleMetafileFrameUnitEmfTypeString_Success(string description) { @@ -831,6 +837,7 @@ public void Ctor_StreamIntPtrRectangleMetafileFrameUnitEmfTypeString_Success(str } [ConditionalTheory(Helpers.IsDrawingSupported)] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34591", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [MemberData(nameof(Description_TestData))] public void Ctor_RectangleEmptyI_Success(string description) { @@ -940,6 +947,7 @@ public void Static_GetMetafileHeader_NullString_ThrowsArgumentNullException() } [ConditionalFact(Helpers.IsDrawingSupported)] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34591", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void Static_GetMetafileHeader_Stream_ReturnsExpected() { using (FileStream stream = File.OpenRead(GetPath(WmfFile))) @@ -957,6 +965,7 @@ public void Static_GetMetafileHeader_NullStream_ThrowsNullReferenceException() [ActiveIssue("https://github.com/dotnet/runtime/issues/22221", TestPlatforms.AnyUnix)] [ConditionalFact(Helpers.IsDrawingSupported)] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34591", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void Static_GetMetafileHeader_EmptyStream_ArgumentException() { using (var stream = new MemoryStream()) diff --git a/src/libraries/System.Drawing.Common/tests/Imaging/PropertyItemTests.cs b/src/libraries/System.Drawing.Common/tests/Imaging/PropertyItemTests.cs index 104ba4263f1a4b..726c5f897523ff 100644 --- a/src/libraries/System.Drawing.Common/tests/Imaging/PropertyItemTests.cs +++ b/src/libraries/System.Drawing.Common/tests/Imaging/PropertyItemTests.cs @@ -40,6 +40,7 @@ public static IEnumerable Properties_TestData() } [ActiveIssue("https://github.com/dotnet/runtime/issues/22221", TestPlatforms.AnyUnix)] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34592", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [ConditionalTheory(Helpers.IsDrawingSupported)] [MemberData(nameof(Properties_TestData))] public void Properties_SetValues_ReturnsExpected(int id, int len, short type, byte[] value) diff --git a/src/libraries/System.Drawing.Common/tests/ToolboxBitmapAttributeTests.cs b/src/libraries/System.Drawing.Common/tests/ToolboxBitmapAttributeTests.cs index 119d902317e76c..e1870b8abb1b50 100644 --- a/src/libraries/System.Drawing.Common/tests/ToolboxBitmapAttributeTests.cs +++ b/src/libraries/System.Drawing.Common/tests/ToolboxBitmapAttributeTests.cs @@ -13,6 +13,7 @@ public class bitmap_173x183_indexed_8bit { } public class Icon_toolboxBitmapAttributeTest { } + [ActiveIssue("https://github.com/dotnet/runtime/issues/34591", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class ToolboxBitmapAttributeTests { private static Size DefaultSize = new Size(16, 16); diff --git a/src/libraries/System.Drawing.Common/tests/mono/System.Imaging/MetafileTest.cs b/src/libraries/System.Drawing.Common/tests/mono/System.Imaging/MetafileTest.cs index 262da7cdda6abf..0a403cc836a21b 100644 --- a/src/libraries/System.Drawing.Common/tests/mono/System.Imaging/MetafileTest.cs +++ b/src/libraries/System.Drawing.Common/tests/mono/System.Imaging/MetafileTest.cs @@ -38,7 +38,7 @@ namespace MonoTests.System.Drawing.Imaging { - + [ActiveIssue("https://github.com/dotnet/runtime/issues/34591", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class MetafileTest { @@ -204,6 +204,7 @@ public void GetMetafileHeader_FromMemoryStream_Emf() } } + [ActiveIssue("https://github.com/dotnet/runtime/issues/34591", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class MetafileFulltrustTest { private void CheckEmptyHeader(Metafile mf, EmfType type) diff --git a/src/libraries/System.Globalization.Extensions/tests/Normalization/NormalizationAll.cs b/src/libraries/System.Globalization.Extensions/tests/Normalization/NormalizationAll.cs index e9baa76ce7d3e9..5afdb72e9e0854 100644 --- a/src/libraries/System.Globalization.Extensions/tests/Normalization/NormalizationAll.cs +++ b/src/libraries/System.Globalization.Extensions/tests/Normalization/NormalizationAll.cs @@ -23,6 +23,7 @@ private string ConvertToString(string codepoints) } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34577", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void Normalize() { // Windows 8 test data came from http://www.unicode.org/Public/UCD/latest/ucd/NormalizationTest.txt diff --git a/src/libraries/System.Globalization.Extensions/tests/Normalization/StringNormalizationTests.cs b/src/libraries/System.Globalization.Extensions/tests/Normalization/StringNormalizationTests.cs index 932ea2ba189d9b..7cb0811cdeddb5 100644 --- a/src/libraries/System.Globalization.Extensions/tests/Normalization/StringNormalizationTests.cs +++ b/src/libraries/System.Globalization.Extensions/tests/Normalization/StringNormalizationTests.cs @@ -11,6 +11,7 @@ namespace System.Globalization.Tests public class StringNormalizationTests { [Theory] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34577", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [InlineData("\u00C4\u00C7", NormalizationForm.FormC, true)] [InlineData("\u00C4\u00C7", NormalizationForm.FormD, false)] [InlineData("A\u0308C\u0327", NormalizationForm.FormC, false)] diff --git a/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.Directory.Changed.cs b/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.Directory.Changed.cs index 960af3a0fc1819..79a258e550bc55 100644 --- a/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.Directory.Changed.cs +++ b/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.Directory.Changed.cs @@ -7,6 +7,7 @@ namespace System.IO.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class Directory_Changed_Tests : FileSystemWatcherTest { [Fact] diff --git a/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.Directory.Create.cs b/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.Directory.Create.cs index 2e0365c729884e..72450075991ecf 100644 --- a/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.Directory.Create.cs +++ b/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.Directory.Create.cs @@ -7,6 +7,7 @@ namespace System.IO.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class Directory_Create_Tests : FileSystemWatcherTest { [Fact] diff --git a/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.Directory.Delete.cs b/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.Directory.Delete.cs index c5be6613de7d60..5589784c8c61be 100644 --- a/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.Directory.Delete.cs +++ b/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.Directory.Delete.cs @@ -8,6 +8,7 @@ namespace System.IO.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class Directory_Delete_Tests : FileSystemWatcherTest { [Fact] diff --git a/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.Directory.Move.cs b/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.Directory.Move.cs index dd8fd7a76b47a3..e9ebb05fc25122 100644 --- a/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.Directory.Move.cs +++ b/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.Directory.Move.cs @@ -10,6 +10,7 @@ namespace System.IO.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class Directory_Move_Tests : FileSystemWatcherTest { [Fact] diff --git a/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.Directory.NotifyFilter.cs b/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.Directory.NotifyFilter.cs index bad6e7af786d04..3e3613747af8a0 100644 --- a/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.Directory.NotifyFilter.cs +++ b/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.Directory.NotifyFilter.cs @@ -8,6 +8,7 @@ namespace System.IO.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class Directory_NotifyFilter_Tests : FileSystemWatcherTest { [DllImport("advapi32.dll", EntryPoint = "SetNamedSecurityInfoW", diff --git a/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.File.Changed.cs b/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.File.Changed.cs index 00342eb04bdaf5..6adacc05224699 100644 --- a/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.File.Changed.cs +++ b/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.File.Changed.cs @@ -7,6 +7,7 @@ namespace System.IO.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class File_Changed_Tests : FileSystemWatcherTest { [Fact] diff --git a/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.File.Create.cs b/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.File.Create.cs index 08824e47e353b4..cadeea811b9171 100644 --- a/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.File.Create.cs +++ b/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.File.Create.cs @@ -9,6 +9,7 @@ namespace System.IO.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class File_Create_Tests : FileSystemWatcherTest { [Fact] diff --git a/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.File.Delete.cs b/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.File.Delete.cs index 3699fd4c38e819..17873c1b27169e 100644 --- a/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.File.Delete.cs +++ b/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.File.Delete.cs @@ -8,6 +8,7 @@ namespace System.IO.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class File_Delete_Tests : FileSystemWatcherTest { [Fact] diff --git a/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.File.Move.cs b/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.File.Move.cs index 1c1a143f8d1e6f..93be28df7c3e56 100644 --- a/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.File.Move.cs +++ b/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.File.Move.cs @@ -8,6 +8,7 @@ namespace System.IO.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class File_Move_Tests : FileSystemWatcherTest { [Fact] diff --git a/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.File.NotifyFilter.cs b/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.File.NotifyFilter.cs index 59822be9a8810e..839b22ba104345 100644 --- a/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.File.NotifyFilter.cs +++ b/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.File.NotifyFilter.cs @@ -10,6 +10,7 @@ namespace System.IO.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class File_NotifyFilter_Tests : FileSystemWatcherTest { [DllImport("advapi32.dll", EntryPoint = "SetNamedSecurityInfoW", diff --git a/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.InternalBufferSize.cs b/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.InternalBufferSize.cs index ed85d3a1eae97e..2b1ac10138bdcb 100644 --- a/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.InternalBufferSize.cs +++ b/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.InternalBufferSize.cs @@ -7,6 +7,7 @@ namespace System.IO.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class InternalBufferSizeTests : FileSystemWatcherTest { // FSW works by calling ReadDirectoryChanges asynchronously, processing the changes diff --git a/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.WaitForChanged.cs b/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.WaitForChanged.cs index 6e7a0d995e0618..992195b0809ec0 100644 --- a/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.WaitForChanged.cs +++ b/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.WaitForChanged.cs @@ -7,6 +7,7 @@ namespace System.IO.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public partial class WaitForChangedTests : FileSystemWatcherTest { private const int BetweenOperationsDelayMilliseconds = 100; diff --git a/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.cs b/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.cs index d1fc2104501d4c..8b06b8b658d9b1 100644 --- a/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.cs +++ b/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.cs @@ -9,6 +9,7 @@ namespace System.IO.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class FileSystemWatcherTests_netstandard17 : FileSystemWatcherTest { public class TestSite : ISite diff --git a/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.unit.cs b/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.unit.cs index 651f62342c6f56..b1cc4c6aeadeb2 100644 --- a/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.unit.cs +++ b/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.unit.cs @@ -15,6 +15,7 @@ namespace System.IO.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class FileSystemWatcherTests : FileSystemWatcherTest { private static void ValidateDefaults(FileSystemWatcher watcher, string path, string filter) diff --git a/src/libraries/System.IO.FileSystem/tests/File/AppendAsync.cs b/src/libraries/System.IO.FileSystem/tests/File/AppendAsync.cs index a7f6b94f8e3e25..b2da89179ba4dc 100644 --- a/src/libraries/System.IO.FileSystem/tests/File/AppendAsync.cs +++ b/src/libraries/System.IO.FileSystem/tests/File/AppendAsync.cs @@ -87,6 +87,7 @@ public override Task TaskAlreadyCanceledAsync() } } + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class File_AppendAllLinesAsync_Encoded : File_AppendAllLinesAsync { protected override Task WriteAsync(string path, string[] content) => diff --git a/src/libraries/System.IO.FileSystem/tests/File/Create.cs b/src/libraries/System.IO.FileSystem/tests/File/Create.cs index eba0fbdfea0462..c8ade1e479a92a 100644 --- a/src/libraries/System.IO.FileSystem/tests/File/Create.cs +++ b/src/libraries/System.IO.FileSystem/tests/File/Create.cs @@ -333,7 +333,7 @@ public void NegativeBuffer() Assert.Throws(() => Create(GetTestFilePath(), -100)); } } - + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class File_Create_str_i_fo : File_Create_str_i { public override FileStream Create(string path) diff --git a/src/libraries/System.IO.FileSystem/tests/File/EncryptDecrypt.cs b/src/libraries/System.IO.FileSystem/tests/File/EncryptDecrypt.cs index eb1dd44715f708..f287b3ae4f09ad 100644 --- a/src/libraries/System.IO.FileSystem/tests/File/EncryptDecrypt.cs +++ b/src/libraries/System.IO.FileSystem/tests/File/EncryptDecrypt.cs @@ -8,6 +8,7 @@ namespace System.IO.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class EncryptDecrypt : FileSystemTest { [Fact] diff --git a/src/libraries/System.IO.FileSystem/tests/File/ReadWriteAllBytesAsync.cs b/src/libraries/System.IO.FileSystem/tests/File/ReadWriteAllBytesAsync.cs index 0f844a5b084dd5..eb8a7bc26a0b38 100644 --- a/src/libraries/System.IO.FileSystem/tests/File/ReadWriteAllBytesAsync.cs +++ b/src/libraries/System.IO.FileSystem/tests/File/ReadWriteAllBytesAsync.cs @@ -10,6 +10,7 @@ namespace System.IO.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class File_ReadWriteAllBytesAsync : FileSystemTest { [Fact] diff --git a/src/libraries/System.IO.FileSystem/tests/File/ReadWriteAllLinesAsync.cs b/src/libraries/System.IO.FileSystem/tests/File/ReadWriteAllLinesAsync.cs index acfbf022c6104a..50a099a2562979 100644 --- a/src/libraries/System.IO.FileSystem/tests/File/ReadWriteAllLinesAsync.cs +++ b/src/libraries/System.IO.FileSystem/tests/File/ReadWriteAllLinesAsync.cs @@ -12,6 +12,7 @@ namespace System.IO.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class File_ReadWriteAllLines_EnumerableAsync : FileSystemTest { #region Utilities diff --git a/src/libraries/System.IO.FileSystem/tests/File/ReadWriteAllTextAsync.cs b/src/libraries/System.IO.FileSystem/tests/File/ReadWriteAllTextAsync.cs index 55929d6151a84f..3e703b35bd0df4 100644 --- a/src/libraries/System.IO.FileSystem/tests/File/ReadWriteAllTextAsync.cs +++ b/src/libraries/System.IO.FileSystem/tests/File/ReadWriteAllTextAsync.cs @@ -11,6 +11,7 @@ namespace System.IO.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class File_ReadWriteAllTextAsync : FileSystemTest { #region Utilities @@ -146,6 +147,7 @@ public virtual Task TaskAlreadyCanceledAsync() #endregion } + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class File_ReadWriteAllText_EncodedAsync : File_ReadWriteAllTextAsync { protected override Task WriteAsync(string path, string content) => diff --git a/src/libraries/System.IO.FileSystem/tests/FileStream/CopyToAsync.cs b/src/libraries/System.IO.FileSystem/tests/FileStream/CopyToAsync.cs index fd830791689e84..3c2cee70e7be6a 100644 --- a/src/libraries/System.IO.FileSystem/tests/FileStream/CopyToAsync.cs +++ b/src/libraries/System.IO.FileSystem/tests/FileStream/CopyToAsync.cs @@ -12,6 +12,7 @@ namespace System.IO.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class FileStream_CopyToAsync : FileSystemTest { [Theory] diff --git a/src/libraries/System.IO.FileSystem/tests/FileStream/IsAsync.cs b/src/libraries/System.IO.FileSystem/tests/FileStream/IsAsync.cs index bbdf4fef484382..c6cc369667db4d 100644 --- a/src/libraries/System.IO.FileSystem/tests/FileStream/IsAsync.cs +++ b/src/libraries/System.IO.FileSystem/tests/FileStream/IsAsync.cs @@ -9,6 +9,7 @@ namespace System.IO.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class FileStream_IsAsync : FileSystemTest { [Fact] diff --git a/src/libraries/System.IO.FileSystem/tests/FileStream/Pipes.cs b/src/libraries/System.IO.FileSystem/tests/FileStream/Pipes.cs index 28d19959bf13da..a82afafbb9db5e 100644 --- a/src/libraries/System.IO.FileSystem/tests/FileStream/Pipes.cs +++ b/src/libraries/System.IO.FileSystem/tests/FileStream/Pipes.cs @@ -10,6 +10,7 @@ namespace System.IO.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class Pipes : FileSystemTest { [Theory] diff --git a/src/libraries/System.IO.FileSystem/tests/FileStream/ReadAsync.cs b/src/libraries/System.IO.FileSystem/tests/FileStream/ReadAsync.cs index 4753e0b3ee8bc8..14e69beb73fbaf 100644 --- a/src/libraries/System.IO.FileSystem/tests/FileStream/ReadAsync.cs +++ b/src/libraries/System.IO.FileSystem/tests/FileStream/ReadAsync.cs @@ -358,6 +358,7 @@ public async Task ReadAsyncMiniStress() } } + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class FileStream_ReadAsync_AsyncReads : FileStream_AsyncReads { protected override Task ReadAsync(FileStream stream, byte[] buffer, int offset, int count, CancellationToken cancellationToken) => @@ -403,6 +404,7 @@ public void CancelledTokenFastPath() } } + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class FileStream_BeginEndRead_AsyncReads : FileStream_AsyncReads { protected override Task ReadAsync(FileStream stream, byte[] buffer, int offset, int count, CancellationToken cancellationToken) => diff --git a/src/libraries/System.IO.FileSystem/tests/FileStream/ReadWriteSpan.cs b/src/libraries/System.IO.FileSystem/tests/FileStream/ReadWriteSpan.cs index 187c7788be3c76..0d34069b7a2068 100644 --- a/src/libraries/System.IO.FileSystem/tests/FileStream/ReadWriteSpan.cs +++ b/src/libraries/System.IO.FileSystem/tests/FileStream/ReadWriteSpan.cs @@ -10,6 +10,7 @@ namespace System.IO.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public abstract class FileStream_ReadWrite_Span : FileSystemTest { protected abstract FileStream CreateFileStream(string path, FileMode mode, FileAccess access = FileAccess.ReadWrite); @@ -286,6 +287,7 @@ protected override FileStream CreateFileStream(string path, FileMode mode, FileA new FileStream(path, mode, access, FileShare.None, bufferSize: 0x1000, FileOptions.Asynchronous); } + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class Async_NoBuffer_FileStream_ReadWrite_Span : FileStream_ReadWrite_Span { protected override FileStream CreateFileStream(string path, FileMode mode, FileAccess access) => diff --git a/src/libraries/System.IO.FileSystem/tests/FileStream/SafeFileHandle.cs b/src/libraries/System.IO.FileSystem/tests/FileStream/SafeFileHandle.cs index cd1284237fd212..53b5611bbdc69a 100644 --- a/src/libraries/System.IO.FileSystem/tests/FileStream/SafeFileHandle.cs +++ b/src/libraries/System.IO.FileSystem/tests/FileStream/SafeFileHandle.cs @@ -11,6 +11,7 @@ namespace System.IO.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class FileStream_SafeFileHandle : FileSystemTest { [Fact] diff --git a/src/libraries/System.IO.FileSystem/tests/FileStream/WriteAsync.cs b/src/libraries/System.IO.FileSystem/tests/FileStream/WriteAsync.cs index 6d4a634a7d55df..5026c22f932988 100644 --- a/src/libraries/System.IO.FileSystem/tests/FileStream/WriteAsync.cs +++ b/src/libraries/System.IO.FileSystem/tests/FileStream/WriteAsync.cs @@ -416,6 +416,7 @@ public async Task WriteAsyncMiniStress() } } + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class FileStream_WriteAsync_AsyncWrites : FileStream_AsyncWrites { protected override Task WriteAsync(FileStream stream, byte[] buffer, int offset, int count, CancellationToken cancellationToken) => @@ -462,6 +463,7 @@ public void CancelledTokenFastPath() } } + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class FileStream_BeginEndWrite_AsyncWrites : FileStream_AsyncWrites { protected override Task WriteAsync(FileStream stream, byte[] buffer, int offset, int count, CancellationToken cancellationToken) => diff --git a/src/libraries/System.IO.FileSystem/tests/FileStream/ctor_sfh_fa_buffer_async.cs b/src/libraries/System.IO.FileSystem/tests/FileStream/ctor_sfh_fa_buffer_async.cs index f139a1dea8e98a..c55330d7334408 100644 --- a/src/libraries/System.IO.FileSystem/tests/FileStream/ctor_sfh_fa_buffer_async.cs +++ b/src/libraries/System.IO.FileSystem/tests/FileStream/ctor_sfh_fa_buffer_async.cs @@ -7,6 +7,7 @@ namespace System.IO.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class FileStream_ctor_sfh_fa_buffer_async : FileStream_ctor_sfh_fa_buffer { protected sealed override FileStream CreateFileStream(SafeFileHandle handle, FileAccess access, int bufferSize) diff --git a/src/libraries/System.IO.FileSystem/tests/FileStream/ctor_str_fm_fa_fs_buffer_async.cs b/src/libraries/System.IO.FileSystem/tests/FileStream/ctor_str_fm_fa_fs_buffer_async.cs index f3625027760e74..963ebe8cfae59c 100644 --- a/src/libraries/System.IO.FileSystem/tests/FileStream/ctor_str_fm_fa_fs_buffer_async.cs +++ b/src/libraries/System.IO.FileSystem/tests/FileStream/ctor_str_fm_fa_fs_buffer_async.cs @@ -8,6 +8,7 @@ namespace System.IO.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class FileStream_ctor_str_fm_fa_fs_buffer_async : FileStream_ctor_str_fm_fa_fs_buffer { protected sealed override FileStream CreateFileStream(string path, FileMode mode, FileAccess access, FileShare share, int bufferSize) diff --git a/src/libraries/System.IO.FileSystem/tests/FileStream/ctor_str_fm_fa_fs_buffer_fo.cs b/src/libraries/System.IO.FileSystem/tests/FileStream/ctor_str_fm_fa_fs_buffer_fo.cs index 596144845e8055..6358f9b0c58b7d 100644 --- a/src/libraries/System.IO.FileSystem/tests/FileStream/ctor_str_fm_fa_fs_buffer_fo.cs +++ b/src/libraries/System.IO.FileSystem/tests/FileStream/ctor_str_fm_fa_fs_buffer_fo.cs @@ -8,6 +8,7 @@ namespace System.IO.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class FileStream_ctor_str_fm_fa_fs_buffer_fo : FileStream_ctor_str_fm_fa_fs_buffer { protected sealed override FileStream CreateFileStream(string path, FileMode mode, FileAccess access, FileShare share, int bufferSize) diff --git a/src/libraries/System.IO.Pipes.AccessControl/tests/AssemblyInfo.cs b/src/libraries/System.IO.Pipes.AccessControl/tests/AssemblyInfo.cs new file mode 100644 index 00000000000000..463f70a1c30924 --- /dev/null +++ b/src/libraries/System.IO.Pipes.AccessControl/tests/AssemblyInfo.cs @@ -0,0 +1,7 @@ +// 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: ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] diff --git a/src/libraries/System.IO.Pipes.AccessControl/tests/System.IO.Pipes.AccessControl.Tests.csproj b/src/libraries/System.IO.Pipes.AccessControl/tests/System.IO.Pipes.AccessControl.Tests.csproj index 57f1fa106a04cc..21202e86f0e700 100644 --- a/src/libraries/System.IO.Pipes.AccessControl/tests/System.IO.Pipes.AccessControl.Tests.csproj +++ b/src/libraries/System.IO.Pipes.AccessControl/tests/System.IO.Pipes.AccessControl.Tests.csproj @@ -6,6 +6,7 @@ + diff --git a/src/libraries/System.IO.Pipes/tests/AssemblyInfo.cs b/src/libraries/System.IO.Pipes/tests/AssemblyInfo.cs new file mode 100644 index 00000000000000..2caeed0b84fe62 --- /dev/null +++ b/src/libraries/System.IO.Pipes/tests/AssemblyInfo.cs @@ -0,0 +1,7 @@ +// 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: ActiveIssue("https://github.com/dotnet/runtime/issues/34582", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] diff --git a/src/libraries/System.IO.Pipes/tests/System.IO.Pipes.Tests.csproj b/src/libraries/System.IO.Pipes/tests/System.IO.Pipes.Tests.csproj index 4984e9c3d7902c..c49e5d41a7b031 100644 --- a/src/libraries/System.IO.Pipes/tests/System.IO.Pipes.Tests.csproj +++ b/src/libraries/System.IO.Pipes/tests/System.IO.Pipes.Tests.csproj @@ -5,6 +5,7 @@ $(NetCoreAppCurrent)-Windows_NT;$(NetCoreAppCurrent)-Unix + diff --git a/src/libraries/System.IO.Ports/tests/SerialPort/GetPortNames.cs b/src/libraries/System.IO.Ports/tests/SerialPort/GetPortNames.cs index c193892d5a92f1..fb40a392833f56 100644 --- a/src/libraries/System.IO.Ports/tests/SerialPort/GetPortNames.cs +++ b/src/libraries/System.IO.Ports/tests/SerialPort/GetPortNames.cs @@ -20,6 +20,7 @@ public class GetPortNames : PortsTest /// Check that all ports either open correctly or fail with UnauthorizedAccessException (which implies they're already open) /// [ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsNotWindowsNanoServer))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34490", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void OpenEveryPortName() { foreach (string portName in SerialPort.GetPortNames()) diff --git a/src/libraries/System.IO/tests/StreamReader/StreamReaderTests.cs b/src/libraries/System.IO/tests/StreamReader/StreamReaderTests.cs index 34e724e873009e..9e3cc4f19eb696 100644 --- a/src/libraries/System.IO/tests/StreamReader/StreamReaderTests.cs +++ b/src/libraries/System.IO/tests/StreamReader/StreamReaderTests.cs @@ -508,6 +508,7 @@ public async Task ReadBlockAsync_RepeatsReadsUntilReadDesiredAmount() } [Theory] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [InlineData(0, false)] [InlineData(0, true)] [InlineData(1, false)] diff --git a/src/libraries/System.Management/tests/System/Management/ManagementClassTests.cs b/src/libraries/System.Management/tests/System/Management/ManagementClassTests.cs index 413e6bbcbddf66..d51f39b4a89bb3 100644 --- a/src/libraries/System.Management/tests/System/Management/ManagementClassTests.cs +++ b/src/libraries/System.Management/tests/System/Management/ManagementClassTests.cs @@ -12,6 +12,7 @@ namespace System.Management.Tests public class ManagementClassTests { [ConditionalTheory(typeof(WmiTestHelper), nameof(WmiTestHelper.IsWmiSupported))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34689", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [InlineData(false, false)] [InlineData(false, true)] [InlineData(true, false)] @@ -26,6 +27,7 @@ public void Get_CodeTypeDeclaration_For_Win32_LogicalDisk(bool includeSystemClas } [ConditionalTheory(typeof(WmiTestHelper), nameof(WmiTestHelper.IsWmiSupported))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34689", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [InlineData(CodeLanguage.CSharp)] [InlineData(CodeLanguage.VB)] public void Get_SourceFile_For_Win32_Processor(CodeLanguage lang) @@ -47,6 +49,7 @@ public void Get_SourceFile_For_Win32_Processor(CodeLanguage lang) } [ConditionalTheory(typeof(WmiTestHelper), nameof(WmiTestHelper.IsWmiSupported))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34689", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [InlineData(CodeLanguage.JScript)] [InlineData(CodeLanguage.Mcpp)] [InlineData(CodeLanguage.VJSharp)] @@ -74,6 +77,7 @@ public void Throw_On_Unsupported_Languages(CodeLanguage lang) } [ConditionalFact(typeof(WmiTestHelper), nameof(WmiTestHelper.IsWmiSupported))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34689", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void ClassMembers_For_Win32_LogicalDisk() { var managementClass = new ManagementClass(new ManagementPath("Win32_LogicalDisk")); @@ -94,6 +98,7 @@ public void ClassMembers_For_Win32_LogicalDisk() } [ConditionalFact(typeof(WmiTestHelper), nameof(WmiTestHelper.IsWmiSupported))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34689", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void EnumerateInstances_For_Win32_LogicalDisk() { using (var managementClass = new ManagementClass(new ManagementPath("Win32_LogicalDisk"))) @@ -112,6 +117,7 @@ public void EnumerateInstances_For_Win32_LogicalDisk() } [ConditionalFact(typeof(WmiTestHelper), nameof(WmiTestHelper.IsElevatedAndSupportsWmi))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34689", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void Create_Delete_Namespace() { using (var rootNamespace = new ManagementClass("root:__namespace")) diff --git a/src/libraries/System.Management/tests/System/Management/ManagementClassTestsMofRequired.cs b/src/libraries/System.Management/tests/System/Management/ManagementClassTestsMofRequired.cs index 9097d578790b11..cf0908db640447 100644 --- a/src/libraries/System.Management/tests/System/Management/ManagementClassTestsMofRequired.cs +++ b/src/libraries/System.Management/tests/System/Management/ManagementClassTestsMofRequired.cs @@ -10,6 +10,7 @@ namespace System.Management.Tests public class ManagementClassTestsMofRequired { [ConditionalFact(typeof(WmiTestHelper), nameof(WmiTestHelper.IsElevatedAndSupportsWmi))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34689", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void Create_Modify_Delete_Static_Class() { using (var newClass = new ManagementClass(WmiTestHelper.Namespace)) @@ -40,6 +41,7 @@ public void Create_Modify_Delete_Static_Class() } [ConditionalFact(typeof(WmiTestHelper), nameof(WmiTestHelper.IsElevatedAndSupportsWmi))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34689", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void Create_Modify_Delete_Static_And_Instance() { using (var newClass = new ManagementClass(WmiTestHelper.Namespace)) diff --git a/src/libraries/System.Management/tests/System/Management/ManagementObjectSearcherTests.cs b/src/libraries/System.Management/tests/System/Management/ManagementObjectSearcherTests.cs index c5486dd9629991..e371cd39a463ed 100644 --- a/src/libraries/System.Management/tests/System/Management/ManagementObjectSearcherTests.cs +++ b/src/libraries/System.Management/tests/System/Management/ManagementObjectSearcherTests.cs @@ -10,6 +10,7 @@ namespace System.Management.Tests public class ManagementObjectSearcherTests { [ConditionalFact(typeof(WmiTestHelper), nameof(WmiTestHelper.IsWmiSupported))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34689", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void Dynamic_Instances() { using (var searcher = new ManagementObjectSearcher()) diff --git a/src/libraries/System.Management/tests/System/Management/ManagementObjectTests.cs b/src/libraries/System.Management/tests/System/Management/ManagementObjectTests.cs index f513f96e1fc692..611d2aec622a5b 100644 --- a/src/libraries/System.Management/tests/System/Management/ManagementObjectTests.cs +++ b/src/libraries/System.Management/tests/System/Management/ManagementObjectTests.cs @@ -18,6 +18,7 @@ public void PlatformNotSupportedException_On_Nano() } [ConditionalFact(typeof(WmiTestHelper), nameof(WmiTestHelper.IsWmiSupported))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34689", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void Get_Win32_LogicalDisk() { using (ManagementObject obj = new ManagementObject($"Win32_LogicalDisk.DeviceID=\"{WmiTestHelper.SystemDriveId}\"")) @@ -48,6 +49,7 @@ public void GetRelated_For_Win32_LogicalDisk() } [ConditionalFact(typeof(WmiTestHelper), nameof(WmiTestHelper.IsWmiSupported))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34689", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void Set_Property_Win32_ComputerSystem() { using (ManagementObject obj = new ManagementObject($"Win32_ComputerSystem.Name=\"{Environment.MachineName}\"")) diff --git a/src/libraries/System.Management/tests/System/Management/SelectQueryTests.cs b/src/libraries/System.Management/tests/System/Management/SelectQueryTests.cs index 9c0f70c9d22f2a..4484ac407f09a7 100644 --- a/src/libraries/System.Management/tests/System/Management/SelectQueryTests.cs +++ b/src/libraries/System.Management/tests/System/Management/SelectQueryTests.cs @@ -10,6 +10,7 @@ namespace System.Management.Tests public class SelectQueryTests { [ConditionalFact(typeof(WmiTestHelper), nameof(WmiTestHelper.IsWmiSupported))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34689", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void Select_Win32_LogicalDisk_ClassName() { var query = new SelectQuery("Win32_LogicalDisk"); @@ -29,6 +30,7 @@ public void Select_Win32_LogicalDisk_ClassName() } [ConditionalFact(typeof(WmiTestHelper), nameof(WmiTestHelper.IsWmiSupported))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34689", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void Select_Win32_LogicalDisk_ClassName_Condition() { var query = new SelectQuery("Win32_LogicalDisk", "DriveType=3"); @@ -47,6 +49,7 @@ public void Select_Win32_LogicalDisk_ClassName_Condition() } [ConditionalTheory(typeof(WmiTestHelper), nameof(WmiTestHelper.IsWmiSupported))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34689", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [MemberData(nameof(WmiTestHelper.ScopeRoots), MemberType = typeof(WmiTestHelper))] public void Select_All_Win32_LogicalDisk_Wql(string scopeRoot) { diff --git a/src/libraries/System.Net.Http.Json/tests/FunctionalTests/AssemblyInfo.cs b/src/libraries/System.Net.Http.Json/tests/FunctionalTests/AssemblyInfo.cs new file mode 100644 index 00000000000000..f124e7754138ac --- /dev/null +++ b/src/libraries/System.Net.Http.Json/tests/FunctionalTests/AssemblyInfo.cs @@ -0,0 +1,7 @@ +// 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: ActiveIssue("https://github.com/dotnet/runtime/issues/34690", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] diff --git a/src/libraries/System.Net.Http.Json/tests/FunctionalTests/System.Net.Http.Json.Functional.Tests.csproj b/src/libraries/System.Net.Http.Json/tests/FunctionalTests/System.Net.Http.Json.Functional.Tests.csproj index ad6333b1aa6e54..278e36d4e102c0 100644 --- a/src/libraries/System.Net.Http.Json/tests/FunctionalTests/System.Net.Http.Json.Functional.Tests.csproj +++ b/src/libraries/System.Net.Http.Json/tests/FunctionalTests/System.Net.Http.Json.Functional.Tests.csproj @@ -3,6 +3,7 @@ $(NetCoreAppCurrent);$(NetFrameworkCurrent) + diff --git a/src/libraries/System.Net.Http.WinHttpHandler/tests/FunctionalTests/AssemblyInfo.cs b/src/libraries/System.Net.Http.WinHttpHandler/tests/FunctionalTests/AssemblyInfo.cs new file mode 100644 index 00000000000000..f124e7754138ac --- /dev/null +++ b/src/libraries/System.Net.Http.WinHttpHandler/tests/FunctionalTests/AssemblyInfo.cs @@ -0,0 +1,7 @@ +// 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: ActiveIssue("https://github.com/dotnet/runtime/issues/34690", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] diff --git a/src/libraries/System.Net.Http.WinHttpHandler/tests/FunctionalTests/System.Net.Http.WinHttpHandler.Functional.Tests.csproj b/src/libraries/System.Net.Http.WinHttpHandler/tests/FunctionalTests/System.Net.Http.WinHttpHandler.Functional.Tests.csproj index d43fb980f5ea19..66515bbd3e1bf1 100644 --- a/src/libraries/System.Net.Http.WinHttpHandler/tests/FunctionalTests/System.Net.Http.WinHttpHandler.Functional.Tests.csproj +++ b/src/libraries/System.Net.Http.WinHttpHandler/tests/FunctionalTests/System.Net.Http.WinHttpHandler.Functional.Tests.csproj @@ -12,6 +12,7 @@ Common\System\Net\Configuration.Http.cs + diff --git a/src/libraries/System.Net.Mail/tests/Functional/AssemblyInfo.cs b/src/libraries/System.Net.Mail/tests/Functional/AssemblyInfo.cs new file mode 100644 index 00000000000000..f124e7754138ac --- /dev/null +++ b/src/libraries/System.Net.Mail/tests/Functional/AssemblyInfo.cs @@ -0,0 +1,7 @@ +// 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: ActiveIssue("https://github.com/dotnet/runtime/issues/34690", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] diff --git a/src/libraries/System.Net.Mail/tests/Functional/System.Net.Mail.Functional.Tests.csproj b/src/libraries/System.Net.Mail/tests/Functional/System.Net.Mail.Functional.Tests.csproj index 9264921c2ac430..a11dcc181d3e57 100644 --- a/src/libraries/System.Net.Mail/tests/Functional/System.Net.Mail.Functional.Tests.csproj +++ b/src/libraries/System.Net.Mail/tests/Functional/System.Net.Mail.Functional.Tests.csproj @@ -6,6 +6,7 @@ + diff --git a/src/libraries/System.Net.NetworkInformation/tests/FunctionalTests/NetworkInterfaceBasicTest.cs b/src/libraries/System.Net.NetworkInformation/tests/FunctionalTests/NetworkInterfaceBasicTest.cs index 6bb454976eb2e5..808187e1bf7605 100644 --- a/src/libraries/System.Net.NetworkInformation/tests/FunctionalTests/NetworkInterfaceBasicTest.cs +++ b/src/libraries/System.Net.NetworkInformation/tests/FunctionalTests/NetworkInterfaceBasicTest.cs @@ -260,6 +260,7 @@ public void BasicTest_GetIsNetworkAvailable_Success() } [Theory] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34690", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [PlatformSpecific(~(TestPlatforms.OSX|TestPlatforms.FreeBSD))] [InlineData(false)] [InlineData(true)] diff --git a/src/libraries/System.Net.Requests/tests/AssemblyInfo.cs b/src/libraries/System.Net.Requests/tests/AssemblyInfo.cs new file mode 100644 index 00000000000000..f124e7754138ac --- /dev/null +++ b/src/libraries/System.Net.Requests/tests/AssemblyInfo.cs @@ -0,0 +1,7 @@ +// 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: ActiveIssue("https://github.com/dotnet/runtime/issues/34690", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] diff --git a/src/libraries/System.Net.Requests/tests/System.Net.Requests.Tests.csproj b/src/libraries/System.Net.Requests/tests/System.Net.Requests.Tests.csproj index 125574f332fd5a..d10fd19dfe020d 100644 --- a/src/libraries/System.Net.Requests/tests/System.Net.Requests.Tests.csproj +++ b/src/libraries/System.Net.Requests/tests/System.Net.Requests.Tests.csproj @@ -6,6 +6,7 @@ $(DefineConstants);NETSTANDARD + diff --git a/src/libraries/System.Net.Security/tests/FunctionalTests/AssemblyInfo.cs b/src/libraries/System.Net.Security/tests/FunctionalTests/AssemblyInfo.cs new file mode 100644 index 00000000000000..f124e7754138ac --- /dev/null +++ b/src/libraries/System.Net.Security/tests/FunctionalTests/AssemblyInfo.cs @@ -0,0 +1,7 @@ +// 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: ActiveIssue("https://github.com/dotnet/runtime/issues/34690", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] diff --git a/src/libraries/System.Net.Security/tests/FunctionalTests/System.Net.Security.Tests.csproj b/src/libraries/System.Net.Security/tests/FunctionalTests/System.Net.Security.Tests.csproj index 39a50a2ba8fa43..1717a98df4cc8c 100644 --- a/src/libraries/System.Net.Security/tests/FunctionalTests/System.Net.Security.Tests.csproj +++ b/src/libraries/System.Net.Security/tests/FunctionalTests/System.Net.Security.Tests.csproj @@ -6,6 +6,7 @@ annotations + diff --git a/src/libraries/System.Net.Sockets/tests/FunctionalTests/AssemblyInfo.cs b/src/libraries/System.Net.Sockets/tests/FunctionalTests/AssemblyInfo.cs index 39234939f15285..66bd20fa5be0d3 100644 --- a/src/libraries/System.Net.Sockets/tests/FunctionalTests/AssemblyInfo.cs +++ b/src/libraries/System.Net.Sockets/tests/FunctionalTests/AssemblyInfo.cs @@ -5,3 +5,5 @@ using Xunit; [assembly: SkipOnCoreClr("System.Net.Tests are flaky and/or long running: https://github.com/dotnet/runtime/issues/131", RuntimeConfiguration.Checked)] +[assembly: ActiveIssue("https://github.com/dotnet/runtime/issues/34690", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] + diff --git a/src/libraries/System.Net.WebClient/tests/AssemblyInfo.cs b/src/libraries/System.Net.WebClient/tests/AssemblyInfo.cs new file mode 100644 index 00000000000000..f124e7754138ac --- /dev/null +++ b/src/libraries/System.Net.WebClient/tests/AssemblyInfo.cs @@ -0,0 +1,7 @@ +// 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: ActiveIssue("https://github.com/dotnet/runtime/issues/34690", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] diff --git a/src/libraries/System.Net.WebClient/tests/System.Net.WebClient.Tests.csproj b/src/libraries/System.Net.WebClient/tests/System.Net.WebClient.Tests.csproj index 0612c258872a0f..b011f8361e954f 100644 --- a/src/libraries/System.Net.WebClient/tests/System.Net.WebClient.Tests.csproj +++ b/src/libraries/System.Net.WebClient/tests/System.Net.WebClient.Tests.csproj @@ -4,6 +4,7 @@ $(DefineConstants);NETSTANDARD + Common\System\Net\Capability.Security.cs diff --git a/src/libraries/System.Net.WebSockets.Client/tests/ClientWebSocketOptionsTests.cs b/src/libraries/System.Net.WebSockets.Client/tests/ClientWebSocketOptionsTests.cs index 714a765ab79a14..7a6d319e849410 100644 --- a/src/libraries/System.Net.WebSockets.Client/tests/ClientWebSocketOptionsTests.cs +++ b/src/libraries/System.Net.WebSockets.Client/tests/ClientWebSocketOptionsTests.cs @@ -228,6 +228,7 @@ await LoopbackServer.CreateClientAndServerAsync(async uri => } [ConditionalTheory(nameof(WebSocketsSupported))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34690", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [InlineData("ws://")] [InlineData("wss://")] public async Task NonSecureConnect_ConnectThruProxy_CONNECTisUsed(string connectionType) diff --git a/src/libraries/System.Net.WebSockets.Client/tests/ConnectTest.cs b/src/libraries/System.Net.WebSockets.Client/tests/ConnectTest.cs index b635c0bb5c0f88..a0ad1178f49943 100644 --- a/src/libraries/System.Net.WebSockets.Client/tests/ConnectTest.cs +++ b/src/libraries/System.Net.WebSockets.Client/tests/ConnectTest.cs @@ -88,6 +88,7 @@ public async Task ConnectAsync_AddCustomHeaders_Success(Uri server) } [ConditionalFact(nameof(WebSocketsSupported))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34690", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public async Task ConnectAsync_AddHostHeader_Success() { string expectedHost = null; @@ -206,6 +207,7 @@ public async Task ConnectAsync_PassMultipleSubProtocols_ServerRequires_Connectio } [ConditionalFact(nameof(WebSocketsSupported))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34690", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public async Task ConnectAsync_NonStandardRequestHeaders_HeadersAddedWithoutValidation() { await LoopbackServer.CreateClientAndServerAsync(async uri => @@ -255,6 +257,7 @@ public async Task ConnectAsync_CancellationRequestedBeforeConnect_ThrowsOperatio } [ConditionalFact(nameof(WebSocketsSupported))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34690", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public async Task ConnectAsync_CancellationRequestedAfterConnect_ThrowsOperationCanceledException() { var releaseServer = new TaskCompletionSource(TaskCreationOptions.RunContinuationsAsynchronously); diff --git a/src/libraries/System.Reflection.Emit/tests/ModuleBuilder/ModuleBuilderDefinePInvokeMethod.cs b/src/libraries/System.Reflection.Emit/tests/ModuleBuilder/ModuleBuilderDefinePInvokeMethod.cs index 11771b000b889d..d04a49ae1a0469 100644 --- a/src/libraries/System.Reflection.Emit/tests/ModuleBuilder/ModuleBuilderDefinePInvokeMethod.cs +++ b/src/libraries/System.Reflection.Emit/tests/ModuleBuilder/ModuleBuilderDefinePInvokeMethod.cs @@ -8,6 +8,7 @@ namespace System.Reflection.Emit.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/2389", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class ModuleBuilderDefinePInvokeMethodTests { public static IEnumerable TheoryData1 => TypeBuilderDefinePInvokeMethodTests.TestData.Where(dpm => dpm.NoCMods).Select(dpm => new object[] { dpm }); diff --git a/src/libraries/System.Reflection.Emit/tests/TypeBuilder/TypeBuilderDefinePInvokeMethod.cs b/src/libraries/System.Reflection.Emit/tests/TypeBuilder/TypeBuilderDefinePInvokeMethod.cs index 5f657dcf3d47f3..d2ddb37e1f91dd 100644 --- a/src/libraries/System.Reflection.Emit/tests/TypeBuilder/TypeBuilderDefinePInvokeMethod.cs +++ b/src/libraries/System.Reflection.Emit/tests/TypeBuilder/TypeBuilderDefinePInvokeMethod.cs @@ -32,6 +32,7 @@ public sealed class DpmParams public sealed override string ToString() => MethodName; } + [ActiveIssue("https://github.com/dotnet/runtime/issues/2389", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class TypeBuilderDefinePInvokeMethodTests { public static IEnumerable TestData diff --git a/src/libraries/System.Reflection.Metadata/tests/Utilities/AbstractMemoryBlockTests.cs b/src/libraries/System.Reflection.Metadata/tests/Utilities/AbstractMemoryBlockTests.cs index 9fd405aeb6afc2..7491fa062e0095 100644 --- a/src/libraries/System.Reflection.Metadata/tests/Utilities/AbstractMemoryBlockTests.cs +++ b/src/libraries/System.Reflection.Metadata/tests/Utilities/AbstractMemoryBlockTests.cs @@ -120,6 +120,7 @@ public void Stream() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34493", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void FileStreamUnix() { try @@ -134,6 +135,7 @@ public void FileStreamUnix() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34493", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void FileStream() { string filePath = Path.Combine(Path.GetTempPath(), Guid.NewGuid().ToString()); diff --git a/src/libraries/System.Reflection/tests/AssemblyNameTests.cs b/src/libraries/System.Reflection/tests/AssemblyNameTests.cs index 4a28137889ea4c..ec11240ab0d2d3 100644 --- a/src/libraries/System.Reflection/tests/AssemblyNameTests.cs +++ b/src/libraries/System.Reflection/tests/AssemblyNameTests.cs @@ -245,6 +245,7 @@ public static void GetAssemblyName() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34492", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public static void GetAssemblyName_LockedFile() { using (var tempFile = new TempFile(Path.GetTempFileName(), 100)) diff --git a/src/libraries/System.Reflection/tests/MemberInfoTests.cs b/src/libraries/System.Reflection/tests/MemberInfoTests.cs index bf9485853a402e..5770e94d522311 100644 --- a/src/libraries/System.Reflection/tests/MemberInfoTests.cs +++ b/src/libraries/System.Reflection/tests/MemberInfoTests.cs @@ -416,6 +416,7 @@ public static void HasSameMetadataDefinitionAs_CrossAssembly() [Theory] [MemberData(nameof(NegativeTypeData))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34328", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public static void HasSameMetadataDefinitionAs_Negative_NonRuntimeType(Type type) { Type mockType = new MockType(); @@ -429,6 +430,7 @@ public static void HasSameMetadataDefinitionAs_Negative_NonRuntimeType(Type type } [Theory] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34328", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [MemberData(nameof(NegativeTypeData))] public static void HasSameMetadataDefinitionAs_Negative_Null(Type type) { @@ -537,6 +539,7 @@ public static void HasSameMetadataDefinitionAs_CornerCase_ArrayMethods() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34328", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [PlatformSpecific(TestPlatforms.Windows)] public static void HasSameMetadataDefinitionAs_CornerCase_CLSIDConstructor() { diff --git a/src/libraries/System.Resources.Extensions/tests/BinaryResourceWriterUnitTest.cs b/src/libraries/System.Resources.Extensions/tests/BinaryResourceWriterUnitTest.cs index 4b7a3b8c3de55d..21194f2cd42887 100644 --- a/src/libraries/System.Resources.Extensions/tests/BinaryResourceWriterUnitTest.cs +++ b/src/libraries/System.Resources.Extensions/tests/BinaryResourceWriterUnitTest.cs @@ -264,6 +264,7 @@ public static void PrimitiveResourcesAsStrings() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34495", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [ActiveIssue("https://github.com/dotnet/runtime/issues/34008", TestPlatforms.Linux, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public static void BinaryFormattedResources() { @@ -301,6 +302,7 @@ public static void BinaryFormattedResources() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34495", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [ActiveIssue("https://github.com/dotnet/runtime/issues/34008", TestPlatforms.Linux, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public static void BinaryFormattedResourcesWithoutTypeName() { @@ -337,6 +339,7 @@ public static void BinaryFormattedResourcesWithoutTypeName() } } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34495", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public static void TypeConverterByteArrayResources() { var values = TestData.ByteArrayConverter; @@ -399,6 +402,7 @@ public static void TypeConverterStringResources() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34495", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [ActiveIssue("https://github.com/dotnet/runtime/issues/34008", TestPlatforms.Linux, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public static void StreamResources() { diff --git a/src/libraries/System.Resources.ResourceManager/tests/ResourceManagerTests.cs b/src/libraries/System.Resources.ResourceManager/tests/ResourceManagerTests.cs index c4e5f6ddcce459..41902a6509c7db 100644 --- a/src/libraries/System.Resources.ResourceManager/tests/ResourceManagerTests.cs +++ b/src/libraries/System.Resources.ResourceManager/tests/ResourceManagerTests.cs @@ -268,7 +268,7 @@ public static IEnumerable EnglishImageResourceData() } [ConditionalTheory(Helpers.IsDrawingSupported)] - [ActiveIssue("https://github.com/dotnet/runtime/issues/34008", TestPlatforms.Linux, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34008", TestPlatforms.Linux | TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [MemberData(nameof(EnglishImageResourceData))] public static void GetObject_Images(string key, object expectedValue) { @@ -278,7 +278,7 @@ public static void GetObject_Images(string key, object expectedValue) } [ConditionalTheory(Helpers.IsDrawingSupported)] - [ActiveIssue("https://github.com/dotnet/runtime/issues/34008", TestPlatforms.Linux, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34008", TestPlatforms.Linux | TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [MemberData(nameof(EnglishImageResourceData))] public static void GetObject_Images_ResourceSet(string key, object expectedValue) { @@ -312,7 +312,7 @@ public static void GetResourceSet_NonStrings(string key, object expectedValue, b } [ConditionalTheory(Helpers.IsDrawingSupported)] - [ActiveIssue("https://github.com/dotnet/runtime/issues/34008", TestPlatforms.Linux, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34008", TestPlatforms.Linux | TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [MemberData(nameof(EnglishImageResourceData))] public static void GetResourceSet_Images(string key, object expectedValue) { diff --git a/src/libraries/System.Runtime.Caching/tests/System.Runtime.Caching/HostFileChangeMonitorTest.cs b/src/libraries/System.Runtime.Caching/tests/System.Runtime.Caching/HostFileChangeMonitorTest.cs index 2a5f6bdc8451ce..77e071a8383d21 100644 --- a/src/libraries/System.Runtime.Caching/tests/System.Runtime.Caching/HostFileChangeMonitorTest.cs +++ b/src/libraries/System.Runtime.Caching/tests/System.Runtime.Caching/HostFileChangeMonitorTest.cs @@ -83,6 +83,7 @@ public void Constructor_Exceptions() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34497", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public static void Constructor_MissingFiles_Handler() { HostFileChangeMonitor monitor; @@ -130,6 +131,7 @@ public static void Constructor_MissingFiles_Handler() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34497", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void Constructor_Duplicates() { HostFileChangeMonitor monitor; @@ -198,6 +200,7 @@ private static void CleanupMonitoring(Tuple> setup = null; diff --git a/src/libraries/System.Runtime.InteropServices.WindowsRuntime/tests/System/Runtime/InteropServices/WindowsRuntime/EventRegistrationTokenTableTests.cs b/src/libraries/System.Runtime.InteropServices.WindowsRuntime/tests/System/Runtime/InteropServices/WindowsRuntime/EventRegistrationTokenTableTests.cs index 8bfc27fddfb621..1be0d5d1b9ed53 100644 --- a/src/libraries/System.Runtime.InteropServices.WindowsRuntime/tests/System/Runtime/InteropServices/WindowsRuntime/EventRegistrationTokenTableTests.cs +++ b/src/libraries/System.Runtime.InteropServices.WindowsRuntime/tests/System/Runtime/InteropServices/WindowsRuntime/EventRegistrationTokenTableTests.cs @@ -6,6 +6,7 @@ namespace System.Runtime.InteropServices.WindowsRuntime.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/34749", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class EventRegistrationTokenTableTests { [Fact] diff --git a/src/libraries/System.Runtime.InteropServices.WindowsRuntime/tests/System/Runtime/InteropServices/WindowsRuntime/EventRegistrationTokenTests.cs b/src/libraries/System.Runtime.InteropServices.WindowsRuntime/tests/System/Runtime/InteropServices/WindowsRuntime/EventRegistrationTokenTests.cs index 172641ee1dcd8a..6be973463ebbdd 100644 --- a/src/libraries/System.Runtime.InteropServices.WindowsRuntime/tests/System/Runtime/InteropServices/WindowsRuntime/EventRegistrationTokenTests.cs +++ b/src/libraries/System.Runtime.InteropServices.WindowsRuntime/tests/System/Runtime/InteropServices/WindowsRuntime/EventRegistrationTokenTests.cs @@ -7,6 +7,7 @@ namespace System.Runtime.InteropServices.WindowsRuntime.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/34749", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class EventRegistrationTokenTests { public static IEnumerable Equals_TestData() diff --git a/src/libraries/System.Runtime.InteropServices.WindowsRuntime/tests/System/Runtime/InteropServices/WindowsRuntime/InterfaceImplementedInVersionAttributeTests.cs b/src/libraries/System.Runtime.InteropServices.WindowsRuntime/tests/System/Runtime/InteropServices/WindowsRuntime/InterfaceImplementedInVersionAttributeTests.cs index be4d8f8a655619..a55554beecd48e 100644 --- a/src/libraries/System.Runtime.InteropServices.WindowsRuntime/tests/System/Runtime/InteropServices/WindowsRuntime/InterfaceImplementedInVersionAttributeTests.cs +++ b/src/libraries/System.Runtime.InteropServices.WindowsRuntime/tests/System/Runtime/InteropServices/WindowsRuntime/InterfaceImplementedInVersionAttributeTests.cs @@ -9,6 +9,7 @@ namespace System.Runtime.InteropServices.WindowsRuntime.Tests public class InterfaceImplementedInVersionAttributeTests { [Theory] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34749", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [InlineData(null, 0, 0, 0, 0)] [InlineData(typeof(int), 255, 255, 255, 255)] public void Ctor_DefaultInterface(Type interfaceType, byte majorVersion, byte minorVersion, byte buildVersion, byte revisionVersion) diff --git a/src/libraries/System.Runtime.InteropServices.WindowsRuntime/tests/System/Runtime/InteropServices/WindowsRuntime/WindowsRuntimeMarshalTests.cs b/src/libraries/System.Runtime.InteropServices.WindowsRuntime/tests/System/Runtime/InteropServices/WindowsRuntime/WindowsRuntimeMarshalTests.cs index fb6311f6c4c3a4..ec82bf610ed793 100644 --- a/src/libraries/System.Runtime.InteropServices.WindowsRuntime/tests/System/Runtime/InteropServices/WindowsRuntime/WindowsRuntimeMarshalTests.cs +++ b/src/libraries/System.Runtime.InteropServices.WindowsRuntime/tests/System/Runtime/InteropServices/WindowsRuntime/WindowsRuntimeMarshalTests.cs @@ -7,6 +7,7 @@ namespace System.Runtime.InteropServices.WindowsRuntime.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/34749", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class WindowsRuntimeMarshalTests { [Fact] diff --git a/src/libraries/System.Runtime.InteropServices/tests/AssemblyInfo.cs b/src/libraries/System.Runtime.InteropServices/tests/AssemblyInfo.cs new file mode 100644 index 00000000000000..92a90f9cd99157 --- /dev/null +++ b/src/libraries/System.Runtime.InteropServices/tests/AssemblyInfo.cs @@ -0,0 +1,7 @@ +// 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: ActiveIssue("https://github.com/dotnet/runtime/issues/34748", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] diff --git a/src/libraries/System.Runtime.InteropServices/tests/System.Runtime.InteropServices.Tests.csproj b/src/libraries/System.Runtime.InteropServices/tests/System.Runtime.InteropServices.Tests.csproj index e57c30b52fb4a0..b279ed4bc28e0c 100644 --- a/src/libraries/System.Runtime.InteropServices/tests/System.Runtime.InteropServices.Tests.csproj +++ b/src/libraries/System.Runtime.InteropServices/tests/System.Runtime.InteropServices.Tests.csproj @@ -5,6 +5,7 @@ true + diff --git a/src/libraries/System.Runtime.Serialization.Formatters/tests/BinaryFormatterTests.cs b/src/libraries/System.Runtime.Serialization.Formatters/tests/BinaryFormatterTests.cs index 8c9777b0f706a7..0784de7252820f 100644 --- a/src/libraries/System.Runtime.Serialization.Formatters/tests/BinaryFormatterTests.cs +++ b/src/libraries/System.Runtime.Serialization.Formatters/tests/BinaryFormatterTests.cs @@ -48,6 +48,7 @@ public void SerializeHugeObjectGraphs(int limit) [Theory] [SkipOnCoreClr("Takes too long on Checked", RuntimeConfiguration.Checked)] [ActiveIssue("https://github.com/dotnet/runtime/issues/34008", TestPlatforms.Linux, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34753", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [MemberData(nameof(BasicObjectsRoundtrip_MemberData))] public void ValidateBasicObjectsRoundtrip(object obj, FormatterAssemblyStyle assemblyFormat, TypeFilterLevel filterLevel, FormatterTypeStyle typeFormat) { @@ -185,6 +186,7 @@ public void ValidateDeserializationOfObjectWithGenericTypeWhichGenericArgumentHa [Fact] [ActiveIssue("https://github.com/dotnet/runtime/issues/34008", TestPlatforms.Linux, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34753", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void RoundtripManyObjectsInOneStream() { object[][] objects = SerializableObjects_MemberData().ToArray(); diff --git a/src/libraries/System.Runtime.Serialization.Xml/tests/AssemblyInfo.cs b/src/libraries/System.Runtime.Serialization.Xml/tests/AssemblyInfo.cs new file mode 100644 index 00000000000000..d54e58b476fe57 --- /dev/null +++ b/src/libraries/System.Runtime.Serialization.Xml/tests/AssemblyInfo.cs @@ -0,0 +1,7 @@ +// 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: ActiveIssue("Disabled due to multiple crashes.", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] diff --git a/src/libraries/System.Runtime.Serialization.Xml/tests/System.Runtime.Serialization.Xml.Tests.csproj b/src/libraries/System.Runtime.Serialization.Xml/tests/System.Runtime.Serialization.Xml.Tests.csproj index 6be96a664a5691..cdf4fe029f5fed 100644 --- a/src/libraries/System.Runtime.Serialization.Xml/tests/System.Runtime.Serialization.Xml.Tests.csproj +++ b/src/libraries/System.Runtime.Serialization.Xml/tests/System.Runtime.Serialization.Xml.Tests.csproj @@ -3,6 +3,7 @@ $(NetCoreAppCurrent) + diff --git a/src/libraries/System.Runtime.WindowsRuntime/tests/System/IO/AsWinRTStreamTests.cs b/src/libraries/System.Runtime.WindowsRuntime/tests/System/IO/AsWinRTStreamTests.cs index 0f3faf2bab71b8..0e7541a16fd588 100644 --- a/src/libraries/System.Runtime.WindowsRuntime/tests/System/IO/AsWinRTStreamTests.cs +++ b/src/libraries/System.Runtime.WindowsRuntime/tests/System/IO/AsWinRTStreamTests.cs @@ -12,6 +12,7 @@ namespace System.IO { [ConditionalClass(typeof(PlatformDetection), nameof(PlatformDetection.IsWinUISupported))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34578", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class AsWinRTStreamTests { [Fact] diff --git a/src/libraries/System.Runtime.WindowsRuntime/tests/System/IO/CreateSafeFileHandleTests.cs b/src/libraries/System.Runtime.WindowsRuntime/tests/System/IO/CreateSafeFileHandleTests.cs index 5debf186d2ac69..bd49eb2b9c7917 100644 --- a/src/libraries/System.Runtime.WindowsRuntime/tests/System/IO/CreateSafeFileHandleTests.cs +++ b/src/libraries/System.Runtime.WindowsRuntime/tests/System/IO/CreateSafeFileHandleTests.cs @@ -9,6 +9,7 @@ namespace System.IO { [ConditionalClass(typeof(PlatformDetection), nameof(PlatformDetection.IsWinUISupported))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34578", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class CreateSafeFileHandleTests { [Fact] diff --git a/src/libraries/System.Runtime.WindowsRuntime/tests/System/Runtime/InteropServices/WindowsRuntimeBufferExtensionsTests.cs b/src/libraries/System.Runtime.WindowsRuntime/tests/System/Runtime/InteropServices/WindowsRuntimeBufferExtensionsTests.cs index 12363e25212b50..9919a27510ee43 100644 --- a/src/libraries/System.Runtime.WindowsRuntime/tests/System/Runtime/InteropServices/WindowsRuntimeBufferExtensionsTests.cs +++ b/src/libraries/System.Runtime.WindowsRuntime/tests/System/Runtime/InteropServices/WindowsRuntimeBufferExtensionsTests.cs @@ -10,6 +10,7 @@ namespace System.Runtime.InteropServices.WindowsRuntime.Tests { [ConditionalClass(typeof(PlatformDetection), nameof(PlatformDetection.IsWinUISupported))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34768", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class WindowsRuntimeBufferExtensionsTests { public static IEnumerable AsBuffer_TestData() diff --git a/src/libraries/System.Runtime.WindowsRuntime/tests/System/Runtime/InteropServices/WindowsRuntimeBufferTests.cs b/src/libraries/System.Runtime.WindowsRuntime/tests/System/Runtime/InteropServices/WindowsRuntimeBufferTests.cs index 86a244785a87d3..6c236e0d8da3e6 100644 --- a/src/libraries/System.Runtime.WindowsRuntime/tests/System/Runtime/InteropServices/WindowsRuntimeBufferTests.cs +++ b/src/libraries/System.Runtime.WindowsRuntime/tests/System/Runtime/InteropServices/WindowsRuntimeBufferTests.cs @@ -9,6 +9,7 @@ namespace System.Runtime.InteropServices.WindowsRuntime.Tests { [ConditionalClass(typeof(PlatformDetection), nameof(PlatformDetection.IsWinUISupported))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34768", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class WindowsRuntimeBufferTests { [Theory] diff --git a/src/libraries/System.Runtime/tests/System/ActivatorTests.cs b/src/libraries/System.Runtime/tests/System/ActivatorTests.cs index 5cb07283312a4c..ae211119c4eca8 100644 --- a/src/libraries/System.Runtime/tests/System/ActivatorTests.cs +++ b/src/libraries/System.Runtime/tests/System/ActivatorTests.cs @@ -777,6 +777,7 @@ public static IEnumerable TestingCreateInstanceObjectHandleFullSignatu } [ConditionalTheory(typeof(PlatformDetection), nameof(PlatformDetection.IsWinUISupported))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34396", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [PlatformSpecific(TestPlatforms.Windows)] [MemberData(nameof(TestingCreateInstanceObjectHandleFullSignatureWinRTData))] public static void TestingCreateInstanceObjectHandleFullSignatureWinRT(string assemblyName, string type, bool ignoreCase, BindingFlags bindingAttr, Binder binder, object[] args, CultureInfo culture, object[] activationAttributes, string returnedFullNameType) diff --git a/src/libraries/System.Runtime/tests/System/GCTests.cs b/src/libraries/System.Runtime/tests/System/GCTests.cs index 1ef341557ff0eb..097f2dcac805bd 100644 --- a/src/libraries/System.Runtime/tests/System/GCTests.cs +++ b/src/libraries/System.Runtime/tests/System/GCTests.cs @@ -419,6 +419,7 @@ public static void LatencyRoundtrips(GCLatencyMode value) } [Theory] + [ActiveIssue("https://github.com/dotnet/runtime/issues/31657", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [PlatformSpecific(TestPlatforms.Windows)] //Concurrent GC is not enabled on Unix. Recombine to TestLatencyRoundTrips once addressed. [InlineData(GCLatencyMode.LowLatency)] [InlineData(GCLatencyMode.SustainedLowLatency)] diff --git a/src/libraries/System.Runtime/tests/System/Threading/WaitHandleTests.cs b/src/libraries/System.Runtime/tests/System/Threading/WaitHandleTests.cs index 1432b7a26d4747..d664837f1b6031 100644 --- a/src/libraries/System.Runtime/tests/System/Threading/WaitHandleTests.cs +++ b/src/libraries/System.Runtime/tests/System/Threading/WaitHandleTests.cs @@ -94,6 +94,7 @@ public static void WaitAny_MaxHandles() } [ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsNotWindowsNanoServer))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34366", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [PlatformSpecific(TestPlatforms.Windows)] public static void WaitAny_MaxHandles_STA() { @@ -157,6 +158,7 @@ public static void WaitAll_SameHandles() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34366", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [PlatformSpecific(TestPlatforms.Windows)] // names aren't supported on Unix public static void WaitAll_SameNames() { @@ -323,6 +325,7 @@ public static IEnumerable SignalAndWait_MemberData() } [Theory] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34366", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [MemberData(nameof(SignalAndWait_MemberData))] public static void SignalAndWait( WaitHandle toSignal, diff --git a/src/libraries/System.Runtime/tests/System/Type/TypeTests.cs b/src/libraries/System.Runtime/tests/System/Type/TypeTests.cs index d95c9b9a72d0af..7f8cd6368d03cb 100644 --- a/src/libraries/System.Runtime/tests/System/Type/TypeTests.cs +++ b/src/libraries/System.Runtime/tests/System/Type/TypeTests.cs @@ -37,6 +37,7 @@ public void TwoGenericMethod() { } namespace System.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/34328", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public partial class TypeTests { private static readonly IList NonArrayBaseTypes; diff --git a/src/libraries/System.Threading.Overlapped/tests/ThreadPoolBoundHandle_AllocateNativeOverlappedTests.cs b/src/libraries/System.Threading.Overlapped/tests/ThreadPoolBoundHandle_AllocateNativeOverlappedTests.cs index 3f9ce322077524..b6dbf78891ebd5 100644 --- a/src/libraries/System.Threading.Overlapped/tests/ThreadPoolBoundHandle_AllocateNativeOverlappedTests.cs +++ b/src/libraries/System.Threading.Overlapped/tests/ThreadPoolBoundHandle_AllocateNativeOverlappedTests.cs @@ -7,6 +7,7 @@ using System.Threading; using Xunit; +[ActiveIssue("https://github.com/dotnet/runtime/issues/34502", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public partial class ThreadPoolBoundHandleTests { [Fact] diff --git a/src/libraries/System.Threading.Thread/tests/ThreadTests.cs b/src/libraries/System.Threading.Thread/tests/ThreadTests.cs index 017341ba856f26..846602b863b3bf 100644 --- a/src/libraries/System.Threading.Thread/tests/ThreadTests.cs +++ b/src/libraries/System.Threading.Thread/tests/ThreadTests.cs @@ -160,6 +160,7 @@ public static IEnumerable ApartmentStateTest_MemberData() } [ConditionalTheory(typeof(PlatformDetection), nameof(PlatformDetection.IsNotWindowsNanoServer))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34543", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [InlineData("STAMain.exe", "GetApartmentStateTest")] [InlineData("STAMain.exe", "SetApartmentStateTest")] [InlineData("STAMain.exe", "WaitAllNotSupportedOnSta_Test0")] @@ -182,6 +183,7 @@ public static void ApartmentState_AttributePresent(string appName, string testNa } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34543", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [PlatformSpecific(TestPlatforms.Windows)] public static void ApartmentState_NoAttributePresent_DefaultState_Windows() { @@ -226,6 +228,7 @@ public static void ApartmentState_NoAttributePresent_STA_Unix() } [Theory] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34543", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [MemberData(nameof(ApartmentStateTest_MemberData))] [PlatformSpecific(TestPlatforms.Windows)] // Expected behavior differs on Unix and Windows public static void GetSetApartmentStateTest_ChangeAfterThreadStarted_Windows( @@ -248,6 +251,7 @@ public static void GetSetApartmentStateTest_ChangeAfterThreadStarted_Windows( } [ConditionalTheory(typeof(PlatformDetection), nameof(PlatformDetection.IsNotWindowsNanoServer))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34543", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [MemberData(nameof(ApartmentStateTest_MemberData))] [PlatformSpecific(TestPlatforms.Windows)] // Expected behavior differs on Unix and Windows public static void ApartmentStateTest_ChangeBeforeThreadStarted_Windows( @@ -1115,6 +1119,7 @@ public static void WindowsPrincipalPolicyTest_Windows() [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34543", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [PlatformSpecific(TestPlatforms.Windows)] public static void WindowsPrincipalPolicyTest_Windows_NewThreads() { @@ -1164,6 +1169,7 @@ public static void NoPrincipalPolicyTest_NewThreads() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34543", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [PlatformSpecific(TestPlatforms.Windows)] public static void NoPrincipalToWindowsPrincipalPolicyTest_Windows_NewThreads() { diff --git a/src/libraries/System.Windows.Extensions/tests/System/Drawing/ImageConverterTests.cs b/src/libraries/System.Windows.Extensions/tests/System/Drawing/ImageConverterTests.cs index 76f9d0d92bab84..495353ff4b6aba 100644 --- a/src/libraries/System.Windows.Extensions/tests/System/Drawing/ImageConverterTests.cs +++ b/src/libraries/System.Windows.Extensions/tests/System/Drawing/ImageConverterTests.cs @@ -10,6 +10,7 @@ namespace System.ComponentModel.TypeConverterTests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/34755", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class ImageConverterTest { private readonly Image _image; diff --git a/src/libraries/sendtohelix.proj b/src/libraries/sendtohelix.proj index a053efe4a96bbc..b62ca7e716148b 100644 --- a/src/libraries/sendtohelix.proj +++ b/src/libraries/sendtohelix.proj @@ -66,8 +66,6 @@ --> call RunTests.cmd --runtime-path %HELIX_CORRELATION_PAYLOAD% ./RunTests.sh --runtime-path "$HELIX_CORRELATION_PAYLOAD" - - $(HelixCommand) --rsp-file "$(MonoRspFileName)"