diff options
author | 2018-09-27 14:41:41 +0530 | |
---|---|---|
committer | 2018-09-27 14:23:28 +0000 | |
commit | 3895137ad61c3630074148e9a4f01e859f954a6f (patch) | |
tree | 9787440bc606b4fd74d87fab1803c059320e015e /ecomp-sdk/epsdk-analytics/src/test/java/org/onap/portalsdk/analytics | |
parent | afb7e4d6b9895146d5d7e27a7568a6360ca50ce3 (diff) |
Added testcase to LineInfo
Added testcase to LineInfo
Issue-ID: PORTAL-406
Change-Id: I9f4beffac18f99fef82b324ca4d41a7c193ed9c4
Signed-off-by: ezhil <ezhrajam@in.ibm.com>
Diffstat (limited to 'ecomp-sdk/epsdk-analytics/src/test/java/org/onap/portalsdk/analytics')
-rw-r--r-- | ecomp-sdk/epsdk-analytics/src/test/java/org/onap/portalsdk/analytics/gmap/line/LineInfoTest.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ecomp-sdk/epsdk-analytics/src/test/java/org/onap/portalsdk/analytics/gmap/line/LineInfoTest.java b/ecomp-sdk/epsdk-analytics/src/test/java/org/onap/portalsdk/analytics/gmap/line/LineInfoTest.java index 5ff6e78b..f9a5ee2d 100644 --- a/ecomp-sdk/epsdk-analytics/src/test/java/org/onap/portalsdk/analytics/gmap/line/LineInfoTest.java +++ b/ecomp-sdk/epsdk-analytics/src/test/java/org/onap/portalsdk/analytics/gmap/line/LineInfoTest.java @@ -114,4 +114,12 @@ public class LineInfoTest { assertEquals("length", list.get(0)); } + @Test + public void getAttributeKeysTest() throws Exception { + Map<String, String> lineAttributes1 = new HashMap<>(); + lineAttributes1.put("length", "200cm"); + lineInfo.initializeAttributes(lineAttributes1); + List<String> list = lineInfo.getAttributeKeys(); + assertEquals("length", list.get(0)); + } } |