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