JAL-1853 add test to list for ant task
[jalview.git] / test / MCview / AtomTest.java
index 186ac03..0171eee 100644 (file)
@@ -12,7 +12,7 @@ public class AtomTest
    * Test the constructor that parses a PDB file format ATOM line. Fields are in
    * fixed column positions
    */
-  @Test
+  @Test(groups ={ "Functional" })
   public void testStringConstructor()
   {
     Atom a = new Atom(
@@ -22,7 +22,7 @@ public class AtomTest
     assertEquals("GLN", a.resName);
     assertEquals("A", a.chain);
     assertEquals(48, a.resNumber);
-    assertEquals("48", a.resNumIns);
+    assertEquals("  48 ", a.resNumIns);
     assertEquals(' ', a.insCode);
     assertEquals(22.290, a.x, 0.00001);
     assertEquals(8.595, a.y, 0.00001);
@@ -35,7 +35,7 @@ public class AtomTest
    * Test the case where occupancy and temp factor are blank - should default to
    * 1
    */
-  @Test
+  @Test(groups ={ "Functional" })
   public void testStringConstructor_blankOccupancyTempFactor()
   {
     Atom a = new Atom(
@@ -47,7 +47,7 @@ public class AtomTest
   /**
    * Parsing non-numeric data as Atom throws an exception
    */
-  @Test
+  @Test(groups ={ "Functional" })
   public void testStringConstructor_malformed()
   {
     try