diff options
author | liamfallon <liam.fallon@ericsson.com> | 2018-09-25 14:34:08 +0100 |
---|---|---|
committer | liamfallon <liam.fallon@ericsson.com> | 2018-09-25 14:36:11 +0100 |
commit | a122dde3b18f7c90098174be1c997d34d1f82853 (patch) | |
tree | bed64cb7b4887a36e41ae301c99c6316d2772e81 /testsuites/integration/integration-common/src/main/java/org | |
parent | da9a362382e3229ddcaa86fd91ac695a1914ebef (diff) |
JUnit for evaluation test model generator
Issue-ID: POLICY-1034
Change-Id: Ic8f9971d612dd5500c73f95e5cbbb786c5ad51f3
Signed-off-by: liamfallon <liam.fallon@ericsson.com>
Diffstat (limited to 'testsuites/integration/integration-common/src/main/java/org')
-rw-r--r-- | testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/testsuites/integration/common/model/EvalDomainModelFactory.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/testsuites/integration/common/model/EvalDomainModelFactory.java b/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/testsuites/integration/common/model/EvalDomainModelFactory.java index 70d723567..db214636b 100644 --- a/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/testsuites/integration/common/model/EvalDomainModelFactory.java +++ b/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/testsuites/integration/common/model/EvalDomainModelFactory.java @@ -215,7 +215,7 @@ public class EvalDomainModelFactory { final AxTasks tasks = new AxTasks(new AxArtifactKey("Tasks", DEFAULT_VERSION)); final AxLogicReader logicReader = new PolicyLogicReader().setLogicPackage(PACKAGE) - .setDefaultLogic("EvalTask_Logic"); + .setDefaultLogic("EvalTaskLogic"); final AxTask obTask = new AxTask(new AxArtifactKey("Task_Observe_0", DEFAULT_VERSION)); obTask.duplicateInputFields(event0000.getParameterMap()); @@ -382,7 +382,7 @@ public class EvalDomainModelFactory { final List<String> axLogicExecutorTypeList, final List<AxArtifactKey> defaultTaskList, final List<Set<AxArtifactKey>> taskKeySetList) { final AxLogicReader logicReader = new PolicyLogicReader().setLogicPackage(PACKAGE) - .setDefaultLogic("EvalState_Logic"); + .setDefaultLogic("EvalStateLogic"); final AxState actState = new AxState(new AxReferenceKey(policyKey, "Act")); actState.setTrigger(inEventKeyList.get(THIRD_MEMBER)); @@ -459,7 +459,7 @@ public class EvalDomainModelFactory { final AxTasks tasks = new AxTasks(new AxArtifactKey("Tasks", DEFAULT_VERSION)); final AxLogicReader logicReader = new PolicyLogicReader().setLogicPackage(PACKAGE) - .setDefaultLogic("EvalTask_Logic"); + .setDefaultLogic("EvalTaskLogic"); final AxTask eTask = new AxTask(new AxArtifactKey("Task_Event_0", DEFAULT_VERSION)); eTask.duplicateInputFields(event0000.getParameterMap()); @@ -584,7 +584,7 @@ public class EvalDomainModelFactory { final List<AxArtifactKey> outEventKeyList, final List<String> axLogicExecutorTypeList, final List<AxArtifactKey> defaultTaskList, final List<Set<AxArtifactKey>> taskKeySetList) { final AxLogicReader logicReader = new PolicyLogicReader().setLogicPackage(PACKAGE) - .setDefaultLogic("EvalState_Logic"); + .setDefaultLogic("EvalStateLogic"); final AxState actionState = new AxState(new AxReferenceKey(policyKey, ACTION)); actionState.setTrigger(inEventKeyList.get(2)); |