Skip to content

Commit

Permalink
Fix attribute usage in IntegrationTests.ManualRunning
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreyAkinshin committed Jul 24, 2023
1 parent 2936272 commit 60c3029
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public void EmptyBenchmarksReportZeroTimeAndAllocated_InProcess(Type benchmarkTy
));
}

[TheoryNetCoreOnly("To not repeat tests in both full Framework and Core")]
[TheoryEnvSpecific("To not repeat tests in both Full .NET Framework and Core", EnvRequirement.DotNetCoreOnly)]
[MemberData(nameof(CoreData))]
public void EmptyBenchmarksReportZeroTimeAndAllocated_Core(Type benchmarkType, RuntimeMoniker runtimeMoniker)
{
Expand All @@ -94,7 +94,7 @@ public void EmptyBenchmarksReportZeroTimeAndAllocated_Core(Type benchmarkType, R
));
}

[TheoryFullFrameworkOnly("Can only run full Framework and Mono tests from Framework host")]
[TheoryEnvSpecific("Can only run Full .NET Framework and Mono tests from Framework host", EnvRequirement.FullFrameworkOnly)]
[MemberData(nameof(FrameworkData))]
public void EmptyBenchmarksReportZeroTimeAndAllocated_Framework(Type benchmarkType, RuntimeMoniker runtimeMoniker)
{
Expand Down Expand Up @@ -138,7 +138,7 @@ public void DifferentSizedStructsBenchmarksReportsNonZeroTimeAndZeroAllocated_In
));
}

[TheoryNetCoreOnly("To not repeat tests in both full Framework and Core")]
[TheoryEnvSpecific("To not repeat tests in both Full .NET Framework and Core", EnvRequirement.DotNetCoreOnly)]
[InlineData(RuntimeMoniker.Net70)]
[InlineData(RuntimeMoniker.Mono70)]
public void DifferentSizedStructsBenchmarksReportsNonZeroTimeAndZeroAllocated_Core(RuntimeMoniker runtimeMoniker)
Expand All @@ -149,7 +149,7 @@ public void DifferentSizedStructsBenchmarksReportsNonZeroTimeAndZeroAllocated_Co
));
}

[TheoryFullFrameworkOnly("Can only run full Framework and Mono tests from Framework host")]
[TheoryEnvSpecific("Can only run Full .NET Framework and Mono tests from Framework host", EnvRequirement.FullFrameworkOnly)]
[InlineData(RuntimeMoniker.Net462)]
[InlineData(RuntimeMoniker.Mono)]
public void DifferentSizedStructsBenchmarksReportsNonZeroTimeAndZeroAllocated_Framework(RuntimeMoniker runtimeMoniker)
Expand Down

0 comments on commit 60c3029

Please sign in to comment.