From 7e5eb5ba567e0bb3ee6b44fe6e49b60814cd5cdd Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Mon, 1 Aug 2016 21:13:22 +0100 Subject: [PATCH] JAL-2164 JAL-1919 JAL-1270 use structure import settings to properly configure for test --- test/jalview/io/Jalview2xmlTests.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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); -- 1.7.10.2