Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
Add test file
  • Loading branch information
magaupp committed Oct 31, 2024
1 parent 41a049b commit 46fda95
Show file tree
Hide file tree
Showing 3 changed files with 1,662 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,11 @@ void testSpotbugsParser() throws IOException {
testParserWithFile("spotbugsXml.xml", "spotbugs.txt");
}

@Test
void testRuffParser() throws IOException {
testParserWithFile("ruff.sarif", "ruff.json");
}

@Test
void testParseInvalidXML() throws IOException {
assertThatCode(() -> testParserWithFileNamed("invalid_xml.xml", "pmd.xml", "invalid_xml.txt")).isInstanceOf(RuntimeException.class);
Expand Down
Loading

0 comments on commit 46fda95

Please sign in to comment.