Commit 97be2f60 authored by Piotr Gawron's avatar Piotr Gawron

merge issue

parent a109cd4f
Pipeline #17327 passed with stage
in 12 minutes and 48 seconds
......@@ -19,14 +19,14 @@ public class ClearColorModelCommandTest extends CommandTestFunctions {
public void test() throws CommandExecutionException {
Model model = super.createSimpleModel();
PathwayCompartment compartment = new PathwayCompartment("id");
compartment.setColor(Color.BLUE);
compartment.setFillColor(Color.BLUE);
compartment.setFontColor(Color.YELLOW);
model.addElement(compartment);
new ClearColorModelCommand(model).execute();
for (Element e : model.getElements()) {
assertEquals(Color.WHITE, e.getColor());
assertEquals(Color.WHITE, e.getFillColor());
assertEquals(eu.getElementTag(e) + "Invalid font color ", Color.BLACK, e.getFontColor());
}
}
......
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