From: gmungoc Date: Thu, 16 Nov 2017 09:05:03 +0000 (+0000) Subject: JAL-2835 update test for array-valued attribute name X-Git-Tag: Release_2_11_0~123 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=b144debd2a6594cc4ea4401dfff979a286d33ba6;p=jalview.git JAL-2835 update test for array-valued attribute name --- diff --git a/test/jalview/schemes/FeatureColourTest.java b/test/jalview/schemes/FeatureColourTest.java index 6be66d2..72c29d3 100644 --- a/test/jalview/schemes/FeatureColourTest.java +++ b/test/jalview/schemes/FeatureColourTest.java @@ -191,7 +191,7 @@ public class FeatureColourTest assertTrue(fc1.isGraduatedColour()); assertFalse(fc1.isColourByLabel()); assertTrue(fc1.isColourByAttribute()); - assertEquals(new String[] { "AF" }, fc1.getAttributeName()); + assertArrayEquals(new String[] { "AF" }, fc1.getAttributeName()); assertEquals(13f, fc1.getMin()); assertEquals(36f, fc1.getMax()); assertFalse((boolean) PA.getValue(fc1, "isHighToLow")); @@ -227,7 +227,7 @@ public class FeatureColourTest assertFalse(fc1.isGraduatedColour()); assertTrue(fc1.isColourByLabel()); assertTrue(fc1.isColourByAttribute()); - assertEquals("AC", fc1.getAttributeName()); + assertArrayEquals(new String[] { "AC" }, fc1.getAttributeName()); assertEquals(13f, fc1.getMin()); assertEquals(36f, fc1.getMax()); }