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