SplitLogLine() 공개 메소드

public SplitLogLine ( string text ) : string[]
text string
리턴 string[]
예제 #1
0
    public void SplitLogLine_Empty()
    {
        var lp = new LogParser();

        Assert.Equal(new string[] { string.Empty }, lp.SplitLogLine(string.Empty));
    }
예제 #2
0
    public void SplitLogLine()
    {
        var lp = new LogParser();

        Assert.Equal(new string[] { "section 1", "section 2", "section 3" }, lp.SplitLogLine("section 1<^>section 2<--->section 3"));
    }