Commit ff697009 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

making sure that export of colors is handled properly

parent 949ea4d7
......@@ -9,6 +9,8 @@ minerva (14.0.0~alpha.0) unstable; urgency=low
with boolean operator resulted was skipping some layout information
* Bug fix: reaction in SBGNML file containing two products was improperly
drawn
* Bug fix: color handling in CellDesigner did not work properly for modifiers
inside boolean gateway
-- Sascha Herzinger <sascha.herzinger@uni.lu> Wed, 22 May 2019 10:30:00 +0200
......
......@@ -8,7 +8,8 @@ import java.awt.geom.Point2D;
import java.util.ArrayList;
import java.util.List;
import org.apache.logging.log4j.*;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
......@@ -248,6 +249,17 @@ public class ReactionToXmlTest extends CellDesignerTestFunctions {
}
@Test
public void testExportColorReactionWithModifierOperator() throws Exception {
try {
Model model= getModelForFile("testFiles/colorfull_reaction_2.xml");
testXmlSerialization(model);
} catch (Exception e) {
e.printStackTrace();
throw e;
}
}
@Test
public void testGetConnectSchemeXmlStringForLines() {
// this test checks currently not used part of the code (for test coverage
......
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