X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=test%2Fjalview%2Fcontroller%2FAlignViewControllerTest.java;h=7990d21b9bb53dd854c87ff908ec1ca6658474a6;hb=ef2b8e4a4d6db3bb95506b523c27dfd3231b12f3;hp=ad86f329a56ad77d097de5e3510512d4297d2e78;hpb=24de2d6a6f3db1b9d55f367e2bf8ba112e202a8a;p=jalview.git diff --git a/test/jalview/controller/AlignViewControllerTest.java b/test/jalview/controller/AlignViewControllerTest.java index ad86f32..7990d21 100644 --- a/test/jalview/controller/AlignViewControllerTest.java +++ b/test/jalview/controller/AlignViewControllerTest.java @@ -148,7 +148,8 @@ public class AlignViewControllerTest * seq1 feature in columns 4-6 is hidden * seq2 feature in columns 6-7 is shown */ - FeatureColourI fc = new FeatureColour(Color.red, Color.blue, 0f, 10f); + FeatureColourI fc = new FeatureColour(null, Color.red, Color.blue, null, + 0f, 10f); fc.setAboveThreshold(true); fc.setThreshold(5f); af.getFeatureRenderer().setColour("Metal", fc); @@ -223,8 +224,8 @@ public class AlignViewControllerTest /* * test Match/Find works first */ - FinderI f = new Finder(af.getViewport().getAlignment()); - f.findAll("M+", null, true, false); + FinderI f = new Finder(af.getViewport()); + f.findAll("M+", true, false); assertEquals( "Finder found different set of results to manually created SearchResults", sr, f.getSearchResults());