13 references to Assert
Microsoft.TestPlatform.Extensions.BlameDataCollector (13)
BlameCollector.cs (13)
215
TPDebug.
Assert
(_logger != null && _context != null && _dataCollectionSink != null, "Initialize must be called before calling this method");
332
TPDebug.
Assert
(_logger != null && _context != null, "Initialize must be called before calling this method");
350
TPDebug.
Assert
(_logger != null && _context != null, "Initialize must be called before calling this method");
394
TPDebug.
Assert
(_logger != null && _context != null, "Initialize must be called before calling this method");
457
TPDebug.
Assert
(_testSequence != null && _testObjectDictionary != null, "Initialize must be called before calling this method");
462
TPDebug.
Assert
(e.TestElement is not null, "e.TestElement is null");
479
TPDebug.
Assert
(_testObjectDictionary != null, "Initialize must be called before calling this method");
487
TPDebug.
Assert
(e.TestElement is not null, "e.TestElement is null");
498
TPDebug.
Assert
(_testSequence != null && _testObjectDictionary != null && _context != null && _dataCollectionSink != null && _logger != null, "Initialize must be called before calling this method");
591
TPDebug.
Assert
(_testHostProcessName != null, $"TestHostLaunchedHandler must run before this method and set the _testHostProcessName");
642
TPDebug.
Assert
(_logger != null && _context != null, "Initialize must be called before calling this method");
688
TPDebug.
Assert
(_events != null, "Initialize must be called before calling this method");
716
TPDebug.
Assert
(_logger != null && _context != null, "Initialize must be called before calling this method");