From 9270bd30c65a1304c4228b2f07734bc8461cd531 Mon Sep 17 00:00:00 2001 From: gmungoc Date: Thu, 5 Jan 2017 14:26:04 +0000 Subject: [PATCH] JAL-2371 add test for toggling ignore gaps with PID colour scheme --- test/jalview/schemes/PIDColourSchemeTest.java | 65 ++++++++++++++++++++++--- 1 file changed, 59 insertions(+), 6 deletions(-) diff --git a/test/jalview/schemes/PIDColourSchemeTest.java b/test/jalview/schemes/PIDColourSchemeTest.java index 1518fb3..6f60e50 100644 --- a/test/jalview/schemes/PIDColourSchemeTest.java +++ b/test/jalview/schemes/PIDColourSchemeTest.java @@ -2,12 +2,26 @@ package jalview.schemes; import static org.testng.Assert.assertEquals; +import jalview.datamodel.SequenceI; +import jalview.gui.AlignFrame; +import jalview.gui.AlignViewport; +import jalview.io.DataSourceType; +import jalview.io.FileLoader; + import java.awt.Color; import org.testng.annotations.Test; public class PIDColourSchemeTest { + static final Color white = Color.white; + + static final Color over40 = new Color(204, 204, 255); + + static final Color over60 = new Color(153, 153, 255); + + static final Color over80 = new Color(100, 100, 255); + /** * Test findColour for cases: *