(string input, bool result)
| 132 | } |
| 133 | |
| 134 | [Theory] |
| 135 | [InlineData("foo.dll", true)] |
| 136 | [InlineData("foo.DlL", true)] |
| 137 | [InlineData("C:\\Foo\\Bar\\foo.Exe", true)] |
| 138 | [InlineData("Test.png", false)] |
| 139 | [InlineData(".rels", false)] |
| 140 | public void FileIsLikelyPEImageTest(string input, bool result) |
| 141 | { |
| 142 | Assert.Equal(result, Utility.FileIsLikelyPEImage(input)); |
| 143 | } |
| 144 | |
| 145 | [Theory] |
| 146 | [InlineData("C:\\Users\\bob\\temp\\pkgPath\\lib\\net45\\foo.exe", "C:\\Users\\bob\\temp\\pkgPath", true)] |
nothing calls this directly
no test coverage detected