Exemple #1
0
        public void ModifySquareTag()
        {
            const string squareTag         = "this [that] theotherthing";
            const string modifiedSquareTag = @"this \cf2 [that]\cf0  theotherthing ";

            Assert.AreEqual(modifiedSquareTag, OutputHighlighter.Highlight(squareTag));
        }
Exemple #2
0
        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));
        }
Exemple #3
0
        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));
        }
Exemple #4
0
        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));
        }