From: kiramt Date: Thu, 3 Nov 2016 19:19:00 +0000 (+0000) Subject: JAL-2308 Fixed hiddenColsTest X-Git-Tag: Release_2_10_1^2~12^2~2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Fbug%2FJAL-2308;p=jalview.git JAL-2308 Fixed hiddenColsTest --- diff --git a/test/jalview/io/JSONFileTest.java b/test/jalview/io/JSONFileTest.java index f75f433..3f7edd4 100644 --- a/test/jalview/io/JSONFileTest.java +++ b/test/jalview/io/JSONFileTest.java @@ -305,7 +305,8 @@ public class JSONFileTest Assert.assertNotNull(cs.getHiddenColumns()); List hiddenCols = cs.getHiddenColumns(); Assert.assertEquals(hiddenCols.size(), TEST_CS_HEIGHT); - Assert.assertEquals(hiddenCols, expectedColSel.getHiddenColumns(), + Assert.assertEquals(hiddenCols.get(0), expectedColSel + .getHiddenColumns().get(0), "Mismatched hidden columns!"); } @@ -314,7 +315,8 @@ public class JSONFileTest { Assert.assertNotNull(testJsonFile.getHiddenSequences(), "Hidden sequence Expected but found Null"); - Assert.assertEquals(jf.getHiddenSequences().length, 1, "Hidden sequece"); + Assert.assertEquals(jf.getHiddenSequences().length, 1, + "Hidden sequence"); } @Test(groups = { "Functional" })