Skip to content

Commit 3f1e67e

Browse files
committed
Reskipping many tests as most of the failures still exist. Some tests skipped with new issue numbers.
1 parent 880e096 commit 3f1e67e

File tree

8 files changed

+14
-12
lines changed

8 files changed

+14
-12
lines changed

test/Microsoft.DotNet.GenAPI.Tests/CSharpFileBuilderTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2125,7 +2125,7 @@ public partial class foo
21252125
includeInternalSymbols: false);
21262126
}
21272127

2128-
[Fact]
2128+
[Fact(Skip = "https://github.com/dotnet/roslyn/issues/74109")]
21292129
public void TestInterfaceWithOperatorGeneration()
21302130
{
21312131
RunTest(original: """
@@ -2149,7 +2149,7 @@ public partial interface IntType
21492149
includeInternalSymbols: false);
21502150
}
21512151

2152-
[Fact]
2152+
[Fact(Skip = "https://github.com/dotnet/roslyn/issues/74109")]
21532153
public void TestInterfaceWithCheckedOperatorGeneration()
21542154
{
21552155
RunTest(original: """

test/Microsoft.NET.Build.Tests/GivenThatWeWantToBuildACppCliProjectWithTransitiveDeps.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public GivenThatWeWantToBuildACppCliProjectWithTransitiveDeps(ITestOutputHelper
1212

1313
private readonly Lazy<TestAsset> _buildAsset;
1414

15-
[FullMSBuildOnlyFact]
15+
[FullMSBuildOnlyFact(Skip = "https://github.com/dotnet/sdk/issues/11008")]
1616
public void It_can_generate_correct_depsJson_file()
1717
{
1818
TestAsset testAsset = _buildAsset.Value;
@@ -23,7 +23,7 @@ public void It_can_generate_correct_depsJson_file()
2323
depsJsonContent.Should().Contain("NETCoreCppCliTestC.dll", "should contain transitive reference");
2424
}
2525

26-
[FullMSBuildOnlyFact]
26+
[FullMSBuildOnlyFact(Skip = "https://github.com/dotnet/sdk/issues/11008")]
2727
public void It_can_generate_all_runtimeconfig_files_to_output_folder()
2828
{
2929
TestAsset testAsset = _buildAsset.Value;
@@ -35,7 +35,7 @@ public void It_can_generate_all_runtimeconfig_files_to_output_folder()
3535
});
3636
}
3737

38-
[FullMSBuildOnlyFact]
38+
[FullMSBuildOnlyFact(Skip = "https://github.com/dotnet/sdk/issues/11008")]
3939
public void It_can_generate_all_depsjson_files_to_output_folder()
4040
{
4141
TestAsset testAsset = _buildAsset.Value;

test/Microsoft.NET.Build.Tests/GivenThatWeWantToBuildADesktopExe.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@ static void Main(string[] args)
657657
.And.NotHaveStdOutContaining("Could not determine");
658658
}
659659

660-
[FullMSBuildOnlyTheory]
660+
[FullMSBuildOnlyTheory(Skip = "https://github.com/dotnet/NuGet.BuildTasks/issues/75")]
661661
[InlineData("4.3.3")]
662662
[InlineData("4.1.0")]
663663
public void Aliases_are_preserved_if_inbox_assembly_wins_conflict_resolution(string httpPackageVersion)

test/Microsoft.NET.Build.Tests/WorkloadTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ public void It_should_get_suggested_workload_by_GetRequiredWorkloads_target()
259259
.BeEquivalentTo("android");
260260
}
261261

262-
[Theory]
262+
[Theory(Skip = "https://github.com/dotnet/installer/issues/13361")]
263263
[InlineData($"{ToolsetInfo.CurrentTargetFramework}-android;{ToolsetInfo.CurrentTargetFramework}-ios", $"{ToolsetInfo.CurrentTargetFramework}-android;{ToolsetInfo.CurrentTargetFramework}-ios", "android;android-aot")]
264264
[InlineData(ToolsetInfo.CurrentTargetFramework, $"{ToolsetInfo.CurrentTargetFramework};{ToolsetInfo.CurrentTargetFramework}-android;{ToolsetInfo.CurrentTargetFramework}-ios", "macos;android-aot")]
265265
[InlineData($"{ToolsetInfo.CurrentTargetFramework};{ToolsetInfo.CurrentTargetFramework}-ios", $"{ToolsetInfo.CurrentTargetFramework};{ToolsetInfo.CurrentTargetFramework}-android", "macos;android-aot")]

test/Microsoft.NET.ToolPack.Tests/GivenThatWeWantToPackAToolProjectWithGeneratePackageOnBuild.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public void It_builds_and_result_contains_dependencies_dll()
7171
}
7272
}
7373

74-
[Theory]
74+
[Theory(Skip = "https://github.com/dotnet/sdk/issues/10335")]
7575
[InlineData(false, false)]
7676
[InlineData(false, true)]
7777
[InlineData(true, false)]

test/Microsoft.TemplateEngine.Cli.UnitTests/ParserTests/TabCompletionTests.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,9 @@ public void CanCompleteParameters_StartsWith_FromMultipleTemplates()
341341
Assert.DoesNotContain("--baseline", result);
342342
}
343343

344-
[Fact]
344+
#pragma warning disable xUnit1004 // Test methods should not be skipped
345+
[Fact(Skip = "https://github.com/dotnet/templating/issues/4387")]
346+
#pragma warning restore xUnit1004 // Test methods should not be skipped
345347
public void CanCompleteParameters_StartsWith_AfterOption()
346348
{
347349
MockTemplateInfo template1 = new MockTemplateInfo("foo", identity: "foo.1", groupIdentity: "foo.group")

test/dotnet-sln.Tests/GivenDotnetSlnAdd.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -974,7 +974,7 @@ public void WhenPassedMultipleProjectsAndOneOfthemDoesNotExistItCancelsWholeOper
974974
.Should().BeVisuallyEquivalentTo(contentBefore);
975975
}
976976

977-
[Fact]
977+
[Fact(Skip = "https://github.com/dotnet/sdk/issues/522")]
978978
public void WhenPassedAnUnknownProjectTypeItFails()
979979
{
980980
var projectDirectory = _testAssetsManager
@@ -990,7 +990,7 @@ public void WhenPassedAnUnknownProjectTypeItFails()
990990
.WithWorkingDirectory(projectDirectory)
991991
.Execute($"sln", "App.sln", "add", projectToAdd);
992992
cmd.Should().Fail();
993-
cmd.StdErr.Should().BeVisuallyEquivalentTo("Unsupported project type. Check with your sdk provider.");
993+
cmd.StdErr.Should().BeVisuallyEquivalentTo("has an unknown project type and cannot be added to the solution file. Contact your SDK provider for support.");
994994

995995
File.ReadAllText(slnFullPath)
996996
.Should().BeVisuallyEquivalentTo(contentBefore);

test/dotnet-watch.Tests/Watch/ProgramTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public ProgramTests(ITestOutputHelper logger)
1414
{
1515
}
1616

17-
[PlatformSpecificFact(TestPlatforms.Windows | TestPlatforms.Linux)]
17+
[PlatformSpecificFact(TestPlatforms.Windows | TestPlatforms.Linux, Skip = "https://github.com/dotnet/aspnetcore/issues/23394")]
1818
public async Task ConsoleCancelKey()
1919
{
2020
var console = new TestConsole(Logger);

0 commit comments

Comments
 (0)