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

            Log4ColumnParser.Create("     [%timestamp", 5, out length).Should().NotBeNull();
            length.Should().Be(11);
        }
Beispiel #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);
        }