Skip to content
Snippets Groups Projects
Commit b883803d authored by Piotr Gawron's avatar Piotr Gawron
Browse files

chemical tests added to the suit

parent 6ca3d6cd
No related branches found
No related tags found
No related merge requests found
......@@ -4,13 +4,15 @@ import org.junit.runner.RunWith;
import org.junit.runners.Suite;
import org.junit.runners.Suite.SuiteClasses;
import lcsb.mapviewer.api.projects.chemicals.AllChemicalTests;
import lcsb.mapviewer.api.projects.drugs.AllDrugTests;
import lcsb.mapviewer.api.projects.mirnas.AllMiRnaTests;
import lcsb.mapviewer.api.projects.models.AllModelsTests;
import lcsb.mapviewer.api.projects.overlays.AllOverlaysTests;
@RunWith(Suite.class)
@SuiteClasses({ AllDrugTests.class, //
@SuiteClasses({ AllChemicalTests.class, //
AllDrugTests.class, //
AllMiRnaTests.class, //
AllModelsTests.class, //
AllOverlaysTests.class, //
......
package lcsb.mapviewer.api.projects.chemicals;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
import org.junit.runners.Suite.SuiteClasses;
@RunWith(Suite.class)
@SuiteClasses({ ChemicalRestImplTest.class })
public class AllChemicalTests {
}
......@@ -47,7 +47,7 @@ public class DrugRestImplTest extends RestTestFunctions {
List<Map<String, Object>> references = (List<Map<String, Object>>) result.get("references");
Map<String, Object> reference = references.get(0);
assertNotNull(reference.get("type"));
} catch (Exception e) {
e.printStackTrace();
throw e;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment