We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0fd9b4 commit b0621fcCopy full SHA for b0621fc
src/ReportGenerator.Core.Test/Parser/FileReading/LocalFileReaderTest.cs
@@ -54,5 +54,18 @@ public void NotExistingSourceDirectory_FileNotExists_DefaultPathReturned()
54
Assert.NotNull(error);
55
Assert.Null(lines);
56
}
57
+
58
+ [Theory]
59
+ [InlineData("/_/OpenCover.xml")]
60
+ [InlineData("/_1/OpenCover.xml")]
61
+ [InlineData("/_2/OpenCover.xml")]
62
+ public void DeterminicticPath_ExistingSourceDirectory_FileExists_MappedPathReturned(string filename)
63
+ {
64
+ var sut = new LocalFileReader(new[] { FileManager.GetCSharpReportDirectory() });
65
66
+ string[] lines = sut.LoadFile(filename, out string error);
67
+ Assert.Null(error);
68
+ Assert.True(lines.Length > 0);
69
+ }
70
71
0 commit comments