From: gmungoc Date: Tue, 31 Oct 2017 15:24:27 +0000 (+0000) Subject: JAL-2792 test updated for 3 column table X-Git-Tag: Release_2_11_0~167 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=98083ecd871a655f658bff39606f683dfe62b9e4;p=jalview.git JAL-2792 test updated for 3 column table --- diff --git a/test/jalview/datamodel/SequenceFeatureTest.java b/test/jalview/datamodel/SequenceFeatureTest.java index 8c9cbc9..c955979 100644 --- a/test/jalview/datamodel/SequenceFeatureTest.java +++ b/test/jalview/datamodel/SequenceFeatureTest.java @@ -279,30 +279,30 @@ public class SequenceFeatureTest { // single locus, no group, no score SequenceFeature sf = new SequenceFeature("variant", "G,C", 22, 22, null); - String expected = "
" - + "" - + "
Typevariant
Start/end22
DescriptionG,C
"; + String expected = "
" + + "" + + "
Typevariant
Start/end22
DescriptionG,C
"; assertEquals(expected, sf.getDetailsReport()); // contact feature sf = new SequenceFeature("Disulphide Bond", "a description", 28, 31, null); - expected = "
" - + "" - + "
TypeDisulphide Bond
Start/end28:31
Descriptiona description
"; + expected = "
" + + "" + + "
TypeDisulphide Bond
Start/end28:31
Descriptiona description
"; assertEquals(expected, sf.getDetailsReport()); sf = new SequenceFeature("variant", "G,C", 22, 33, 12.5f, "group"); sf.setValue("Parent", "ENSG001"); sf.setValue("Child", "ENSP002"); - expected = "
" - + "" - + "" - + "" - + "" - + "" - + "
Typevariant
Start/end22-33
DescriptionG,C
Score12.5
Groupgroup
ChildENSP002
ParentENSG001
"; + expected = "
" + + "" + + "" + + "" + + "" + + "" + + "
Typevariant
Start/end22-33
DescriptionG,C
Score12.5
Groupgroup
ChildENSP002
ParentENSG001
"; assertEquals(expected, sf.getDetailsReport()); /* @@ -310,10 +310,10 @@ public class SequenceFeatureTest */ String desc = "Fer2 Status: True Positive Pfam 8_8"; sf = new SequenceFeature("Pfam", desc, 8, 83, "Uniprot"); - expected = "
" - + "" - + "" - + "
TypePfam
Start/end8-83
DescriptionFer2 Status: True Positive Pfam 8_8
GroupUniprot
"; + expected = "
" + + "" + + "" + + "
TypePfam
Start/end8-83
DescriptionFer2 Status: True Positive Pfam 8_8
GroupUniprot
"; assertEquals(expected, sf.getDetailsReport()); } }