Example #1
0
        public void TestFormatting(WriteStyle style, string value, string expected)
        {
            TestRichTextLogger logger = new TestRichTextLogger();

            logger.Write(style, value);
            logger.RichTextBuffer.Should().Be(expected);
        }
Example #2
0
 public void TestFormatting(WriteStyle style, string value, string expected)
 {
     TestRichTextLogger logger = new TestRichTextLogger();
     logger.Write(style, value);
     logger.RichTextBuffer.Should().Be(expected);
 }
Example #3
0
 public void TestEscaping(string value, string expected)
 {
     TestRichTextLogger logger = new TestRichTextLogger();
     logger.TestEscaping(value).Should().Be(expected);
 }
Example #4
0
        public void TestEscaping(string value, string expected)
        {
            TestRichTextLogger logger = new TestRichTextLogger();

            logger.TestEscaping(value).Should().Be(expected);
        }