Skip to content

Commit 60c3029

Browse files
Fix attribute usage in IntegrationTests.ManualRunning
1 parent 2936272 commit 60c3029

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/BenchmarkDotNet.IntegrationTests.ManualRunning/ExpectedBenchmarkResultsTests.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public void EmptyBenchmarksReportZeroTimeAndAllocated_InProcess(Type benchmarkTy
8484
));
8585
}
8686

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

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

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

152-
[TheoryFullFrameworkOnly("Can only run full Framework and Mono tests from Framework host")]
152+
[TheoryEnvSpecific("Can only run Full .NET Framework and Mono tests from Framework host", EnvRequirement.FullFrameworkOnly)]
153153
[InlineData(RuntimeMoniker.Net462)]
154154
[InlineData(RuntimeMoniker.Mono)]
155155
public void DifferentSizedStructsBenchmarksReportsNonZeroTimeAndZeroAllocated_Framework(RuntimeMoniker runtimeMoniker)

0 commit comments

Comments
 (0)