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

invalid sbml moved to invalid examples

parent 310d7d76
No related branches found
No related tags found
1 merge request!186Resolve "upload of sbml"
......@@ -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);
......
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