17 references to TPDebug
Microsoft.TestPlatform.TestHostRuntimeProvider (17)
Hosting\DefaultTestHostManager.cs (10)
129
TPDebug
.Assert(_testHostProcessStdError is not null, "LaunchTestHostAsync must have been called before ExitCallBack");
130
TPDebug
.Assert(_testHostManagerCallbacks is not null, "Initialize must have been called before ExitCallBack");
139
TPDebug
.Assert(_testHostProcessStdError is not null, "LaunchTestHostAsync must have been called before ErrorReceivedCallback");
140
TPDebug
.Assert(_testHostManagerCallbacks is not null, "Initialize must have been called before ErrorReceivedCallback");
149
TPDebug
.Assert(_testHostProcessStdOut is not null, "LaunchTestHostAsync must have been called before OutputReceivedCallback");
150
TPDebug
.Assert(_testHostManagerCallbacks is not null, "Initialize must have been called before OutputReceivedCallback");
181
TPDebug
.Assert(IsInitialized, "Initialize must have been called before GetTestHostProcessStartInfo");
188
TPDebug
.Assert(currentWorkingDirectory is not null, "Current working directory must not be null.");
418
TPDebug
.Assert(_targetFramework is not null && _testHostProcess is not null, "Initialize and LaunchTestHostAsync must be called before AttachDebuggerToTestHost");
435
TPDebug
.Assert(IsInitialized, "Initialize must be called before FilterExtensionsBasedOnVersion");
Hosting\DotnetTestHostManager.cs (7)
171
TPDebug
.Assert(_testHostProcessStdError is not null, "_testHostProcessStdError is null");
180
TPDebug
.Assert(_testHostProcessStdError is not null, "_testHostProcessStdError is null");
181
TPDebug
.Assert(_testHostManagerCallbacks is not null, "Initialize must have been called before ExitCallBack");
190
TPDebug
.Assert(_testHostProcessStdOut is not null, "LaunchTestHostAsync must have been called before OutputReceivedCallback");
191
TPDebug
.Assert(_testHostManagerCallbacks is not null, "Initialize must have been called before OutputReceivedCallback");
237
TPDebug
.Assert(_targetFramework is not null, "_targetFramework is null");
792
TPDebug
.Assert(_targetFramework is not null && _testHostProcess is not null, "DotnetTestHostManager: TargetFramework is null");