public void InvalidSeverityIgnored() { using (var log = new DebugPrintLog(Severity.Debug)) { WriteAndVerify(log, Severity.Unknown, true); } }
public void DiagnosticMethodSucceeds() { using (var log = new DebugPrintLog(Severity.Diagnostic)) { WriteAndVerify(log, Severity.Diagnostic); } }
public void DebugMethodSucceeds() { using (var log = new DebugPrintLog(Severity.Debug)) { WriteAndVerify(log, Severity.Debug); } }
public void NormalMethodSucceeds() { using (var log = new DebugPrintLog(Severity.Always)) { WriteAndVerify(log, Severity.Always); } }
public void ErrorMethodSucceeds() { using (var log = new DebugPrintLog(Severity.Error)) { WriteAndVerify(log, Severity.Error); } }
public void FatalMethodSucceeds() { using (var log = new DebugPrintLog(Severity.Fatal)) { WriteAndVerify(log, Severity.Fatal); } }