diff options
author | ezhil <ezhrajam@in.ibm.com> | 2018-09-27 14:52:41 +0530 |
---|---|---|
committer | ezhil <ezhrajam@in.ibm.com> | 2018-09-27 14:53:01 +0530 |
commit | 15e57e3d669168502627607046d9f368719a0ce1 (patch) | |
tree | b74ae8af936f23a40b48ce96f00059c2add9d61e /ecomp-sdk/epsdk-analytics/src/test | |
parent | afb7e4d6b9895146d5d7e27a7568a6360ca50ce3 (diff) |
Added test case to Color Properties
Added test case to color properties
Issue-ID: PORTAL-407
Change-Id: Ia164f6014120a8d136fd779490c540deaa6468bb
Signed-off-by: ezhil <ezhrajam@in.ibm.com>
Diffstat (limited to 'ecomp-sdk/epsdk-analytics/src/test')
-rw-r--r-- | ecomp-sdk/epsdk-analytics/src/test/java/org/onap/portalsdk/analytics/gmap/map/ColorPropertiesTest.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ecomp-sdk/epsdk-analytics/src/test/java/org/onap/portalsdk/analytics/gmap/map/ColorPropertiesTest.java b/ecomp-sdk/epsdk-analytics/src/test/java/org/onap/portalsdk/analytics/gmap/map/ColorPropertiesTest.java index 07d9a926..b6dc00e4 100644 --- a/ecomp-sdk/epsdk-analytics/src/test/java/org/onap/portalsdk/analytics/gmap/map/ColorPropertiesTest.java +++ b/ecomp-sdk/epsdk-analytics/src/test/java/org/onap/portalsdk/analytics/gmap/map/ColorPropertiesTest.java @@ -61,6 +61,7 @@ public class ColorPropertiesTest { colorProperties.setColor(TYPE, COLOR); colorProperties.setShape(TYPE, SHAPE); colorProperties.setSize(TYPE, SIZE); + colorProperties.setSize(TYPE, NUMBER, SIZE); colorProperties.setShape(TYPE, NUMBER, SHAPE); } @@ -90,4 +91,9 @@ public class ColorPropertiesTest { public void testGetSize() { assertEquals(100, colorProperties.getSize(TYPE)); } + + @Test + public void testGetSizeWithNumber() { + assertEquals(100, colorProperties.getSize(TYPE, NUMBER)); + } } |