From 4ab35f51d8e04f4e468db6d47a604fe552944899 Mon Sep 17 00:00:00 2001 From: gmungoc Date: Wed, 26 Aug 2015 14:51:52 +0100 Subject: [PATCH] JAL-1759 updated unit test for removal of trim of Atom.resNumIns --- test/jalview/io/AnnotatedPDBFileInputTest.java | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) 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" }); } /** -- 1.7.10.2