Skip to content

Commit f0ed28e

Browse files
committed
Name updates
1 parent 70ca58a commit f0ed28e

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

src/tests/Common/CoreCLRTestLibrary/CoreClrConfigurationDetection.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public static class CoreClrConfigurationDetection
2323
public static bool IsTieredCompilation => string.Equals(GetEnvironmentVariableValue("TieredCompilation", "1"), "1", StringComparison.InvariantCulture);
2424
public static bool IsHeapVerify => string.Equals(GetEnvironmentVariableValue("HeapVerify"), "1", StringComparison.InvariantCulture);
2525

26-
public static bool IsInterpreterActive
26+
public static bool IsCoreClrInterpreter
2727
{
2828
get
2929
{

src/tests/Common/CoreCLRTestLibrary/Utilities.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public static bool IsWindowsIoTCore
9999
public static bool IsNativeAot => IsNotMonoRuntime && !IsReflectionEmitSupported;
100100
public static bool IsNotNativeAot => !IsNativeAot;
101101

102-
public static bool IsClrInterpreterActive
102+
public static bool IsCoreClrInterpreter
103103
{
104104
get
105105
{

src/tests/Common/XUnitWrapperGenerator/XUnitWrapperGenerator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -938,7 +938,7 @@ private static ImmutableArray<ITestInfo> DecorateWithSkipOnCoreClrConfiguration(
938938
}
939939
if (skippedTestModes.HasFlag(Xunit.RuntimeTestModes.InterpreterActive))
940940
{
941-
conditions.Add($"!{ConditionClass}.IsInterpreterActive");
941+
conditions.Add($"!{ConditionClass}.IsCoreClrInterpreter");
942942
}
943943

944944
if (skippedTestModes.HasFlag(Xunit.RuntimeTestModes.AnyGCStress))

src/tests/Interop/COM/NETClients/IDispatch/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ static void Validate_ValueCoerce_ReturnToManaged()
350350
public static int TestEntryPoint()
351351
{
352352
// RegFree COM is not supported on Windows Nano
353-
if (Utilities.IsWindowsNanoServer || Utilities.IsClrInterpreterActive)
353+
if (Utilities.IsWindowsNanoServer || Utilities.IsCoreClrInterpreter)
354354
{
355355
return 100;
356356
}

src/tests/Interop/ExecInDefAppDom/ExecInDefAppDom.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,13 @@ public static int TestEntryPoint()
8282
result += TestExecuteInAppDomain(myPath, "FakeInjectedCode", "Return0", "None", S_OK, 0);
8383
result += TestExecuteInAppDomain(myPath, "FakeInjectedCode", "Return1", "None", S_OK, 1);
8484
// This requires EH interop which is not currently supported by the interpreter. See https://github.com/dotnet/runtime/issues/118965
85-
if (!TestLibrary.Utilities.IsClrInterpreterActive)
85+
if (!TestLibrary.Utilities.IsCoreClrInterpreter)
8686
{
8787
result += TestExecuteInAppDomain(myPath, "FakeInjectedCode", "ThrowAnything", "None", COR_E_EXCEPTION, 0);
8888
}
8989
result += TestExecuteInAppDomain(myPath, "FakeInjectedCode", "ParseArgument", "0", S_OK, 0);
9090
result += TestExecuteInAppDomain(myPath, "FakeInjectedCode", "ParseArgument", "200", S_OK, 200);
91-
if (!TestLibrary.Utilities.IsClrInterpreterActive)
91+
if (!TestLibrary.Utilities.IsCoreClrInterpreter)
9292
{
9393
result += TestExecuteInAppDomain(myPath, "FakeInjectedCode", "ParseArgument", "None", COR_E_FORMAT, 0);
9494
}

src/tests/Interop/NativeLibrary/Callback/CallbackStressTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public static void DoCallTryFinally()
107107
public static void ManualRaiseException()
108108
{
109109
#if WINDOWS
110-
if (!TestLibrary.Utilities.IsMonoRuntime && !TestLibrary.Utilities.IsClrInterpreterActive)
110+
if (!TestLibrary.Utilities.IsMonoRuntime && !TestLibrary.Utilities.IsCoreClrInterpreter)
111111
{
112112
try
113113
{

src/tests/Interop/UnmanagedCallersOnly/UnmanagedCallersOnlyTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public static int TestEntryPoint()
4242
TestUnmanagedCallersOnlyWithGeneric();
4343

4444
// Exception handling interop is only supported on CoreCLR Windows.
45-
if (TestLibrary.Utilities.IsWindows && !TestLibrary.Utilities.IsMonoRuntime && !TestLibrary.Utilities.IsClrInterpreterActive)
45+
if (TestLibrary.Utilities.IsWindows && !TestLibrary.Utilities.IsMonoRuntime && !TestLibrary.Utilities.IsCoreClrInterpreter)
4646
{
4747
TestUnmanagedCallersOnlyValid_ThrowException();
4848
TestUnmanagedCallersOnlyViaUnmanagedCalli_ThrowException();

0 commit comments

Comments
 (0)