X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=test%2Fjalview%2Fws%2FPDBSequenceFetcherTest.java;h=778fc188a5f02ceb70e48eb30307aad83c4750f3;hb=b5893211716553a96176a37f7c6e293cd6618559;hp=ea5f27f460973dbdfb678965581fdba221857543;hpb=ab43013b7e357b84b4abade0dba949668dfb2a0e;p=jalview.git diff --git a/test/jalview/ws/PDBSequenceFetcherTest.java b/test/jalview/ws/PDBSequenceFetcherTest.java index ea5f27f..778fc18 100644 --- a/test/jalview/ws/PDBSequenceFetcherTest.java +++ b/test/jalview/ws/PDBSequenceFetcherTest.java @@ -1,6 +1,6 @@ /* - * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.2b1) - * Copyright (C) 2014 The Jalview Authors + * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$) + * Copyright (C) $$Year-Rel$$ The Jalview Authors * * This file is part of Jalview. * @@ -20,16 +20,18 @@ */ package jalview.ws; -import static org.junit.Assert.*; -import jalview.datamodel.AlignmentI; -import jalview.datamodel.SequenceI; -import jalview.ws.seqfetcher.DbSourceProxy; +import static org.junit.Assert.assertTrue; import java.util.List; import org.junit.Before; import org.junit.Test; +import jalview.bin.Cache; +import jalview.datamodel.AlignmentI; +import jalview.datamodel.SequenceI; +import jalview.ws.seqfetcher.DbSourceProxy; + public class PDBSequenceFetcherTest { @@ -38,6 +40,12 @@ public class PDBSequenceFetcherTest @Before public void setUp() throws Exception { + // ensure 'add annotation from structure' is selected + Cache.applicationProperties.setProperty("STRUCT_FROM_PDB", + Boolean.TRUE.toString()); + Cache.applicationProperties.setProperty("ADD_SS_ANN", + Boolean.TRUE.toString()); + sf = new SequenceFetcher(false); }