X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=test%2Fjalview%2Fext%2Fparadise%2FTestAnnotate3D.java;h=e2b6e0ffbcefe19f20f95b802891cca392212670;hb=838e4f91d4a53dd315640dbc9ff6ef7a815ee576;hp=126c22196b02d24014450b1fb71ab89669bfa581;hpb=ab22918ab8fc67d30dad1fb1ae0f37e51f49df95;p=jalview.git diff --git a/test/jalview/ext/paradise/TestAnnotate3D.java b/test/jalview/ext/paradise/TestAnnotate3D.java index 126c221..e2b6e0f 100644 --- a/test/jalview/ext/paradise/TestAnnotate3D.java +++ b/test/jalview/ext/paradise/TestAnnotate3D.java @@ -1,6 +1,6 @@ /* - * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$) - * Copyright (C) $$Year-Rel$$ The Jalview Authors + * Jalview - A Sequence Alignment Editor and Viewer (Version 2.9.0b1) + * Copyright (C) 2015 The Jalview Authors * * This file is part of Jalview. * @@ -43,8 +43,7 @@ import compbio.util.FileUtil; public class TestAnnotate3D { - @Test(groups = - { "Functional" }, enabled = false) + @Test(groups = { "Functional" }, enabled = false) public void test1GIDbyId() throws Exception { // use same ID as standard tests given at @@ -54,8 +53,7 @@ public class TestAnnotate3D testRNAMLcontent(ids, null); } - @Test(groups = - { "Functional" }, enabled = false) + @Test(groups = { "Functional" }, enabled = false) public void testIdVsContent2GIS() throws Exception { Iterator ids = Annotate3D.getRNAMLForPDBId("2GIS"); @@ -99,8 +97,7 @@ public class TestAnnotate3D * * @throws Exception */ - @Test(groups = - { "Functional" }, enabled = false) + @Test(groups = { "Functional" }, enabled = false) public void testPDBfileVsRNAML() throws Exception { PDBfile pdbf = new PDBfile(true, false, true, "examples/2GIS.pdb", @@ -114,8 +111,7 @@ public class TestAnnotate3D testRNAMLcontent(readers, pdbf); } - @Test(groups = - { "Functional" }, enabled = false) + @Test(groups = { "Functional" }, enabled = false) private void testRNAMLcontent(Iterator readers, PDBfile pdbf) throws Exception { @@ -149,9 +145,9 @@ public class TestAnnotate3D String sq_ = new String(sq.getSequence()).toLowerCase(); for (SequenceI _struseq : pdbf.getSeqsAsArray()) { - final String lowerCase = new String(_struseq.getSequence()).toLowerCase(); - if (lowerCase.equals( - sq_)) + final String lowerCase = new String(_struseq.getSequence()) + .toLowerCase(); + if (lowerCase.equals(sq_)) { struseq = _struseq; break; @@ -159,11 +155,13 @@ public class TestAnnotate3D } if (struseq == null) { - AssertJUnit.fail("Couldn't find this sequence in original input:\n" - + new FastaFile().print(new SequenceI[] - { sq }) - + "\n\nOriginal input:\n" - + new FastaFile().print(pdbf.getSeqsAsArray()) + "\n"); + AssertJUnit + .fail("Couldn't find this sequence in original input:\n" + + new FastaFile() + .print(new SequenceI[] { sq }) + + "\n\nOriginal input:\n" + + new FastaFile().print(pdbf.getSeqsAsArray()) + + "\n"); } } }