X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=test%2Fjalview%2Fstructure%2FStructureSelectionManagerTest.java;h=999d158f4b04c3f61101054631f61d172d38ba6f;hb=bee12714a66f2586e674ca2470efb6d8de79df58;hp=ddee3ac8da2287ab0cd355c18026099834703efd;hpb=be47cdd2406f63ccb1fcf424194e82302dfc9360;p=jalview.git diff --git a/test/jalview/structure/StructureSelectionManagerTest.java b/test/jalview/structure/StructureSelectionManagerTest.java index ddee3ac..999d158 100644 --- a/test/jalview/structure/StructureSelectionManagerTest.java +++ b/test/jalview/structure/StructureSelectionManagerTest.java @@ -28,6 +28,7 @@ import jalview.datamodel.Sequence; import jalview.datamodel.SequenceFeature; import jalview.datamodel.SequenceI; import jalview.io.FormatAdapter; +import jalview.io.StructureFile; import java.util.ArrayList; import java.util.List; @@ -35,8 +36,6 @@ import java.util.List; import org.testng.annotations.BeforeMethod; import org.testng.annotations.Test; -import MCview.PDBfile; - public class StructureSelectionManagerTest { private StructureSelectionManager ssm; @@ -44,6 +43,7 @@ public class StructureSelectionManagerTest @BeforeMethod(alwaysRun = true) public void setUp() { + StructureViewSettings.setShowSeqFeatures(true); ssm = new StructureSelectionManager(); } @@ -112,7 +112,7 @@ public class StructureSelectionManagerTest StructureSelectionManager sm = new StructureSelectionManager(); sm.setProcessSecondaryStructure(true); sm.setAddTempFacAnnot(true); - PDBfile pmap = sm.setMapping(true, new SequenceI[] { seq }, + StructureFile pmap = sm.setMapping(true, new SequenceI[] { seq }, new String[] { null }, "examples/1gaq.txt", FormatAdapter.FILE); assertTrue(pmap != null);