29 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 (5)
DataCollectionRequestHandler.cs (1)
351throw new TestPlatformException(
TestRequestSender.cs (4)
259throw new TestPlatformException(CommonResources.VersionCheckFailed); 263throw new TestPlatformException(string.Format( 302throw new TestPlatformException(reason); 308throw new TestPlatformException(string.Format(CultureInfo.CurrentCulture, CommonResources.VersionCheckTimedout, timeout, EnvironmentHelper.VstestConnectionTimeout));
Microsoft.TestPlatform.CrossPlatEngine (6)
Client\ProxyOperationManager.cs (3)
254throw new TestPlatformException(string.Format(CultureInfo.CurrentCulture, CrossPlatEngineResources.FailedToLaunchTestHost, ex.ToString())); 526throw new TestPlatformException(string.Format(CultureInfo.CurrentCulture, CrossPlatEngineResources.TestHostExitedWithError, string.Join("', '", sources), BuildCrashErrorContext(_testHostProcessFileName, _testHostProcessStdError))); 567throw new TestPlatformException(errorMsg);
DataCollection\ProxyDataCollectionManager.cs (1)
250throw new TestPlatformException(
TestEngine.cs (2)
506throw new TestPlatformException(Resources.Resources.NoTestHostProviderFound); 551throw new TestPlatformException(stringBuilder.ToString());
Microsoft.TestPlatform.TestHostRuntimeProvider (6)
Hosting\DefaultTestHostManager.cs (1)
213throw new TestPlatformException(TestHostResources.NetFrameworkTestsNotSupportedOnNonWindows);
Hosting\DotnetTestHostManager.cs (5)
431throw new TestPlatformException(message); 483throw new TestPlatformException(message); 524throw new TestPlatformException(message); 686throw new TestPlatformException($"Invalid target architecture '{targetArchitecture}'"); 700_ => throw new TestPlatformException($"Invalid target architecture '{targetArchitecture}'"),
Microsoft.VisualStudio.TestPlatform.Client (1)
DesignMode\DesignModeClient.cs (1)
332return 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)
234throw new TestPlatformException("DiscoveredTestsEventArgs cannot be null.");
vstest.console.arm64 (1)
src\vstest\src\vstest.console\Processors\ListFullyQualifiedTestsArgumentProcessor.cs (1)
234throw new TestPlatformException("DiscoveredTestsEventArgs cannot be null.");