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

unit test improved to throw right exception

parent b1e63eef
No related branches found
No related tags found
1 merge request!44Resolve "semantic zoom"
......@@ -508,7 +508,7 @@ public class NodeComparatorTest extends ReactomeTestFunctions {
}
@Test
public void testCatalystMatchInReaction1172() {
public void testCatalystMatchInReaction1172() throws Exception {
try {
Model model = getModelForFile("testFiles/small/gpd1.xml", true);
......@@ -520,12 +520,12 @@ public class NodeComparatorTest extends ReactomeTestFunctions {
} catch (Exception e) {
e.printStackTrace();
fail("Unknown exception");
throw e;
}
}
@Test
public void testModifierMatchInReaction931() {
public void testModifierMatchInReaction931() throws Exception {
try {
Model model = getModelForFile("testFiles/small/prkacb.xml", true);
......@@ -537,7 +537,7 @@ public class NodeComparatorTest extends ReactomeTestFunctions {
} catch (Exception e) {
e.printStackTrace();
fail("Unknown exception");
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