X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=test%2Fjalview%2Fext%2Fjmol%2FPDBFileWithJmolTest.java;h=ae50bdf9030b95e8612eb3216d980754e4bac4dc;hb=a4780f236ded1ae07824254bca59b2aa0ea539ba;hp=c0643c587c492c8d59b65b782efbcf171c34bec3;hpb=ab43013b7e357b84b4abade0dba949668dfb2a0e;p=jalview.git diff --git a/test/jalview/ext/jmol/PDBFileWithJmolTest.java b/test/jalview/ext/jmol/PDBFileWithJmolTest.java index c0643c5..ae50bdf 100644 --- a/test/jalview/ext/jmol/PDBFileWithJmolTest.java +++ b/test/jalview/ext/jmol/PDBFileWithJmolTest.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. * @@ -22,19 +22,22 @@ package jalview.ext.jmol; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; -import jalview.datamodel.Alignment; -import jalview.datamodel.AlignmentI; -import jalview.datamodel.SequenceI; -import jalview.gui.AlignFrame; -import jalview.io.AppletFormatAdapter; -import jalview.io.FileLoader; import java.util.Vector; +import org.junit.Before; import org.junit.Test; import MCview.PDBfile; +import jalview.bin.Cache; +import jalview.datamodel.Alignment; +import jalview.datamodel.AlignmentI; +import jalview.datamodel.SequenceI; +import jalview.gui.AlignFrame; +import jalview.io.AppletFormatAdapter; +import jalview.io.FileLoader; + /** * @author jimp * @@ -47,6 +50,15 @@ public class PDBFileWithJmolTest // "./examples/DNMT1_MOUSE.pdb" // }; + @Before + public void setUp() + { + Cache.applicationProperties.setProperty("STRUCT_FROM_PDB", + Boolean.TRUE.toString()); + Cache.applicationProperties.setProperty("ADD_SS_ANN", + Boolean.TRUE.toString()); + } + @Test public void testAlignmentLoader() throws Exception {