WriteMessage() 개인적인 메소드

private WriteMessage ( string name, string data ) : void
name string
data string
리턴 void
예제 #1
0
 public void WriteMessage_ShouldNotAddDotsIfMessageIsTooLong()
 {
     _subject = new TestLogger(0, "");
     _subject.WriteMessage("thisIsReallyLongTestName", "Passed 0.030s");
     Assert.That(_textMessageWriter.ToString(), Is.EqualTo("  [TEST] thisIsReallyLongTestName Passe\r\n         d 0.030s\r\n"));
 }
예제 #2
0
 public void WriteMessage_ShouldNotAddDotsIfMessageIsTooLong()
 {
     _subject = new TestLogger(0, "");
     _subject.WriteMessage("thisIsReallyLongTestName", "Passed 0.030s");
     Assert.That(_textMessageWriter.ToString(), Is.EqualTo("  [TEST] thisIsReallyLongTestName Passe\r\n         d 0.030s\r\n"));
 }