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