44 references to TPDebug
Microsoft.TestPlatform.CrossPlatEngine (44)
AttachmentsProcessing\DataCollectorAttachmentsProcessorsFactory.cs (2)
106
TPDebug
.Assert(dataCollectorExtension.TestPluginInfo is not null, "dataCollectorExtension.TestPluginInfo is null");
121
TPDebug
.Assert(attachmentQualifiedName is not null, "attachmentQualifiedName is null");
Client\Parallel\ParallelProxyDiscoveryManager.cs (1)
160
TPDebug
.Assert(notDiscoveredCount + partiallyDiscoveredCount + fullyDiscoveredCount + skippedCount == expectedCount,
Client\Parallel\ParallelProxyExecutionManager.cs (3)
110
TPDebug
.Assert(testRunCriteria.TestRunSettings is not null, "testRunCriteria.TestRunSettings is null");
295
TPDebug
.Assert(testRunCriteria.Sources is not null, "testRunCriteria.Sources is null");
360
TPDebug
.Assert(_currentRunDataAggregator is not null, "_currentRunDataAggregator is null");
Client\ProxyDiscoveryManager.cs (2)
106
TPDebug
.Assert(_proxyOperationManager is not null, "ProxyOperationManager is null.");
143
TPDebug
.Assert(_proxyOperationManager is not null, "ProxyOperationManager is null.");
Client\ProxyExecutionManager.cs (4)
55
TPDebug
.Assert(_proxyOperationManager is not null, "_proxyOperationManager is null");
60
TPDebug
.Assert(_proxyOperationManager is not null, "_proxyOperationManager is null");
133
TPDebug
.Assert(_proxyOperationManager is not null, "_proxyOperationManager is null");
193
TPDebug
.Assert(_proxyOperationManager is not null, "ProxyOperationManager is null.");
Client\TestRunCriteriaExtensions.cs (2)
19
TPDebug
.Assert(testRunCriteria.AdapterSourceMap is not null, "testRunCriteria.AdapterSourceMap is null");
35
TPDebug
.Assert(testRunCriteria.Tests is not null, "testRunCriteria.Tests is null");
DataCollection\DataCollectionLauncherFactory.cs (1)
41
TPDebug
.Assert(currentProcessPath is not null, "currentProcessPath is null");
DataCollection\DefaultDataCollectionLauncher.cs (2)
56
TPDebug
.Assert(dataCollectorDirectory is not null, "dataCollectorDirectory is not null");
59
TPDebug
.Assert(currentProcessPath is not null, "currentProcessPath is not null");
DataCollection\DotnetDataCollectionLauncher.cs (2)
65
TPDebug
.Assert(dataCollectorDirectory is not null, "dataCollectorDirectory is null");
100
TPDebug
.Assert(currentProcessFileName is not null, "currentProcessFileName is null");
DataCollection\InProcDataCollector.cs (1)
82
TPDebug
.Assert(Path.IsPathRooted(codeBase), "Absolute path expected");
DataCollection\ParallelDataCollectionEventsHandler.cs (1)
64
TPDebug
.Assert(_attachmentsProcessingManager is not null, "_attachmentsProcessingManager is null");
DataCollection\ProxyDataCollectionManager.cs (1)
199
TPDebug
.Assert(result is not null, "result is null");
Discovery\DiscovererEnumerator.cs (1)
293
TPDebug
.Assert(discoverer.Metadata.DefaultExecutorUri is not null, "discoverer.Metadata.DefaultExecutorUri is null");
Discovery\DiscoveryResultCache.cs (4)
54
TPDebug
.Assert(cacheSize > 0, "Buffer size cannot be less than zero");
55
TPDebug
.Assert(onReportTestCases != null, "Callback which listens for cache size limit cannot be null.");
56
TPDebug
.Assert(discoveredTestEventTimeout > TimeSpan.MinValue, "The cache timeout must be greater than min value.");
95
TPDebug
.Assert(test != null, "DiscoveryResultCache.AddTest called with no new test.");
Execution\BaseRunTests.cs (2)
729
TPDebug
.Assert(updatedTestResult is not null, "updatedTestResult is null");
748
TPDebug
.Assert(updatedTestCase is not null, "updatedTestCase is null");
Execution\ExecutionManager.cs (2)
224
TPDebug
.Assert(testEventsPublisher is not null, "testEventsPublisher is null");
231
TPDebug
.Assert(testEventsPublisher is not null, "testEventsPublisher is null");
Execution\RunTestsWithTests.cs (1)
60
TPDebug
.Assert(TestExecutionContext.TestCaseFilter == null, "TestCaseFilter should be null for specific tests.");
Execution\TestRunCache.cs (3)
82
TPDebug
.Assert(cacheSize > 0, "Buffer size cannot be less than zero");
83
TPDebug
.Assert(onCacheHit != null, "Callback which listens for cache size limit cannot be null.");
84
TPDebug
.Assert(cacheTimeout > TimeSpan.MinValue, "The cache timeout must be greater than min value.");
PostProcessing\ArtifactProcessingManager.cs (4)
107
TPDebug
.Assert(_testSessionProcessArtifactFolder is not null, "_testSessionProcessArtifactFolder is null");
108
TPDebug
.Assert(_processArtifactFolder is not null, "_processArtifactFolder is null");
140
TPDebug
.Assert(_processArtifactFolder is not null, "_processArtifactFolder is null");
232
TPDebug
.Assert(_processArtifactFolder is not null, "_processArtifactFolder is null");
TestEngine.cs (5)
106
TPDebug
.Assert(testHostManager is not null, "testHostManager is null");
139
TPDebug
.Assert(hostManager is not null, "hostManager is null");
160
TPDebug
.Assert(testRunCriteria.TestRunSettings is not null, "testRunCriteria.TestRunSettings is null");
191
TPDebug
.Assert(testHostManager is not null, "testHostManager is null");
471
TPDebug
.Assert(currentProcessPath != null, "currentProcessPath is null");