@@ -84,7 +84,7 @@ public void EmptyBenchmarksReportZeroTimeAndAllocated_InProcess(Type benchmarkTy
84
84
) ) ;
85
85
}
86
86
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 ) ]
88
88
[ MemberData ( nameof ( CoreData ) ) ]
89
89
public void EmptyBenchmarksReportZeroTimeAndAllocated_Core ( Type benchmarkType , RuntimeMoniker runtimeMoniker )
90
90
{
@@ -94,7 +94,7 @@ public void EmptyBenchmarksReportZeroTimeAndAllocated_Core(Type benchmarkType, R
94
94
) ) ;
95
95
}
96
96
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 ) ]
98
98
[ MemberData ( nameof ( FrameworkData ) ) ]
99
99
public void EmptyBenchmarksReportZeroTimeAndAllocated_Framework ( Type benchmarkType , RuntimeMoniker runtimeMoniker )
100
100
{
@@ -138,7 +138,7 @@ public void DifferentSizedStructsBenchmarksReportsNonZeroTimeAndZeroAllocated_In
138
138
) ) ;
139
139
}
140
140
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 ) ]
142
142
[ InlineData ( RuntimeMoniker . Net70 ) ]
143
143
[ InlineData ( RuntimeMoniker . Mono70 ) ]
144
144
public void DifferentSizedStructsBenchmarksReportsNonZeroTimeAndZeroAllocated_Core ( RuntimeMoniker runtimeMoniker )
@@ -149,7 +149,7 @@ public void DifferentSizedStructsBenchmarksReportsNonZeroTimeAndZeroAllocated_Co
149
149
) ) ;
150
150
}
151
151
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 ) ]
153
153
[ InlineData ( RuntimeMoniker . Net462 ) ]
154
154
[ InlineData ( RuntimeMoniker . Mono ) ]
155
155
public void DifferentSizedStructsBenchmarksReportsNonZeroTimeAndZeroAllocated_Framework ( RuntimeMoniker runtimeMoniker )
0 commit comments