14 references to Assert
Microsoft.TestPlatform.Extensions.BlameDataCollector (14)
BlameCollector.cs (14)
216
TPDebug.
Assert
(_logger != null && _context != null && _dataCollectionSink != null, "Initialize must be called before calling this method");
250
TPDebug.
Assert
(_testHostProcessId != 0, "CollectDumpAndAbortTesthost called but testhost has not launched yet.");
337
TPDebug.
Assert
(_logger != null && _context != null, "Initialize must be called before calling this method");
355
TPDebug.
Assert
(_logger != null && _context != null, "Initialize must be called before calling this method");
399
TPDebug.
Assert
(_logger != null && _context != null, "Initialize must be called before calling this method");
462
TPDebug.
Assert
(_testSequence != null && _testObjectDictionary != null, "Initialize must be called before calling this method");
467
TPDebug.
Assert
(e.TestElement is not null, "e.TestElement is null");
484
TPDebug.
Assert
(_testObjectDictionary != null, "Initialize must be called before calling this method");
492
TPDebug.
Assert
(e.TestElement is not null, "e.TestElement is null");
503
TPDebug.
Assert
(_testSequence != null && _testObjectDictionary != null && _context != null && _dataCollectionSink != null && _logger != null, "Initialize must be called before calling this method");
596
TPDebug.
Assert
(_testHostProcessName != null, $"TestHostLaunchedHandler must run before this method and set the _testHostProcessName");
647
TPDebug.
Assert
(_logger != null && _context != null, "Initialize must be called before calling this method");
696
TPDebug.
Assert
(_events != null, "Initialize must be called before calling this method");
724
TPDebug.
Assert
(_logger != null && _context != null, "Initialize must be called before calling this method");