From: gmungoc Date: Wed, 26 Aug 2015 13:51:52 +0000 (+0100) Subject: JAL-1759 updated unit test for removal of trim of Atom.resNumIns X-Git-Tag: Jalview_2_9~10^2~23 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=4ab35f51d8e04f4e468db6d47a604fe552944899;p=jalview.git JAL-1759 updated unit test for removal of trim of Atom.resNumIns --- diff --git a/test/jalview/io/AnnotatedPDBFileInputTest.java b/test/jalview/io/AnnotatedPDBFileInputTest.java index 150ee59..b4a8bf6 100644 --- a/test/jalview/io/AnnotatedPDBFileInputTest.java +++ b/test/jalview/io/AnnotatedPDBFileInputTest.java @@ -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" }); } /**