summaryrefslogtreecommitdiffstats
path: root/intentanalysis/src/test
diff options
context:
space:
mode:
authorkaixiliu <liukaixi@chinamobile.com>2023-04-23 14:24:41 +0800
committerkaixiliu <liukaixi@chinamobile.com>2023-04-23 14:24:51 +0800
commit57ab57ac7d3ee30e8f5ef682ba83a940e0f1d94e (patch)
treea326da42c8d2561835f02befa92c8b172c2d2a25 /intentanalysis/src/test
parentf6ffce939662d1f03eb616009ff28e6e3bf45164 (diff)
add intent report controller5.2.1
Issue-ID: USECASEUI-785 Signed-off-by: kaixiliu <liukaixi@chinamobile.com> Change-Id: Ia1cf17ceaeb83f0849b6b7902a713b5d12f94d95
Diffstat (limited to 'intentanalysis/src/test')
-rw-r--r--intentanalysis/src/test/java/org/onap/usecaseui/intentanalysis/bean/models/FulfilmentInfoTest.java4
-rw-r--r--intentanalysis/src/test/java/org/onap/usecaseui/intentanalysis/service/ExpectationServiceTest.java2
-rw-r--r--intentanalysis/src/test/java/org/onap/usecaseui/intentanalysis/service/IntentServiceTest.java2
3 files changed, 4 insertions, 4 deletions
diff --git a/intentanalysis/src/test/java/org/onap/usecaseui/intentanalysis/bean/models/FulfilmentInfoTest.java b/intentanalysis/src/test/java/org/onap/usecaseui/intentanalysis/bean/models/FulfilmentInfoTest.java
index 24529fd..97dad76 100644
--- a/intentanalysis/src/test/java/org/onap/usecaseui/intentanalysis/bean/models/FulfilmentInfoTest.java
+++ b/intentanalysis/src/test/java/org/onap/usecaseui/intentanalysis/bean/models/FulfilmentInfoTest.java
@@ -33,7 +33,7 @@ public class FulfilmentInfoTest {
@Test
public void testGetFulfilmentInfoTest() {
FulfilmentInfo test = new FulfilmentInfo();
- test.getFulfilmentStatus();
+ test.getFulfillmentStatus();
test.getNotFulfilledState();
test.getNotFulfilledReason();
@@ -42,7 +42,7 @@ public class FulfilmentInfoTest {
@Test
public void testSetFulfilmentInfoTest() {
FulfilmentInfo test = new FulfilmentInfo();
- test.setFulfilmentStatus(FulfilmentStatus.FULFILLED);
+ test.setFulfillmentStatus(FulfilmentStatus.FULFILLED);
test.setNotFulfilledState(NotFulfilledState.ACKNOWLEDGED);
test.setNotFulfilledReason("");
diff --git a/intentanalysis/src/test/java/org/onap/usecaseui/intentanalysis/service/ExpectationServiceTest.java b/intentanalysis/src/test/java/org/onap/usecaseui/intentanalysis/service/ExpectationServiceTest.java
index abe4239..6f10f10 100644
--- a/intentanalysis/src/test/java/org/onap/usecaseui/intentanalysis/service/ExpectationServiceTest.java
+++ b/intentanalysis/src/test/java/org/onap/usecaseui/intentanalysis/service/ExpectationServiceTest.java
@@ -84,7 +84,7 @@ class ExpectationServiceTest extends AbstractJUnit4SpringContextTests {
expectationTargetList.add(target);
FulfilmentInfo expectationFulfilmentInfo = new FulfilmentInfo();
- expectationFulfilmentInfo.setFulfilmentStatus(FulfilmentStatus.valueOf("NOT_FULFILLED"));
+ expectationFulfilmentInfo.setFulfillmentStatus(FulfilmentStatus.valueOf("NOT_FULFILLED"));
expectationFulfilmentInfo.setNotFulfilledReason("NotFulfilledReason");
expectationFulfilmentInfo.setNotFulfilledState(NotFulfilledState.valueOf("COMPLIANT"));
diff --git a/intentanalysis/src/test/java/org/onap/usecaseui/intentanalysis/service/IntentServiceTest.java b/intentanalysis/src/test/java/org/onap/usecaseui/intentanalysis/service/IntentServiceTest.java
index a1a31de..310c8c9 100644
--- a/intentanalysis/src/test/java/org/onap/usecaseui/intentanalysis/service/IntentServiceTest.java
+++ b/intentanalysis/src/test/java/org/onap/usecaseui/intentanalysis/service/IntentServiceTest.java
@@ -89,7 +89,7 @@ public class IntentServiceTest extends AbstractJUnit4SpringContextTests {
intentContext.setContextName("intentContextName");
List<Context> intentContextList = new ArrayList<>();
intentContextList.add(intentContext);
- intentFulfilmentInfo.setFulfilmentStatus(FulfilmentStatus.valueOf("NOT_FULFILLED"));
+ intentFulfilmentInfo.setFulfillmentStatus(FulfilmentStatus.valueOf("NOT_FULFILLED"));
intentFulfilmentInfo.setNotFulfilledReason("NotFulfilledReason");
intentFulfilmentInfo.setNotFulfilledState(NotFulfilledState.valueOf("COMPLIANT"));
intent.setIntentId("testIntentId");