1 implementation of OperatingSystem
Microsoft.TestPlatform.PlatformAbstractions (1)
netcore\System\PlatformEnvironment.cs (1)
40
public PlatformOperatingSystem
OperatingSystem
35 references to OperatingSystem
datacollector (3)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\ProcDumpExecutableHelper.cs (3)
80
string filename = _environment.
OperatingSystem
== PlatformOperatingSystem.Windows
82
: _environment.
OperatingSystem
is PlatformOperatingSystem.Unix or PlatformOperatingSystem.OSX
84
: throw new NotSupportedException($"Not supported platform {_environment.
OperatingSystem
}");
datacollector.arm64 (3)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\ProcDumpExecutableHelper.cs (3)
80
string filename = _environment.
OperatingSystem
== PlatformOperatingSystem.Windows
82
: _environment.
OperatingSystem
is PlatformOperatingSystem.Unix or PlatformOperatingSystem.OSX
84
: throw new NotSupportedException($"Not supported platform {_environment.
OperatingSystem
}");
Microsoft.TestPlatform.CoreUtilities (7)
Helpers\DotnetHostHelper.cs (7)
76
_muxerName = environment.
OperatingSystem
== PlatformOperatingSystem.Windows ? "dotnet.exe" : "dotnet";
108
if (_environment.
OperatingSystem
.Equals(PlatformOperatingSystem.Windows))
153
bool isWinOs = _environment.
OperatingSystem
== PlatformOperatingSystem.Windows;
175
targetArchitecture == PlatformArchitecture.X86 && _environment.
OperatingSystem
== PlatformOperatingSystem.Windows)
277
if (_environment.
OperatingSystem
== PlatformOperatingSystem.OSX)
486
if (_environment.
OperatingSystem
== PlatformOperatingSystem.Windows)
490
else if (_environment.
OperatingSystem
== PlatformOperatingSystem.OSX)
Microsoft.TestPlatform.Extensions.BlameDataCollector (3)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\ProcDumpExecutableHelper.cs (3)
80
string filename = _environment.
OperatingSystem
== PlatformOperatingSystem.Windows
82
: _environment.
OperatingSystem
is PlatformOperatingSystem.Unix or PlatformOperatingSystem.OSX
84
: throw new NotSupportedException($"Not supported platform {_environment.
OperatingSystem
}");
Microsoft.TestPlatform.TestHostRuntimeProvider (10)
Hosting\DefaultTestHostManager.cs (2)
217
if (!_environment.
OperatingSystem
.Equals(PlatformOperatingSystem.Windows)
226
if (_environment.
OperatingSystem
.Equals(PlatformOperatingSystem.Windows)
Hosting\DotnetTestHostManager.cs (8)
238
EqtTrace.Verbose($"DotnetTestHostmanager.GetTestHostProcessStartInfo: Platform environment '{_platformEnvironment.Architecture}' target architecture '{_architecture}' framework '{_targetFramework}' OS '{_platformEnvironment.
OperatingSystem
}'");
315
&& _platformEnvironment.
OperatingSystem
.Equals(PlatformOperatingSystem.Windows)
486
EqtTrace.Verbose($"DotnetTestHostmanager: Searching muxer for the architecture '{targetArchitecture}', OS '{_platformEnvironment.
OperatingSystem
}' framework '{_targetFramework}' SDK platform architecture '{_platformEnvironment.Architecture}'");
489
EqtTrace.Verbose($"DotnetTestHostmanager: Forcing the search to x64 architecure, IsDefaultTargetArchitecture '{_runsettingHelper.IsDefaultTargetArchitecture}' OS '{_platformEnvironment.
OperatingSystem
}' framework '{_targetFramework}'");
501
string message = string.Format(CultureInfo.CurrentCulture, Resources.NoDotnetMuxerFoundForArchitecture, $"dotnet{(_platformEnvironment.
OperatingSystem
== PlatformOperatingSystem.Windows ? ".exe" : string.Empty)}", finalTargetArchitecture.ToString());
626
if (_platformEnvironment.
OperatingSystem
== PlatformOperatingSystem.Windows)
689
if (_platformEnvironment.
OperatingSystem
== PlatformOperatingSystem.OSX &&
697
return _platformEnvironment.
OperatingSystem
== PlatformOperatingSystem.Windows &&
testhost (3)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\ProcDumpExecutableHelper.cs (3)
80
string filename = _environment.
OperatingSystem
== PlatformOperatingSystem.Windows
82
: _environment.
OperatingSystem
is PlatformOperatingSystem.Unix or PlatformOperatingSystem.OSX
84
: throw new NotSupportedException($"Not supported platform {_environment.
OperatingSystem
}");
testhost.arm64 (3)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\ProcDumpExecutableHelper.cs (3)
80
string filename = _environment.
OperatingSystem
== PlatformOperatingSystem.Windows
82
: _environment.
OperatingSystem
is PlatformOperatingSystem.Unix or PlatformOperatingSystem.OSX
84
: throw new NotSupportedException($"Not supported platform {_environment.
OperatingSystem
}");
testhost.x86 (3)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\ProcDumpExecutableHelper.cs (3)
80
string filename = _environment.
OperatingSystem
== PlatformOperatingSystem.Windows
82
: _environment.
OperatingSystem
is PlatformOperatingSystem.Unix or PlatformOperatingSystem.OSX
84
: throw new NotSupportedException($"Not supported platform {_environment.
OperatingSystem
}");