Commit 3323afbb authored by Piotr Gawron's avatar Piotr Gawron
Browse files

unit tests fixed

parent 64d2a989
Pipeline #40040 failed with stage
in 27 minutes and 56 seconds
......@@ -83,8 +83,7 @@ public class BioEntityConverterImplTest extends GraphicsTestFunctions {
BioEntityConverterImpl converter = new BioEntityConverterImpl(alias, false, colorExtractor);
converter.draw(alias, graphics, new ConverterParams());
verify(graphics, times(1)).drawImage(any(Image.class), anyInt(), anyInt(), anyInt(), anyInt(), anyInt(), anyInt(),
anyInt(), anyInt(), nullable(ImageObserver.class));
verify(graphics, times(1)).drawImage(any(Image.class), anyInt(), anyInt(), nullable(ImageObserver.class));
}
private Reaction createReaction(double lineWidth) {
......
......@@ -367,8 +367,7 @@ public class SpeciesConverterTest extends GraphicsTestFunctions {
alias.setGlyph(glyph);
rc.draw(alias, graphics, new ConverterParams());
verify(graphics, times(1)).drawImage(any(Image.class), anyInt(), anyInt(), anyInt(), anyInt(), anyInt(), anyInt(),
anyInt(), anyInt(), nullable(ImageObserver.class));
verify(graphics, times(1)).drawImage(any(Image.class), anyInt(), anyInt(), nullable(ImageObserver.class));
}
protected GenericProtein createProtein() {
......
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