26 references to TestPlatformException
datacollector (1)
DataCollectorMain.cs (1)
171throw new TestPlatformException(
datacollector.arm64 (1)
src\vstest\src\datacollector\DataCollectorMain.cs (1)
171throw new TestPlatformException(
Microsoft.TestPlatform.CommunicationUtilities (4)
DataCollectionRequestHandler.cs (1)
338throw new TestPlatformException(
TestRequestSender.cs (3)
259throw new TestPlatformException(CommonResources.VersionCheckFailed); 263throw new TestPlatformException(string.Format( 288throw new TestPlatformException(string.Format(CultureInfo.CurrentCulture, CommonResources.VersionCheckTimedout, timeout, EnvironmentHelper.VstestConnectionTimeout));
Microsoft.TestPlatform.CrossPlatEngine (6)
Client\ProxyOperationManager.cs (3)
252throw new TestPlatformException(string.Format(CultureInfo.CurrentCulture, CrossPlatEngineResources.FailedToLaunchTestHost, ex.ToString())); 524throw new TestPlatformException(string.Format(CultureInfo.CurrentCulture, CrossPlatEngineResources.TestHostExitedWithError, string.Join("', '", sources), _testHostProcessStdError)); 561throw new TestPlatformException(errorMsg);
DataCollection\ProxyDataCollectionManager.cs (1)
250throw new TestPlatformException(
TestEngine.cs (2)
657throw new TestPlatformException(Resources.Resources.NoTestHostProviderFound); 702throw new TestPlatformException(stringBuilder.ToString());
Microsoft.TestPlatform.TestHostRuntimeProvider (4)
Hosting\DotnetTestHostManager.cs (4)
463throw new TestPlatformException(message); 504throw new TestPlatformException(message); 667throw new TestPlatformException($"Invalid target architecture '{targetArchitecture}'"); 681_ => throw new TestPlatformException($"Invalid target architecture '{targetArchitecture}'"),
Microsoft.VisualStudio.TestPlatform.Client (1)
DesignMode\DesignModeClient.cs (1)
347return ackPayload.HostProcessId > 0 ? ackPayload.HostProcessId : throw new TestPlatformException(ackPayload.ErrorMessage);
Microsoft.VisualStudio.TestPlatform.Common (3)
Exceptions\InvalidLoggerException.cs (1)
17: base(message)
ExtensionFramework\VSExtensionManager.cs (1)
81throw new TestPlatformException(string.Format(CultureInfo.CurrentCulture, Resources.Resources.VSInstallationNotFound));
Utilities\CancellationTokenExtensions.cs (1)
20throw new TestPlatformException(Resources.Resources.CancellationRequested);
Microsoft.VisualStudio.TestPlatform.ObjectModel (1)
ExceptionConverter.cs (1)
102public ProcessExitedException(string? message) : base(message) { }
testhost (1)
src\vstest\src\testhost.x86\DefaultEngineInvoker.cs (1)
200throw new TestPlatformException(
testhost.arm64 (1)
src\vstest\src\testhost.x86\DefaultEngineInvoker.cs (1)
200throw new TestPlatformException(
testhost.x86 (1)
DefaultEngineInvoker.cs (1)
200throw new TestPlatformException(
vstest.console (1)
Processors\ListFullyQualifiedTestsArgumentProcessor.cs (1)
225throw new TestPlatformException("DiscoveredTestsEventArgs cannot be null.");
vstest.console.arm64 (1)
src\vstest\src\vstest.console\Processors\ListFullyQualifiedTestsArgumentProcessor.cs (1)
225throw new TestPlatformException("DiscoveredTestsEventArgs cannot be null.");