X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=test%2Fjalview%2Fio%2Fgff%2FGffHelperBaseTest.java;fp=test%2Fjalview%2Fio%2Fgff%2FGffHelperBaseTest.java;h=5bd60a80c2749da1203a2f08b55b87bc757d96a1;hb=3459a8a691cb22508d7067f240b7254e588e77d3;hp=a23518d302efe5890b65b48ce6e9ed9b09ab2267;hpb=5b27f1062b2203c4c31702e205f4c78e1992063e;p=jalview.git diff --git a/test/jalview/io/gff/GffHelperBaseTest.java b/test/jalview/io/gff/GffHelperBaseTest.java index a23518d..5bd60a8 100644 --- a/test/jalview/io/gff/GffHelperBaseTest.java +++ b/test/jalview/io/gff/GffHelperBaseTest.java @@ -53,21 +53,20 @@ public class GffHelperBaseTest { assertTrue(GffHelperBase.parseNameValuePairs(null, ";", ' ', ",") .isEmpty()); - assertTrue(GffHelperBase.parseNameValuePairs("", ";", ' ', ",") - .isEmpty()); - assertTrue(GffHelperBase.parseNameValuePairs("hello=world", ";", ' ', - ",").isEmpty()); + assertTrue( + GffHelperBase.parseNameValuePairs("", ";", ' ', ",").isEmpty()); + assertTrue(GffHelperBase + .parseNameValuePairs("hello=world", ";", ' ', ",").isEmpty()); - Map> map = GffHelperBase.parseNameValuePairs( - "hello world", ";", ' ', ", "); + Map> map = GffHelperBase + .parseNameValuePairs("hello world", ";", ' ', ", "); assertEquals(map.size(), 1); assertEquals(map.get("hello").size(), 1); assertEquals(map.get("hello").get(0), "world"); - map = GffHelperBase - .parseNameValuePairs( - "Method= manual curation ;nothing; Notes=F2 S ; Notes=Metal,Shiny%2Csmooth; Type=", - ";", '=', ","); + map = GffHelperBase.parseNameValuePairs( + "Method= manual curation ;nothing; Notes=F2 S ; Notes=Metal,Shiny%2Csmooth; Type=", + ";", '=', ","); // Type is ignored as no value was supplied assertEquals(map.size(), 2);