Skip to content

Commit

Permalink
Add to the unit tests the automatic download of all books which are r…
Browse files Browse the repository at this point in the history
…eferenced by tests and still available on CrossWire, in order to un-skip the corresponding tests
  • Loading branch information
UnasZole committed Jan 17, 2024
1 parent 97da807 commit 7e47409
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -271,9 +271,8 @@ public void testBackendGenevaCommentsZ() throws Exception {
public void testBackendStrongsGreekRawLd() throws Exception {
String version = "StrongsGreek";
String reference = "G3588";
String assertion = "3588 ho ho, including the feminine";

backendTest(version, reference, assertion);
backendTest(version, reference, "3588", "ho");
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@ public void testInstallBook() {
private BookInstaller underTest;
private Books installedBooks;

private static final String[] BOOKS = new String[]{"KJV"};
/**
* All books referenced in these unit tests that can be retrieved from the Crosswire repository.
* Currently missing : ESV2011, MHCC, ot1nt2
* Tests that reference a currently missing book are automatically skipped unless the book was installed externally.
*/
private static final String[] BOOKS = new String[]{"KJV", "StrongsHebrew", "StrongsGreek", "Josephus", "Nave", "Geneva", "TurNTB"};
private static final Logger LOGGER = LoggerFactory.getLogger(BookPreRequisitesTest.class);
}

0 comments on commit 7e47409

Please sign in to comment.