From: Jim Procter Date: Tue, 13 Feb 2018 15:31:35 +0000 (+0000) Subject: JAL-2781 ensure Trim is disabled before test starts X-Git-Tag: Release_2_10_4~68^2~5 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=b3d51eeb3bce1bcc3dc639c8c6774845181413ad;p=jalview.git JAL-2781 ensure Trim is disabled before test starts --- diff --git a/test/jalview/structure/StructureSelectionManagerTest.java b/test/jalview/structure/StructureSelectionManagerTest.java index a882bce..286be1b 100644 --- a/test/jalview/structure/StructureSelectionManagerTest.java +++ b/test/jalview/structure/StructureSelectionManagerTest.java @@ -27,6 +27,7 @@ import static org.testng.AssertJUnit.assertTrue; import jalview.analysis.AlignmentUtils; import jalview.api.structures.JalviewStructureDisplayI; +import jalview.bin.Cache; import jalview.datamodel.AlignedCodonFrame; import jalview.datamodel.AlignmentAnnotation; import jalview.datamodel.AlignmentI; @@ -46,6 +47,7 @@ import jalview.io.FileLoader; import jalview.io.Jalview2xmlBase; import jalview.io.StructureFile; import jalview.util.MapList; +import jalview.ws.DBRefFetcher; import jalview.ws.sifts.SiftsSettings; import java.util.ArrayList; @@ -349,6 +351,9 @@ public class StructureSelectionManagerTest extends Jalview2xmlBase public void testAssociatedMappingToSubSeq() throws Exception { + // currently this test fails if trimming is enabled + Cache.setProperty(DBRefFetcher.TRIM_RETRIEVED_SEQUENCES, + Boolean.FALSE.toString()); String TEMP_FACTOR_AA="Temperature Factor"; String PDBID = "4IM2"; String FullLengthSeq = ">TBK1_HUMAN Serine/threonine-protein kinase TBK1\n" +