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 23, 2024
1 parent 1a16a6a commit 41becc3
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 41becc3

Please sign in to comment.