git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-1919 updated PDBSequenceFetcherTest and JMol parser config settings to enable...
[jalview.git]
/
test
/
jalview
/
ws
/
PDBSequenceFetcherTest.java
diff --git
a/test/jalview/ws/PDBSequenceFetcherTest.java
b/test/jalview/ws/PDBSequenceFetcherTest.java
index
b560f01
..
27d2643
100644
(file)
--- a/
test/jalview/ws/PDBSequenceFetcherTest.java
+++ b/
test/jalview/ws/PDBSequenceFetcherTest.java
@@
-25,6
+25,7
@@
import static org.testng.AssertJUnit.assertTrue;
import jalview.bin.Cache;
import jalview.datamodel.AlignmentI;
import jalview.datamodel.SequenceI;
import jalview.bin.Cache;
import jalview.datamodel.AlignmentI;
import jalview.datamodel.SequenceI;
+import jalview.structure.StructureViewSettings;
import jalview.ws.seqfetcher.DbSourceProxy;
import java.util.List;
import jalview.ws.seqfetcher.DbSourceProxy;
import java.util.List;
@@
-60,6
+61,10
@@
public class PDBSequenceFetcherTest
@Test(groups = { "Network" }, enabled = true)
public void testRnaSeqRetrieve() throws Exception
{
@Test(groups = { "Network" }, enabled = true)
public void testRnaSeqRetrieve() throws Exception
{
+ Cache.applicationProperties.setProperty("STRUCT_FROM_PDB",
+ Boolean.TRUE.toString());
+ Cache.applicationProperties.setProperty("DEFAULT_STRUCTURE_FORMAT",
+ "PDB");
List<DbSourceProxy> sps = sf.getSourceProxy("PDB");
AlignmentI response = sps.get(0).getSequenceRecords("2GIS");
assertTrue(response != null);
List<DbSourceProxy> sps = sf.getSourceProxy("PDB");
AlignmentI response = sps.get(0).getSequenceRecords("2GIS");
assertTrue(response != null);
@@
-81,6
+86,8
@@
public class PDBSequenceFetcherTest
{
Cache.applicationProperties.setProperty("STRUCT_FROM_PDB",
Boolean.TRUE.toString());
{
Cache.applicationProperties.setProperty("STRUCT_FROM_PDB",
Boolean.TRUE.toString());
+ StructureViewSettings.setCurrentDefaultFormat("PDB");
+
testRetrieveProteinSeqFromPDB();
}
testRetrieveProteinSeqFromPDB();
}
@@
-88,7
+95,8
@@
public class PDBSequenceFetcherTest
public void testmmCifSeqRetrieve() throws Exception
{
Cache.applicationProperties.setProperty("STRUCT_FROM_PDB",
public void testmmCifSeqRetrieve() throws Exception
{
Cache.applicationProperties.setProperty("STRUCT_FROM_PDB",
- Boolean.FALSE.toString());
+ Boolean.TRUE.toString());
+ StructureViewSettings.setCurrentDefaultFormat("mmCIF");
testRetrieveProteinSeqFromPDB();
}
testRetrieveProteinSeqFromPDB();
}