From c8b3c0f55aae92e1491a2476c967f9e80895bf99 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Wed, 20 Dec 2017 11:39:22 +1300 Subject: [PATCH] JAL-2880 disabled non-functional test - Jmol parser does not have proper association mechanism to bind PDB data to derived annotation. --- test/jalview/io/AnnotatedPDBFileInputTest.java | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/test/jalview/io/AnnotatedPDBFileInputTest.java b/test/jalview/io/AnnotatedPDBFileInputTest.java index e14a478..c0038a1 100644 --- a/test/jalview/io/AnnotatedPDBFileInputTest.java +++ b/test/jalview/io/AnnotatedPDBFileInputTest.java @@ -39,6 +39,7 @@ import jalview.structure.StructureImportSettings.StructureParser; import java.io.File; import java.util.List; +import org.junit.Assert; import org.testng.annotations.AfterClass; import org.testng.annotations.BeforeClass; import org.testng.annotations.BeforeMethod; @@ -101,18 +102,19 @@ public class AnnotatedPDBFileInputTest } } - @Test(groups = { "Functional" }) + @Test(groups = { "Functional" }, enabled = false) public void checkPDBannotationSource() { - + Assert.fail( + "This test is incorrect - does not verify that JmolParser's annotation rows can be recognised as generated by the Jmol parser."); for (SequenceI asq : al.getSequences()) { for (AlignmentAnnotation aa : asq.getAnnotation()) { System.out.println("CalcId: " + aa.getCalcId()); - if (StructureImportSettings.getDefaultPDBFileParser().equals( - StructureParser.JALVIEW_PARSER)) + if (StructureImportSettings.getDefaultPDBFileParser() + .equals(StructureParser.JALVIEW_PARSER)) { assertTrue(MCview.PDBfile.isCalcIdForFile(aa, pdbId)); } -- 1.7.10.2