17 references to TPDebug
Microsoft.TestPlatform.TestHostRuntimeProvider (17)
Hosting\DefaultTestHostManager.cs (10)
124
TPDebug
.Assert(_testHostProcessStdError is not null, "LaunchTestHostAsync must have been called before ExitCallBack");
125
TPDebug
.Assert(_testHostManagerCallbacks is not null, "Initialize must have been called before ExitCallBack");
134
TPDebug
.Assert(_testHostProcessStdError is not null, "LaunchTestHostAsync must have been called before ErrorReceivedCallback");
135
TPDebug
.Assert(_testHostManagerCallbacks is not null, "Initialize must have been called before ErrorReceivedCallback");
144
TPDebug
.Assert(_testHostProcessStdOut is not null, "LaunchTestHostAsync must have been called before OutputReceivedCallback");
145
TPDebug
.Assert(_testHostManagerCallbacks is not null, "Initialize must have been called before OutputReceivedCallback");
176
TPDebug
.Assert(IsInitialized, "Initialize must have been called before GetTestHostProcessStartInfo");
183
TPDebug
.Assert(currentWorkingDirectory is not null, "Current working directory must not be null.");
411
TPDebug
.Assert(_targetFramework is not null && _testHostProcess is not null, "Initialize and LaunchTestHostAsync must be called before AttachDebuggerToTestHost");
428
TPDebug
.Assert(IsInitialized, "Initialize must be called before FilterExtensionsBasedOnVersion");
Hosting\DotnetTestHostManager.cs (7)
172
TPDebug
.Assert(_testHostProcessStdError is not null, "_testHostProcessStdError is null");
181
TPDebug
.Assert(_testHostProcessStdError is not null, "_testHostProcessStdError is null");
182
TPDebug
.Assert(_testHostManagerCallbacks is not null, "Initialize must have been called before ExitCallBack");
191
TPDebug
.Assert(_testHostProcessStdOut is not null, "LaunchTestHostAsync must have been called before OutputReceivedCallback");
192
TPDebug
.Assert(_testHostManagerCallbacks is not null, "Initialize must have been called before OutputReceivedCallback");
239
TPDebug
.Assert(_targetFramework is not null, "_targetFramework is null");
889
TPDebug
.Assert(_targetFramework is not null && _testHostProcess is not null, "DotnetTestHostManager: TargetFramework is null");