git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-3746 more release notes and docs: JAL-3863 JAL-3745
[jalview.git]
/
test
/
jalview
/
controller
/
AlignViewControllerTest.java
diff --git
a/test/jalview/controller/AlignViewControllerTest.java
b/test/jalview/controller/AlignViewControllerTest.java
index
68b0b57
..
fde4da1
100644
(file)
--- a/
test/jalview/controller/AlignViewControllerTest.java
+++ b/
test/jalview/controller/AlignViewControllerTest.java
@@
-26,6
+26,7
@@
import static org.testng.AssertJUnit.assertTrue;
import jalview.analysis.Finder;
import jalview.api.AlignViewControllerI;
import jalview.api.FeatureColourI;
import jalview.analysis.Finder;
import jalview.api.AlignViewControllerI;
import jalview.api.FeatureColourI;
+import jalview.api.FinderI;
import jalview.datamodel.Alignment;
import jalview.datamodel.SearchResults;
import jalview.datamodel.SearchResultsI;
import jalview.datamodel.Alignment;
import jalview.datamodel.SearchResults;
import jalview.datamodel.SearchResultsI;
@@
-223,10
+224,8
@@
public class AlignViewControllerTest
/*
* test Match/Find works first
*/
/*
* test Match/Find works first
*/
- Finder f = new Finder(af.getViewport().getAlignment(), null);
- f.setFindAll(true);
- f.setCaseSensitive(true);
- f.find("M+");
+ 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());
assertEquals(
"Finder found different set of results to manually created SearchResults",
sr, f.getSearchResults());