public WriteTestIgnored ( string message ) : void | ||
message | string | |
return | void |
public void WriteTestIgnored_ShouldOutputTestIgnoredAndFinishedMessage() { _subject = new TestMessageLogger("test1"); var message = "kaboom"; _subject.WriteTestIgnored(message); var output = String.Format("##teamcity[testIgnored name='test1' message='{0}']\r\n", message) + GenerateFinishedMessage(0); Assert.That(_textMessageWriter.ToString(), Is.EqualTo(output)); }
public void WriteTestIgnored_ShouldOutputTestIgnoredAndFinishedMessage() { _subject = new TestMessageLogger("test1"); var message = "kaboom"; _subject.WriteTestIgnored(message); var output = String.Format("##teamcity[testIgnored name='test1' message='{0}']\r\n", message) + GenerateFinishedMessage(0); Assert.That(_textMessageWriter.ToString(), Is.EqualTo(output)); }