aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSandeep J <sandeejh@in.ibm.com>2019-01-12 00:04:50 +0530
committerSandeep J <sandeejh@in.ibm.com>2019-01-12 00:05:27 +0530
commit235f533323f87d6fb385c630b2bbae0345bd1d62 (patch)
treeb59ecf93cb7f35ac3f9b4a129b0a330b2dc39400
parent6213aad62019a361126ee218b6b550e539e3582f (diff)
added test case to PolicyConfigTest.java
to increase code coverage Issue-ID: CCSDK-552 Change-Id: Ifd6a6bbfea531fcb3ebb9ab8cef63bc26eb2f7d0 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
-rw-r--r--ms/vlantag-api/src/test/java/org/onap/ccsdk/apps/ms/vlantagapi/core/extinf/pm/model/PolicyConfigTest.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/ms/vlantag-api/src/test/java/org/onap/ccsdk/apps/ms/vlantagapi/core/extinf/pm/model/PolicyConfigTest.java b/ms/vlantag-api/src/test/java/org/onap/ccsdk/apps/ms/vlantagapi/core/extinf/pm/model/PolicyConfigTest.java
index cf928ce0..a0d18b4c 100644
--- a/ms/vlantag-api/src/test/java/org/onap/ccsdk/apps/ms/vlantagapi/core/extinf/pm/model/PolicyConfigTest.java
+++ b/ms/vlantag-api/src/test/java/org/onap/ccsdk/apps/ms/vlantagapi/core/extinf/pm/model/PolicyConfigTest.java
@@ -105,6 +105,12 @@ public class PolicyConfigTest {
}
@Test
+ public void testGetSetRiskType() {
+ policyConfig.setRiskType("RiskType");
+ assertEquals("RiskType", policyConfig.getRiskType());
+ }
+
+ @Test
public void testToString()
{
assertTrue(policyConfig.toString() instanceof String);