diff options
author | Manoop Talasila <talasila@research.att.com> | 2018-10-08 21:03:39 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-10-08 21:03:39 +0000 |
commit | 4f7cdb1f68be2c024518f32dd250208bbfab6618 (patch) | |
tree | ed821f9e9effd601204fc33e1823d2ebd282499f /ecomp-sdk | |
parent | 4957c08cace642dc9c1b37ec1d76e5ff8c7bb0b4 (diff) | |
parent | 3895137ad61c3630074148e9a4f01e859f954a6f (diff) |
Merge "Added testcase to LineInfo"
Diffstat (limited to 'ecomp-sdk')
-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)); + } } |