*/
package jalview.ext.jmol;
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertTrue;
+import static org.testng.AssertJUnit.assertEquals;
+import static org.testng.AssertJUnit.assertTrue;
+import org.testng.annotations.Test;
+import org.testng.annotations.BeforeMethod;
+import java.util.Vector;
+
+import MCview.PDBfile;
+
+import jalview.bin.Cache;
import jalview.datamodel.Alignment;
import jalview.datamodel.AlignmentI;
import jalview.datamodel.SequenceI;
import jalview.io.AppletFormatAdapter;
import jalview.io.FileLoader;
-import java.util.Vector;
-
-import org.junit.Test;
-
-import MCview.PDBfile;
-
/**
* @author jimp
*
// "./examples/DNMT1_MOUSE.pdb"
// };
+ @BeforeMethod
+ 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
{