Commit 7b54bfb8 authored by Matija Obreza's avatar Matija Obreza

Included missing JUnit null checks

parent c77bdd6c
......@@ -49,6 +49,10 @@ public class TaxonomyCheckerTest extends DatabaseTest {
@Test
public void testMedicago_sativa() {
if (CHECKER == null) {
return;
}
for (SpeciesRow speciesRow : DATABASE.listSpecies("Medicago", "sativa", 1000)) {
// System.err.println(speciesRow);
// System.err.println(speciesRow.getName() + " -> " + speciesRow.getSubtaxa());
......@@ -67,6 +71,10 @@ public class TaxonomyCheckerTest extends DatabaseTest {
@Test
public void testPisum_sativum() {
if (CHECKER == null) {
return;
}
for (SpeciesRow speciesRow : DATABASE.listSpecies("Pisum", "sativum", 1000)) {
System.err.println(speciesRow);
// System.err.println(speciesRow.getName() + " -> " + speciesRow.getSubtaxa());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment