From 15e57e3d669168502627607046d9f368719a0ce1 Mon Sep 17 00:00:00 2001 From: ezhil Date: Thu, 27 Sep 2018 14:52:41 +0530 Subject: Added test case to Color Properties Added test case to color properties Issue-ID: PORTAL-407 Change-Id: Ia164f6014120a8d136fd779490c540deaa6468bb Signed-off-by: ezhil --- .../org/onap/portalsdk/analytics/gmap/map/ColorPropertiesTest.java | 6 ++++++ 1 file changed, 6 insertions(+) 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)); + } } -- cgit 1.2.3-korg