X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=test%2Fjalview%2Fstructure%2FStructureSelectionManagerTest.java;h=40ce4984cb0a729d7c7e7d3e78e45cbddfc56ad4;hb=53b2ec17b88081e402f60deab2723750bc4867d1;hp=dab692f6e7fc5e2c594d6a0ec33fd2a45b467a7a;hpb=87256ba36fb105a1115067ffe2563412e9281d2d;p=jalview.git diff --git a/test/jalview/structure/StructureSelectionManagerTest.java b/test/jalview/structure/StructureSelectionManagerTest.java index dab692f..40ce498 100644 --- a/test/jalview/structure/StructureSelectionManagerTest.java +++ b/test/jalview/structure/StructureSelectionManagerTest.java @@ -28,6 +28,7 @@ import static org.testng.AssertJUnit.assertTrue; import jalview.analysis.AlignmentUtils; import jalview.api.structures.JalviewStructureDisplayI; import jalview.bin.Cache; +import jalview.bin.Instance; import jalview.datamodel.AlignedCodonFrame; import jalview.datamodel.AlignmentAnnotation; import jalview.datamodel.AlignmentI; @@ -199,7 +200,7 @@ public class StructureSelectionManagerTest extends Jalview2xmlBase { // for some reason 'BeforeMethod' (which should be inherited from // Jalview2XmlBase isn't always called)... - Desktop.getInstance().closeAll_actionPerformed(null); + Instance.getDesktop().closeAll_actionPerformed(null); try { Thread.sleep(200); } catch (Exception foo) {};