X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=test%2Fjalview%2Fio%2FAnnotatedPDBFileInputTest.java;h=5cc234562fdbff786312595862801f8d2a2241ad;hb=53b2ec17b88081e402f60deab2723750bc4867d1;hp=9cd7061e850b4066c9a34a287722272498314694;hpb=494422ff62c58d14f36fc99dd1d5d1e0e949ed46;p=jalview.git diff --git a/test/jalview/io/AnnotatedPDBFileInputTest.java b/test/jalview/io/AnnotatedPDBFileInputTest.java index 9cd7061..5cc2345 100644 --- a/test/jalview/io/AnnotatedPDBFileInputTest.java +++ b/test/jalview/io/AnnotatedPDBFileInputTest.java @@ -68,9 +68,9 @@ public class AnnotatedPDBFileInputTest @BeforeMethod(alwaysRun = true) public void setup() throws Exception { - Cache.applicationProperties.setProperty("STRUCT_FROM_PDB", + Cache.setPropertyNoSave("STRUCT_FROM_PDB", Boolean.TRUE.toString()); - Cache.applicationProperties.setProperty("ADD_SS_ANN", + Cache.setPropertyNoSave("ADD_SS_ANN", Boolean.TRUE.toString()); FileLoader loader = new FileLoader(false); AlignFrame af = loader.LoadFileWaitTillLoaded("examples/1gaq.txt", @@ -116,7 +116,7 @@ public class AnnotatedPDBFileInputTest if (StructureImportSettings.getDefaultPDBFileParser() .equals(StructureParser.JALVIEW_PARSER)) { - assertTrue(MCview.PDBfile.isCalcIdForFile(aa, pdbId)); + assertTrue(mc_view.PDBfile.isCalcIdForFile(aa, pdbId)); } } } @@ -207,7 +207,7 @@ public class AnnotatedPDBFileInputTest @AfterClass(alwaysRun = true) public static void tearDownAfterClass() throws Exception { - jalview.gui.Desktop.instance.closeAll_actionPerformed(null); + jalview.bin.Instance.getDesktop().closeAll_actionPerformed(null); } @@ -248,10 +248,10 @@ public class AnnotatedPDBFileInputTest { System.err.println("CalcId " + ana.getCalcId()); if (ana.getCalcId() != null - && MCview.PDBfile.isCalcIdHandled(ana.getCalcId())) + && mc_view.PDBfile.isCalcIdHandled(ana.getCalcId())) { exists = true; - if (MCview.PDBfile.isCalcIdForFile(ana, pdbentry.getId())) + if (mc_view.PDBfile.isCalcIdForFile(ana, pdbentry.getId())) { found = true; }