summaryrefslogtreecommitdiffstats
path: root/appc-config/appc-config-params/provider/src
diff options
context:
space:
mode:
authorSandeep J <sandeejh@in.ibm.com>2018-08-24 17:52:19 +0530
committerTakamune Cho <tc012c@att.com>2018-08-28 23:25:39 +0000
commit26e6e36b31017efcb8b3bf38f126ce47412b78f5 (patch)
treef5a1d679b1fcc5665995eba63931cc90f4550002 /appc-config/appc-config-params/provider/src
parent7b632b442633ccfaa13b98b0ff0cbeb8cd16e6f5 (diff)
removed redundant object assignment
removed PropertyDefinition object creation dependency. The object is already defined in the setUp method. Issue-ID: APPC-1086 Change-Id: Icb7e791109a409af1b646b07052bc43517d09dc5 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
Diffstat (limited to 'appc-config/appc-config-params/provider/src')
-rw-r--r--appc-config/appc-config-params/provider/src/test/java/org/onap/sdnc/config/params/parser/TestPropertyDefinitionNode.java7
1 files changed, 0 insertions, 7 deletions
diff --git a/appc-config/appc-config-params/provider/src/test/java/org/onap/sdnc/config/params/parser/TestPropertyDefinitionNode.java b/appc-config/appc-config-params/provider/src/test/java/org/onap/sdnc/config/params/parser/TestPropertyDefinitionNode.java
index 4c0b60272..569fb9eb2 100644
--- a/appc-config/appc-config-params/provider/src/test/java/org/onap/sdnc/config/params/parser/TestPropertyDefinitionNode.java
+++ b/appc-config/appc-config-params/provider/src/test/java/org/onap/sdnc/config/params/parser/TestPropertyDefinitionNode.java
@@ -53,7 +53,6 @@ public class TestPropertyDefinitionNode {
@Test
public void testProcessMissingParamKeys() throws Exception {
- PropertyDefinitionNode propertyDefinitionNode = new PropertyDefinitionNode();
Map<String, String> inParams = new HashMap<String, String>();
inParams.put(ParamsHandlerConstant.INPUT_PARAM_RESPONSE_PRIFIX, "test");
@@ -76,7 +75,6 @@ public class TestPropertyDefinitionNode {
@Test(expected = SvcLogicException.class)
public void testInProcessMissingParamKeysForEmptyPdContent() throws Exception {
- PropertyDefinitionNode propertyDefinitionNode = new PropertyDefinitionNode();
Map<String, String> inParams = new HashMap<String, String>();
inParams.put(ParamsHandlerConstant.INPUT_PARAM_RESPONSE_PRIFIX, "test");
String jsonData = IOUtils.toString(
@@ -90,7 +88,6 @@ public class TestPropertyDefinitionNode {
@Test
public void testProcessExternalSystemParamKeys() throws Exception {
- PropertyDefinitionNode propertyDefinitionNode = new PropertyDefinitionNode();
Map<String, String> inParams = new HashMap<String, String>();
inParams.put(ParamsHandlerConstant.INPUT_PARAM_RESPONSE_PRIFIX, "test");
@@ -132,7 +129,6 @@ public class TestPropertyDefinitionNode {
@Test
public void mergeJsonData() throws Exception {
- PropertyDefinitionNode propertyDefinitionNode = new PropertyDefinitionNode();
Map<String, String> inParams = new HashMap<String, String>();
inParams.put(ParamsHandlerConstant.INPUT_PARAM_RESPONSE_PRIFIX, "test");
@@ -157,7 +153,6 @@ public class TestPropertyDefinitionNode {
@Test
public void mergeJsonDataForEmptyParams() throws SvcLogicException, IOException {
- PropertyDefinitionNode propertyDefinitionNode = new PropertyDefinitionNode();
Map<String, String> inParams = new HashMap<String, String>();
inParams.put(ParamsHandlerConstant.INPUT_PARAM_RESPONSE_PRIFIX, "test");
String mergeJsonData = IOUtils.toString(
@@ -192,7 +187,6 @@ public class TestPropertyDefinitionNode {
@Test
public void testValidationPd() throws Exception {
- PropertyDefinitionNode propertyDefinitionNode = new PropertyDefinitionNode();
Map<String, String> inParams = new HashMap<String, String>();
SvcLogicContext ctx = new SvcLogicContext();
String jsonData = IOUtils.toString(
@@ -210,7 +204,6 @@ public class TestPropertyDefinitionNode {
@Test(expected=SvcLogicException.class)
public void testValidateParamsForEmptyParams() throws Exception
{
- PropertyDefinitionNode propertyDefinitionNode = new PropertyDefinitionNode();
Map<String, String> inParams = new HashMap<String, String>();
SvcLogicContext ctx = new SvcLogicContext();
propertyDefinitionNode.validateParams(inParams, ctx);