JAL-1759 updated unit test for removal of trim of Atom.resNumIns
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Wed, 26 Aug 2015 13:51:52 +0000 (14:51 +0100)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Wed, 26 Aug 2015 13:51:52 +0000 (14:51 +0100)
test/jalview/io/AnnotatedPDBFileInputTest.java

index 150ee59..b4a8bf6 100644 (file)
@@ -99,9 +99,9 @@ public class AnnotatedPDBFileInputTest
     SequenceFeature[] sf = al.getSequenceAt(0).getSequenceFeatures();
     assertEquals(296, sf.length);
     assertEquals("RESNUM", sf[0].getType());
-    assertEquals("GLU:19 1gaqA", sf[0].getDescription());
+    assertEquals("GLU:  19  1gaqA", sf[0].getDescription());
     assertEquals("RESNUM", sf[295].getType());
-    assertEquals("TYR:314 1gaqA", sf[295].getDescription());
+    assertEquals("TYR: 314  1gaqA", sf[295].getDescription());
 
     /*
      * 1GAQ/B
@@ -109,9 +109,9 @@ public class AnnotatedPDBFileInputTest
     sf = al.getSequenceAt(1).getSequenceFeatures();
     assertEquals(98, sf.length);
     assertEquals("RESNUM", sf[0].getType());
-    assertEquals("ALA:1 1gaqB", sf[0].getDescription());
+    assertEquals("ALA:   1  1gaqB", sf[0].getDescription());
     assertEquals("RESNUM", sf[97].getType());
-    assertEquals("ALA:98 1gaqB", sf[97].getDescription());
+    assertEquals("ALA:  98  1gaqB", sf[97].getDescription());
 
     /*
      * 1GAQ/C
@@ -119,9 +119,9 @@ public class AnnotatedPDBFileInputTest
     sf = al.getSequenceAt(2).getSequenceFeatures();
     assertEquals(296, sf.length);
     assertEquals("RESNUM", sf[0].getType());
-    assertEquals("GLU:19 1gaqC", sf[0].getDescription());
+    assertEquals("GLU:  19  1gaqC", sf[0].getDescription());
     assertEquals("RESNUM", sf[295].getType());
-    assertEquals("TYR:314 1gaqC", sf[295].getDescription());
+    assertEquals("TYR: 314  1gaqC", sf[295].getDescription());
   }
 
   @Test(groups ={ "Functional" })
@@ -160,7 +160,8 @@ public class AnnotatedPDBFileInputTest
   public static void setUpBeforeClass() throws Exception
   {
     jalview.bin.Jalview.main(new String[]
-    { "-props", "test/src/jalview/io/testProps.jvprops" });
+ { "-props",
+        "test/jalview/io/testProps.jvprops" });
   }
 
   /**