summaryrefslogtreecommitdiffstats
path: root/appc-dg/appc-dg-shared/appc-dg-domain-model-lib/src/test/java/org
diff options
context:
space:
mode:
authorSandeep J <sandeejh@in.ibm.com>2018-08-12 19:53:06 +0530
committerTakamune Cho <tc012c@att.com>2018-08-16 08:38:10 +0000
commit22ef80708bf26b98c96506fafce7b58ba88226e4 (patch)
tree9065c6a67ccbbf4668653adb0ebea70021e6c5c8 /appc-dg/appc-dg-shared/appc-dg-domain-model-lib/src/test/java/org
parent389995494bde4bb8b8293b7f9a0d07b267e19b57 (diff)
added test case to TestVnf.java
to increase code coverage Issue-ID: APPC-1086 Change-Id: I08abe39eeb7e2f94115c6cd54c7310c16189c1ec Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
Diffstat (limited to 'appc-dg/appc-dg-shared/appc-dg-domain-model-lib/src/test/java/org')
-rw-r--r--appc-dg/appc-dg-shared/appc-dg-domain-model-lib/src/test/java/org/onap/appc/domainmodel/TestVnf.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/appc-dg/appc-dg-shared/appc-dg-domain-model-lib/src/test/java/org/onap/appc/domainmodel/TestVnf.java b/appc-dg/appc-dg-shared/appc-dg-domain-model-lib/src/test/java/org/onap/appc/domainmodel/TestVnf.java
index bace7cd83..0503a7ce4 100644
--- a/appc-dg/appc-dg-shared/appc-dg-domain-model-lib/src/test/java/org/onap/appc/domainmodel/TestVnf.java
+++ b/appc-dg/appc-dg-shared/appc-dg-domain-model-lib/src/test/java/org/onap/appc/domainmodel/TestVnf.java
@@ -4,6 +4,8 @@
* ================================================================================
* Copyright 2018 TechMahindra
*=================================================================================
+* Modifications Copyright 2018 IBM.
+*=================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
@@ -99,4 +101,12 @@ public class TestVnf {
vnf.setVservers(vserverList);
assertTrue(vnf.getVnfcs()!=null);
}
+
+ @Test
+ public void testGetSetIdentityUrl()
+ {
+ Vnf vnf = new Vnf();
+ vnf.setIdentityUrl("testIdentityUrl");
+ assertEquals("testIdentityUrl", vnf.getIdentityUrl());
+ }
}