public void OnBeforeRunTestsClearsCodeCoverageMessageViewTextWithSafeAsyncCall() { MessageViewCategory view = new MessageViewCategory("Test"); view.AppendText("abc"); command.CodeCoverageMessageViewCategory = view; command.CallOnBeforeRunTests(); Assert.AreEqual(String.Empty, view.Text); }
public static void AppendOutputText(string text) { EnsureProfileCategory(); profileCategory.AppendText(StringParser.Parse(text)); }
public static void PrintDebugMessage(string msg) { EnsureDebugCategory(); debugCategory.AppendText(msg); }