private WriteMessage ( string name, string data ) : void | ||
name | string | |
data | string | |
Результат | void |
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")); }
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")); }