X-Git-Url: http://source.jalview.org/gitweb/?p=jalview.git;a=blobdiff_plain;f=test%2Fjalview%2Fgui%2FFeatureSettingsTest.java;h=5219bda5d9116cfc6b76129c2519d8a47e9a6e3d;hp=db37733c18f31c1a1a42fc102ed95b4e25f3f7f9;hb=ee7d621eea4811c90ce8bc470cc1e217cd2d806c;hpb=8334a9d216c71bd0960ea01e2991c26382a139b7 diff --git a/test/jalview/gui/FeatureSettingsTest.java b/test/jalview/gui/FeatureSettingsTest.java index db37733..5219bda 100644 --- a/test/jalview/gui/FeatureSettingsTest.java +++ b/test/jalview/gui/FeatureSettingsTest.java @@ -61,8 +61,8 @@ public class FeatureSettingsTest fr.setColour("type2", byLabel); // type3: by score above threshold - FeatureColourI byScore = new FeatureColour(Color.BLACK, Color.BLUE, 1, - 10); + FeatureColourI byScore = new FeatureColour(null, Color.BLACK, + Color.BLUE, null, 1, 10); byScore.setAboveThreshold(true); byScore.setThreshold(2f); fr.setColour("type3", byScore); @@ -74,8 +74,8 @@ public class FeatureSettingsTest fr.setColour("type4", byAF); // type5: by attribute CSQ:PolyPhen below threshold - FeatureColourI byPolyPhen = new FeatureColour(Color.BLACK, Color.BLUE, - 1, 10); + FeatureColourI byPolyPhen = new FeatureColour(null, Color.BLACK, + Color.BLUE, null, 1, 10); byPolyPhen.setBelowThreshold(true); byPolyPhen.setThreshold(3f); byPolyPhen.setAttributeName("CSQ", "PolyPhen"); @@ -216,7 +216,7 @@ public class FeatureSettingsTest /* * graduated colour with threshold is html-encoded */ - fc = new FeatureColour(Color.red, Color.blue, 2f, 10f); + fc = new FeatureColour(null, Color.red, Color.blue, null, 2f, 10f); fc.setBelowThreshold(true); fc.setThreshold(4f); assertEquals(FeatureSettings.getColorTooltip(fc),