Exemple #1
0
        public void TestCreate3()
        {
            int length;

            Log4ColumnParser.Create("     [%timestamp", 5, out length).Should().NotBeNull();
            length.Should().Be(11);
        }
Exemple #2
0
        public void TestCreate2()
        {
            int length;
            var parser = Log4ColumnParser.Create("[%timestamp", 0, out length);

            parser.Should().NotBeNull();
            parser.Pattern.Should().Be("[%timestamp");
            length.Should().Be(11);
        }