summaryrefslogtreecommitdiffstats
path: root/PolicyEngineAPI/src/test/java
diff options
context:
space:
mode:
authorTej, Tarun <tt3868@att.com>2017-08-11 12:20:16 -0400
committerTarun Tej Velaga <tt3868@att.com>2017-08-11 16:37:25 +0000
commitce1cf85647ab1ae3c292fd1b1286ea0dbb56223f (patch)
tree6d0afd4c23543a91794dafe4274df8b473feadec /PolicyEngineAPI/src/test/java
parent827a2016429bc377e28d2a414b6bcbdf8b6dc924 (diff)
Fixes for Backward compatibility issues
Changes to the API interface and Java SDK to support backward compatibility. Issue-Id: POLICY-165 Change-Id: I2efe8196614cfbd8b733abceb505bd6b91aa97f7 Signed-off-by: Tarun Tej Velaga <tt3868@att.com>
Diffstat (limited to 'PolicyEngineAPI/src/test/java')
-rw-r--r--PolicyEngineAPI/src/test/java/org/onap/policy/test/DecisionRequestParametersTest.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/PolicyEngineAPI/src/test/java/org/onap/policy/test/DecisionRequestParametersTest.java b/PolicyEngineAPI/src/test/java/org/onap/policy/test/DecisionRequestParametersTest.java
index 746822f94..a29bb1314 100644
--- a/PolicyEngineAPI/src/test/java/org/onap/policy/test/DecisionRequestParametersTest.java
+++ b/PolicyEngineAPI/src/test/java/org/onap/policy/test/DecisionRequestParametersTest.java
@@ -51,7 +51,7 @@ public class DecisionRequestParametersTest {
// add additional test code here
assertNotNull(result);
- assertEquals(null, result.getONAPComponentName());
+ assertEquals(null, result.getOnapName());
assertEquals(null, result.getDecisionAttributes());
assertEquals(null, result.getRequestID());
}
@@ -74,7 +74,7 @@ public class DecisionRequestParametersTest {
// add additional test code here
assertNotNull(result);
- assertEquals("", result.getONAPComponentName());
+ assertEquals("", result.getOnapName());
}
/**
@@ -108,7 +108,7 @@ public class DecisionRequestParametersTest {
throws Exception {
DecisionRequestParameters fixture = new DecisionRequestParameters("", new Hashtable<String, String>(), UUID.randomUUID());
- String result = fixture.getONAPComponentName();
+ String result = fixture.getOnapName();
// add additional test code here
assertEquals("", result);
@@ -168,7 +168,7 @@ public class DecisionRequestParametersTest {
DecisionRequestParameters fixture = new DecisionRequestParameters("", new Hashtable<String, String>(), UUID.randomUUID());
String onapComponentName = "";
- fixture.setONAPComponentName(onapComponentName);
+ fixture.setOnapName(onapComponentName);
// add additional test code here
}