/// <exception cref="System.IO.IOException"></exception> public override void Print(TextWriter writer) { writer.Write(_testLabel); writer.Write(": "); // TODO: don't print the first stack trace elements // which reference db4ounit.Assert methods TestPlatform.PrintStackTrace(writer, _failure); }
private void Print(string message) { try { _writer.Write(message + TestPlatform.NewLine); _writer.Flush(); } catch (IOException x) { TestPlatform.PrintStackTrace(_writer, x); } }
private void Report(Exception x) { TestPlatform.PrintStackTrace(TestPlatform.GetStdErr(), x); }