If you have some reCaptcha popup or weird behavior when submit/edit issues let us know, we enabled spam detection that can flag false positives.

Commit c635293a authored by Piotr Gawron's avatar Piotr Gawron

unit test checks for proper exception

parent c94da71d
Pipeline #8192 passed with stage
in 11 minutes and 1 second
......@@ -135,7 +135,7 @@ public class CellDesignerXmlParserTest extends CellDesignerTestFunctions {
CellDesignerXmlParser parser = new CellDesignerXmlParser();
parser.createModel(new ConverterParams().filename("testFiles/invalid/sample10.xml"));
fail("Exceptin expected");
} catch (InvalidArgumentException e) {
} catch (InvalidInputDataExecption e) {
assertTrue(e.getMessage().contains("No type information for modification"));
} catch (Exception e) {
e.printStackTrace();
......
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