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-1759 merge from develop
[jalview.git]
/
test
/
MCview
/
PDBChainTest.java
diff --git
a/test/MCview/PDBChainTest.java
b/test/MCview/PDBChainTest.java
index
07f9bd5
..
da49f22
100644
(file)
--- a/
test/MCview/PDBChainTest.java
+++ b/
test/MCview/PDBChainTest.java
@@
-38,7
+38,7
@@
public class PDBChainTest
c = new PDBChain("1GAQ", "A");
}
c = new PDBChain("1GAQ", "A");
}
- @Test
+ @Test(groups ={ "Functional" })
public void testGetNewlineString()
{
assertEquals(System.lineSeparator(), c.getNewlineString());
public void testGetNewlineString()
{
assertEquals(System.lineSeparator(), c.getNewlineString());
@@
-46,7
+46,7
@@
public class PDBChainTest
assertEquals("gaga", c.getNewlineString());
}
assertEquals("gaga", c.getNewlineString());
}
- @Test
+ @Test(groups ={ "Functional" })
public void testPrint()
{
c.offset = 7;
public void testPrint()
{
c.offset = 7;
@@
-74,7
+74,7
@@
public class PDBChainTest
* Test the method that constructs a Bond between two atoms and adds it to the
* chain's list of bonds
*/
* Test the method that constructs a Bond between two atoms and adds it to the
* chain's list of bonds
*/
- @Test
+ @Test(groups ={ "Functional" })
public void testMakeBond()
{
/*
public void testMakeBond()
{
/*
@@
-109,7
+109,7
@@
public class PDBChainTest
assertEquals(3f, b2.end[2], 0.0001f);
}
assertEquals(3f, b2.end[2], 0.0001f);
}
- @Test
+ @Test(groups ={ "Functional" })
public void testSetChainColours_colour()
{
c.makeBond(a1, a2);
public void testSetChainColours_colour()
{
c.makeBond(a1, a2);
@@
-126,7
+126,7
@@
public class PDBChainTest
* Test setting bond start/end colours based on a colour scheme i.e. colour by
* residue
*/
* Test setting bond start/end colours based on a colour scheme i.e. colour by
* residue
*/
- @Test
+ @Test(groups ={ "Functional" })
public void testSetChainColours_colourScheme()
{
Color alaColour = new Color(204, 255, 0);
public void testSetChainColours_colourScheme()
{
Color alaColour = new Color(204, 255, 0);
@@
-154,7
+154,7
@@
public class PDBChainTest
assertEquals(Color.gray, b.endCol);
}
assertEquals(Color.gray, b.endCol);
}
- @Test
+ @Test(groups ={ "Functional" })
public void testGetChargeColour()
{
assertEquals(Color.red, PDBChain.getChargeColour("ASP"));
public void testGetChargeColour()
{
assertEquals(Color.red, PDBChain.getChargeColour("ASP"));
@@
-169,7
+169,7
@@
public class PDBChainTest
/**
* Test the method that sets bond start/end colours by residue charge property
*/
/**
* Test the method that sets bond start/end colours by residue charge property
*/
- @Test
+ @Test(groups ={ "Functional" })
public void testSetChargeColours()
{
a1.resName = "ASP"; // red
public void testSetChargeColours()
{
a1.resName = "ASP"; // red
@@
-198,7
+198,7
@@
public class PDBChainTest
/**
* Test the method that converts the raw list of atoms to a list of residues
*/
/**
* Test the method that converts the raw list of atoms to a list of residues
*/
- @Test
+ @Test(groups ={ "Functional" })
public void testMakeResidueList_noAnnotation()
{
Vector<Atom> atoms = new Vector<Atom>();
public void testMakeResidueList_noAnnotation()
{
Vector<Atom> atoms = new Vector<Atom>();
@@
-256,7
+256,7
@@
public class PDBChainTest
* Test the method that converts the raw list of atoms to a list of residues,
* including parsing of tempFactor to an alignment annotation
*/
* Test the method that converts the raw list of atoms to a list of residues,
* including parsing of tempFactor to an alignment annotation
*/
- @Test
+ @Test(groups ={ "Functional" })
public void testMakeResidueList_withTempFactor()
{
Vector<Atom> atoms = new Vector<Atom>();
public void testMakeResidueList_withTempFactor()
{
Vector<Atom> atoms = new Vector<Atom>();
@@
-307,7
+307,7
@@
public class PDBChainTest
* Test the method that constructs bonds between successive residues' CA or P
* atoms
*/
* Test the method that constructs bonds between successive residues' CA or P
* atoms
*/
- @Test
+ @Test(groups ={ "Functional" })
public void testMakeCaBondList()
{
c.isNa = true;
public void testMakeCaBondList()
{
c.isNa = true;
@@
-338,7
+338,7
@@
public class PDBChainTest
assertTrue(c.isNa);
}
assertTrue(c.isNa);
}
- @Test
+ @Test(groups ={ "Functional" })
public void testMakeCaBondList_nucleotide()
{
c.isNa = false;
public void testMakeCaBondList_nucleotide()
{
c.isNa = false;
@@
-370,7
+370,7
@@
public class PDBChainTest
/**
* Test the method that updates atoms with their alignment positions
*/
/**
* Test the method that updates atoms with their alignment positions
*/
- @Test
+ @Test(groups ={ "Functional" })
public void testMakeExactMapping()
{
Vector<Atom> atoms = new Vector<Atom>();
public void testMakeExactMapping()
{
Vector<Atom> atoms = new Vector<Atom>();