summaryrefslogtreecommitdiffstats
path: root/intentanalysis/src/test/java/org
diff options
context:
space:
mode:
authorhekeguang <hekeguang@chinamobile.com>2022-10-17 15:39:41 +0800
committerhekeguang <hekeguang@chinamobile.com>2022-10-17 15:40:04 +0800
commit64b84cc8b0f77b7100ef992aa55abaad4a1f5077 (patch)
tree191c502bcee609e2ff66de455332fb83555903b2 /intentanalysis/src/test/java/org
parent337b5ae680d3a1a37eba96b05a860f95dada7fe4 (diff)
Add expectationtarget info.
Issue-ID: USECASEUI-696 Change-Id: I5ad9ebd958ad6b45161cfb3dfae4b0fda8029f9e Signed-off-by: hekeguang <hekeguang@chinamobile.com>
Diffstat (limited to 'intentanalysis/src/test/java/org')
-rw-r--r--intentanalysis/src/test/java/org/onap/usecaseui/intentanalysis/intentBaseService/intentProcessService/IntentDefinitionServiceTest.java2
-rw-r--r--intentanalysis/src/test/java/org/onap/usecaseui/intentanalysis/intentBaseService/intentProcessService/IntentOperationServiceTest.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/intentanalysis/src/test/java/org/onap/usecaseui/intentanalysis/intentBaseService/intentProcessService/IntentDefinitionServiceTest.java b/intentanalysis/src/test/java/org/onap/usecaseui/intentanalysis/intentBaseService/intentProcessService/IntentDefinitionServiceTest.java
index 6aaeb02..c31aea1 100644
--- a/intentanalysis/src/test/java/org/onap/usecaseui/intentanalysis/intentBaseService/intentProcessService/IntentDefinitionServiceTest.java
+++ b/intentanalysis/src/test/java/org/onap/usecaseui/intentanalysis/intentBaseService/intentProcessService/IntentDefinitionServiceTest.java
@@ -89,7 +89,7 @@ public class IntentDefinitionServiceTest {
LinkedHashMap<IntentGoalBean, IntentManagementFunction> map = new LinkedHashMap<>();
IntentGoalBean gb = new IntentGoalBean(intent, IntentGoalType.CREATE);
map.put(gb, new IntentManagementFunction());
- intentDefinitionService.definitionPorcess(map.entrySet().iterator().next());
+ intentDefinitionService.definitionPorcess(intent, map.entrySet().iterator().next());
Assert.assertTrue(true);
}
} \ No newline at end of file
diff --git a/intentanalysis/src/test/java/org/onap/usecaseui/intentanalysis/intentBaseService/intentProcessService/IntentOperationServiceTest.java b/intentanalysis/src/test/java/org/onap/usecaseui/intentanalysis/intentBaseService/intentProcessService/IntentOperationServiceTest.java
index f52cfa3..65e425c 100644
--- a/intentanalysis/src/test/java/org/onap/usecaseui/intentanalysis/intentBaseService/intentProcessService/IntentOperationServiceTest.java
+++ b/intentanalysis/src/test/java/org/onap/usecaseui/intentanalysis/intentBaseService/intentProcessService/IntentOperationServiceTest.java
@@ -84,7 +84,7 @@ public class IntentOperationServiceTest {
public void testIntentOperation() {
intentOperationService.setIntentRole(intentOwner, formatIntentInputManagementFunction);
IntentGoalBean intentGoalBean = new IntentGoalBean(intent,IntentGoalType.CREATE);
- intentOperationService.operationProcess(intentGoalBean);
+ intentOperationService.operationProcess(intent, intentGoalBean);
Assert.assertTrue(true);
}
} \ No newline at end of file