Ejemplo n.º 1
0
 public void ReadTestFileWithPlainLines()
 {
     using (var stream = TestLogFiles.OpenTestFileWithPlainLines())
     {
         var results = new MultilineJavaLogReader(stream).ReadLines().ToList();
         results.Should().BeEquivalentTo(ExpectedResults);
     }
 }
Ejemplo n.º 2
0
 public void ReadEmptyTestFile()
 {
     using (var stream = TestLogFiles.OpenEmptyTestFile())
     {
         var results = new MultilineJavaLogReader(stream).ReadLines().ToList();
         results.Should().Equal(new List <ReadLogLineResult>());
     }
 }