diff --git a/converter-sbml/src/test/java/lcsb/mapviewer/converter/model/sbml/GenericSbmlParserTest.java b/converter-sbml/src/test/java/lcsb/mapviewer/converter/model/sbml/GenericSbmlParserTest.java index f6c3f50cc56d14d1e4f3620a8741e7a5c3be07bb..b1e69ab8d530d26c9149ed004298db80413bda88 100644 --- a/converter-sbml/src/test/java/lcsb/mapviewer/converter/model/sbml/GenericSbmlParserTest.java +++ b/converter-sbml/src/test/java/lcsb/mapviewer/converter/model/sbml/GenericSbmlParserTest.java @@ -47,7 +47,7 @@ public class GenericSbmlParserTest { @Parameters(name = "{index} : {0}") public static Collection<Object[]> data() throws IOException { Collection<Object[]> data = new ArrayList<Object[]>(); - Files.walk(Paths.get("testFiles/tmp")).forEach(fPath -> { + Files.walk(Paths.get("testFiles/layoutExample")).forEach(fPath -> { if (Files.isRegularFile(fPath) && fPath.toString().endsWith(".xml")) { data.add(new Object[] { fPath }); } @@ -73,7 +73,7 @@ public class GenericSbmlParserTest { + filePath.getFileName().toString().substring(0, filePath.getFileName().toString().indexOf(".xml")); String pngFilePath = pathWithouExtension.concat(".png"); nig.saveToFile(pngFilePath); - Desktop.getDesktop().open(new File(pngFilePath)); + // Desktop.getDesktop().open(new File(pngFilePath)); CellDesignerXmlParser cellDesignerXmlParser = new CellDesignerXmlParser(); String xmlString = cellDesignerXmlParser.toXml(model); diff --git a/converter-sbml/testFiles/layoutExample/example2_level3.xml b/converter-sbml/testFiles/invalidReaction/example2_level3.xml similarity index 100% rename from converter-sbml/testFiles/layoutExample/example2_level3.xml rename to converter-sbml/testFiles/invalidReaction/example2_level3.xml