public void ModifySquareTag() { const string squareTag = "this [that] theotherthing"; const string modifiedSquareTag = @"this \cf2 [that]\cf0 theotherthing "; Assert.AreEqual(modifiedSquareTag, OutputHighlighter.Highlight(squareTag)); }
public void ModifyBuildSucceeded() { const string buildSucceeded = "BUILD SUCCEEDED"; const string modifiedBuildSucceeded = @"\cf3\b\fs18 BUILD SUCCEEDED\cf0\b0\fs17 "; Assert.AreEqual(modifiedBuildSucceeded, OutputHighlighter.Highlight(buildSucceeded)); }
public void ModifyError() { const string error = "asdfd error sfdsfd"; const string modifiedError = @"asdfd \cf1\b error\cf0\b0 sfdsfd "; Assert.AreEqual(modifiedError, OutputHighlighter.Highlight(error)); }
public void ModifyBuildFailed() { const string buildFailed = "BUILD FAILED"; const string modifiedBuildFailed = @"\cf1\b\fs18 BUILD FAILED\cf0\b0\fs17 "; Assert.AreEqual(modifiedBuildFailed, OutputHighlighter.Highlight(buildFailed)); }