X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=test%2Fjalview%2Fcontroller%2FAlignViewControllerTest.java;h=fde4da174b25d2298f1568382637d353b15a664f;hb=b7014049e421026d0f2d57179af9688472cd78f2;hp=ad86f329a56ad77d097de5e3510512d4297d2e78;hpb=24de2d6a6f3db1b9d55f367e2bf8ba112e202a8a;p=jalview.git diff --git a/test/jalview/controller/AlignViewControllerTest.java b/test/jalview/controller/AlignViewControllerTest.java index ad86f32..fde4da1 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, false); assertEquals( "Finder found different set of results to manually created SearchResults", sr, f.getSearchResults());