Skip to content

Commit

Permalink
fix dotnet7 tests (#2455)
Browse files Browse the repository at this point in the history
  • Loading branch information
kumaraksh1 authored Jun 12, 2024
1 parent bb8a519 commit 51fd8d8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ public DotNetCoreLibraryVerificationTest(ITestOutputHelper output) : base(output
[Theory]
[Trait("category", "runtime-buster")]
[InlineData("6.0")]
[InlineData("7.0")]
public void GDIPlusLibrary_IsPresentInTheBusterImage(string version)
{
// Arrange
Expand All @@ -45,6 +46,7 @@ public void GDIPlusLibrary_IsPresentInTheBusterImage(string version)

[Theory]
[Trait("category", "runtime-bullseye")]
[InlineData("7.0")]
[InlineData("8.0")]
public void GDIPlusLibrary_IsPresentInTheBullseyeImage(string version)
{
Expand Down Expand Up @@ -73,6 +75,7 @@ public void GDIPlusLibrary_IsPresentInTheBullseyeImage(string version)
[Theory]
[Trait("category", "runtime-buster")]
[InlineData("6.0")]
[InlineData("7.0")]
public void DotnetMonitorTool_IsPresentInTheBusterImage(string version)
{
// Act
Expand All @@ -97,6 +100,7 @@ public void DotnetMonitorTool_IsPresentInTheBusterImage(string version)
[Theory]
[Trait("category", "runtime-bullseye")]
[InlineData("6.0")]
[InlineData("7.0")]
public void DotnetMonitorTool_IsPresentInTheBullseyeImage(string version)
{
// Act
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ public void DotNetCoreBullseyeRuntimeImage_Contains_VersionAndCommit_Information
[SkippableTheory]
[Trait("category", "runtime-buster")]
[InlineData("6.0")]
[InlineData("7.0")]
public void DotNetCoreBusterRuntimeImage_Contains_VersionAndCommit_Information(string version)
{
// we cant always rely on gitcommitid as env variable in case build context is not correctly passed
Expand Down Expand Up @@ -98,6 +99,7 @@ public void DotNetCoreBusterRuntimeImage_Contains_VersionAndCommit_Information(s
[Theory]
[Trait("category", "runtime-buster")]
[InlineData("6.0", "Version: " + DotNetCoreRunTimeVersions.NetCoreApp60)]
[InlineData("7.0", "Version: " + DotNetCoreRunTimeVersions.NetCoreApp70)]
[Trait(TestConstants.Category, TestConstants.Release)]
public void RuntimeImage_Buster_HasExecptedDotNetVersion(string version, string expectedOutput)
{
Expand All @@ -123,6 +125,7 @@ public void RuntimeImage_Buster_HasExecptedDotNetVersion(string version, string
[Theory]
[Trait("category", "runtime-bullseye")]
[InlineData("6.0", "Version: " + DotNetCoreRunTimeVersions.NetCoreApp60)]
[InlineData("7.0", "Version: " + DotNetCoreRunTimeVersions.NetCoreApp70)]
[Trait(TestConstants.Category, TestConstants.Release)]
public void RuntimeImage_Bullseye_HasExecptedDotNetVersion(string version, string expectedOutput)
{
Expand Down

0 comments on commit 51fd8d8

Please sign in to comment.