Skip to content

Commit 962fbf2

Browse files
authored
Unskip tests with Done issues + dotnet-format test fix (#41684)
2 parents bfbabe0 + 5d6326a commit 962fbf2

File tree

14 files changed

+24
-49
lines changed

14 files changed

+24
-49
lines changed

eng/dotnet-format/dotnet-format-integration.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,13 @@ parameters:
1414
_branchName: "main"
1515
_sha: "a3bb37003aeccad012a6e7dd220977599e8b8e65"
1616
_useParentSdk: 0
17-
# Formatting sdk fails: https://github.com/dotnet/sdk/issues/41060
18-
# - Name: sdk
19-
# _repo: "https://github.com/dotnet/sdk"
20-
# _repoName: "dotnet/sdk"
21-
# _targetSolution: "sdk.sln"
22-
# _branchName: "main"
23-
# _sha: "be25db95c376bffd508a023399ddd34392fe6458"
24-
# _useParentSdk: 0
17+
- Name: sdk
18+
_repo: "https://github.com/dotnet/sdk"
19+
_repoName: "dotnet/sdk"
20+
_targetSolution: "sdk.sln"
21+
_branchName: "main"
22+
_sha: "be25db95c376bffd508a023399ddd34392fe6458"
23+
_useParentSdk: 0
2524
- Name: project_system
2625
_repo: "https://github.com/dotnet/project-system"
2726
_repoName: "dotnet/project-system"

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(Skip = "https://github.com/dotnet/roslyn/issues/67019")]
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(Skip = "https://github.com/dotnet/roslyn/issues/67019")]
2152+
[Fact(Skip = "https://github.com/dotnet/roslyn/issues/74109")]
21532153
public void TestInterfaceWithCheckedOperatorGeneration()
21542154
{
21552155
RunTest(original: """

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public GenerateResourceTests(ITestOutputHelper log) : base(log)
1010
{
1111
}
1212

13-
[Theory(Skip = "https://github.com/microsoft/msbuild/issues/4488")]
13+
[WindowsOnlyTheory]
1414
[InlineData(ToolsetInfo.CurrentTargetFramework, true)]
1515
public void DependentUponTest(string targetFramework, bool isExe)
1616
{

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(Skip = "https://github.com/dotnet/sdk/issues/3785")]
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(Skip = "https://github.com/dotnet/sdk/issues/3785")]
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(Skip = "https://github.com/dotnet/sdk/issues/3785")]
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(Skip = "https://github.com/NuGet/Home/issues/8238")]
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/GivenThatWeWantToBuildAWindowsDesktopProject.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ public void It_fails_if_windows_target_platform_version_is_invalid()
186186
.HaveStdOutContaining("NETSDK1140");
187187
}
188188

189-
[WindowsOnlyTheory(Skip = "https://github.com/dotnet/sdk/pull/29009")]
189+
[WindowsOnlyTheory]
190190
[InlineData(true)]
191191
[InlineData(false)]
192192
public void It_succeeds_if_windows_target_platform_version_does_not_have_trailing_zeros(bool setInTargetframework)

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public void It_should_fail_to_restore_without_workload_when_multitargeted()
109109
// .HaveStdOutContaining("android");
110110
}
111111

112-
[Fact(Skip = "https://github.com/dotnet/sdk/issues/19866")]
112+
[Fact]
113113
public void It_should_fail_to_build_without_workload_when_multitargeted()
114114
{
115115
var testProject = new TestProject()
@@ -229,7 +229,7 @@ public void It_should_import_aliased_pack()
229229
.BeEquivalentTo("true");
230230
}
231231

232-
[Fact(Skip = "https://github.com/dotnet/sdk/issues/19866")]
232+
[Fact]
233233
public void It_should_get_suggested_workload_by_GetRequiredWorkloads_target()
234234
{
235235
var mainProject = new TestProject()

test/Microsoft.NET.Publish.Tests/GivenThatWeWantToPublishASingleFileApp.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ public void No_runtime_files()
307307
}
308308

309309

310-
[RequiresMSBuildVersionTheory("17.0.0.32901", Skip = "https://github.com/dotnet/runtime/issues/60308")]
310+
[RequiresMSBuildVersionTheory("17.0.0.32901")]
311311
[InlineData(true)]
312312
[InlineData(false)]
313313
public void It_supports_composite_r2r(bool extractAll)

test/Microsoft.NET.Sdk.Razor.Tests/DesignTimeBuildIntegrationTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public void DesignTimeBuild_DoesNotRunRazorTargets()
3131
new FileInfo(Path.Combine(outputPath, "SimpleMvc.Views.pdb")).Should().NotExist();
3232
}
3333

34-
[Fact(Skip = "Skipping until https://github.com/dotnet/aspnetcore/issues/28825 is resolved.")]
34+
[Fact]
3535
public void RazorGenerateDesignTime_ReturnsRazorGenerateWithTargetPath()
3636
{
3737
var testAsset = "RazorSimpleMvc";

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(Skip = "https://github.com/dotnet/sdk/issues/3471")]
74+
[Theory(Skip = "https://github.com/dotnet/sdk/issues/10335")]
7575
[InlineData(false, false)]
7676
[InlineData(false, true)]
7777
[InlineData(true, false)]

0 commit comments

Comments
 (0)