47 references to TPDebug
Microsoft.TestPlatform.CrossPlatEngine (47)
AttachmentsProcessing\DataCollectorAttachmentsProcessorsFactory.cs (2)
98TPDebug.Assert(dataCollectorExtension.TestPluginInfo is not null, "dataCollectorExtension.TestPluginInfo is null"); 113TPDebug.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"); 308TPDebug.Assert(testRunCriteria.Sources is not null, "testRunCriteria.Sources is null"); 373TPDebug.Assert(_currentRunDataAggregator is not null, "_currentRunDataAggregator is null");
Client\ProxyDiscoveryManager.cs (2)
136TPDebug.Assert(_proxyOperationManagerCreator is not null, "_proxyOperationManagerCreator is null"); 177TPDebug.Assert(_proxyOperationManager is not null, "ProxyOperationManager is null.");
Client\ProxyExecutionManager.cs (5)
58TPDebug.Assert(_proxyOperationManager is not null, "_proxyOperationManager is null"); 63TPDebug.Assert(_proxyOperationManager is not null, "_proxyOperationManager is null"); 170TPDebug.Assert(_proxyOperationManagerCreator is not null, "_proxyOperationManagerCreator is null"); 171TPDebug.Assert(sources is not null, "sources is null"); 237TPDebug.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)
707TPDebug.Assert(updatedTestResult is not null, "updatedTestResult is null"); 726TPDebug.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)
83TPDebug.Assert(cacheSize > 0, "Buffer size cannot be less than zero"); 84TPDebug.Assert(onCacheHit != null, "Callback which listens for cache size limit cannot be null."); 85TPDebug.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 (6)
106TPDebug.Assert(testHostManager is not null, "testHostManager is null"); 128TPDebug.Assert(hostManager is not null, "hostManager is null"); 137TPDebug.Assert(discoveryCriteria.TestSessionInfo is not null, "discoveryCriteria.TestSessionInfo is null"); 195TPDebug.Assert(testRunCriteria.TestRunSettings is not null, "testRunCriteria.TestRunSettings is null"); 227TPDebug.Assert(testHostManager is not null, "testHostManager is null"); 622TPDebug.Assert(currentProcessPath != null, "currentProcessPath is null");
TestSession\ProxyTestSessionManager.cs (1)
129TPDebug.Assert(_testSessionCriteria.Sources is not null, "_testSessionCriteria.Sources is null");