/*
- * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
- * Copyright (C) $$Year-Rel$$ The Jalview Authors
+ * Jalview - A Sequence Alignment Editor and Viewer (Version 2.9.0b1)
+ * Copyright (C) 2015 The Jalview Authors
*
* This file is part of Jalview.
*
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.io.AppletFormatAdapter;
import jalview.io.FileLoader;
+import java.util.Vector;
+
+import org.testng.annotations.BeforeMethod;
+import org.testng.annotations.Test;
+
+import MCview.PDBfile;
+
/**
* @author jimp
*
*/
public class PDBFileWithJmolTest
{
- String[] testFile = new String[]
- { "./examples/1GAQ.txt", "./test/jalview/ext/jmol/1QCF.pdb" }; // ,
+ String[] testFile = new String[] { "./examples/1GAQ.txt",
+ "./test/jalview/ext/jmol/1QCF.pdb" }; // ,
// "./examples/DNMT1_MOUSE.pdb"
// };
- @BeforeMethod
+ @BeforeMethod(alwaysRun = true)
public void setUp()
{
Cache.applicationProperties.setProperty("STRUCT_FROM_PDB",
Boolean.TRUE.toString());
}
- @Test
+ @Test(groups = { "Functional" })
public void testAlignmentLoader() throws Exception
{
for (String f : testFile)
}
}
- @Test
+ @Test(groups = { "Functional" })
public void testFileParser() throws Exception
{
for (String pdbStr : testFile)
+ " to the same sequence as MCView",
sq.getSequenceAsString(), mcseqs.remove(0)
.getSequenceAsString());
- AlignmentI al = new Alignment(new SequenceI[]
- { sq });
+ AlignmentI al = new Alignment(new SequenceI[] { sq });
validateSecStrRows(al);
}
}
}
-
private void validateSecStrRows(AlignmentI al)
{
if (!al.isNucleotide())