From: Jim Procter Date: Mon, 1 Aug 2016 20:13:22 +0000 (+0100) Subject: JAL-2164 JAL-1919 JAL-1270 use structure import settings to properly configure for... X-Git-Tag: Release_2_10_0~123 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=7e5eb5ba567e0bb3ee6b44fe6e49b60814cd5cdd;p=jalview.git JAL-2164 JAL-1919 JAL-1270 use structure import settings to properly configure for test --- diff --git a/test/jalview/io/Jalview2xmlTests.java b/test/jalview/io/Jalview2xmlTests.java index ddc615f..31e1a35 100644 --- a/test/jalview/io/Jalview2xmlTests.java +++ b/test/jalview/io/Jalview2xmlTests.java @@ -275,10 +275,8 @@ public class Jalview2xmlTests @Test(groups = { "Functional" }) public void viewRefPdbAnnotation() throws Exception { - Cache.applicationProperties.setProperty("STRUCT_FROM_PDB", - Boolean.TRUE.toString()); - Cache.applicationProperties.setProperty("ADD_SS_ANN", - Boolean.TRUE.toString()); + StructureImportSettings.setProcessSecondaryStructure(true); + StructureImportSettings.setVisibleChainAnnotation(true); AlignFrame af = new jalview.io.FileLoader().LoadFileWaitTillLoaded( "examples/exampleFile_2_7.jar", FormatAdapter.FILE); assertTrue("Didn't read in the example file correctly.", af != null);