aboutsummaryrefslogtreecommitdiffstats
path: root/core/core-engine
diff options
context:
space:
mode:
Diffstat (limited to 'core/core-engine')
-rw-r--r--core/core-engine/src/test/java/org/onap/policy/apex/core/engine/engine/impl/ApexEngineImplTest.java6
-rw-r--r--core/core-engine/src/test/java/org/onap/policy/apex/core/engine/engine/impl/DummyEnEventListener.java (renamed from core/core-engine/src/test/java/org/onap/policy/apex/core/engine/engine/impl/BadListener.java)2
-rw-r--r--core/core-engine/src/test/java/org/onap/policy/apex/core/engine/engine/impl/DummySlowEnEventListener.java (renamed from core/core-engine/src/test/java/org/onap/policy/apex/core/engine/engine/impl/SlowListener.java)2
3 files changed, 5 insertions, 5 deletions
diff --git a/core/core-engine/src/test/java/org/onap/policy/apex/core/engine/engine/impl/ApexEngineImplTest.java b/core/core-engine/src/test/java/org/onap/policy/apex/core/engine/engine/impl/ApexEngineImplTest.java
index 2a80cf06b..6d35adc54 100644
--- a/core/core-engine/src/test/java/org/onap/policy/apex/core/engine/engine/impl/ApexEngineImplTest.java
+++ b/core/core-engine/src/test/java/org/onap/policy/apex/core/engine/engine/impl/ApexEngineImplTest.java
@@ -371,7 +371,7 @@ public class ApexEngineImplTest {
}
try {
- engine.addEventListener("badListener", new BadListener());
+ engine.addEventListener("badListener", new DummyEnEventListener());
} catch (Exception e) {
fail("test should not throw an exception");
}
@@ -394,7 +394,7 @@ public class ApexEngineImplTest {
try {
engine.removeEventListener("badListener");
- engine.addEventListener("slowListener", new SlowListener());
+ engine.addEventListener("slowListener", new DummySlowEnEventListener());
} catch (Exception e) {
fail("test should not throw an exception");
}
@@ -414,7 +414,7 @@ public class ApexEngineImplTest {
fail("test should not throw an exception");
}
- SlowListener slowListener = new SlowListener();
+ DummySlowEnEventListener slowListener = new DummySlowEnEventListener();
try {
engine.addEventListener("slowListener", slowListener);
} catch (Exception e) {
diff --git a/core/core-engine/src/test/java/org/onap/policy/apex/core/engine/engine/impl/BadListener.java b/core/core-engine/src/test/java/org/onap/policy/apex/core/engine/engine/impl/DummyEnEventListener.java
index b829437d6..e67d256fe 100644
--- a/core/core-engine/src/test/java/org/onap/policy/apex/core/engine/engine/impl/BadListener.java
+++ b/core/core-engine/src/test/java/org/onap/policy/apex/core/engine/engine/impl/DummyEnEventListener.java
@@ -28,7 +28,7 @@ import org.onap.policy.apex.model.basicmodel.concepts.ApexException;
* Dummy engine event listener for unit test.
*
*/
-public class BadListener implements EnEventListener {
+public class DummyEnEventListener implements EnEventListener {
/*
* (non-Javadoc)
diff --git a/core/core-engine/src/test/java/org/onap/policy/apex/core/engine/engine/impl/SlowListener.java b/core/core-engine/src/test/java/org/onap/policy/apex/core/engine/engine/impl/DummySlowEnEventListener.java
index f3f885911..fbb38c99e 100644
--- a/core/core-engine/src/test/java/org/onap/policy/apex/core/engine/engine/impl/SlowListener.java
+++ b/core/core-engine/src/test/java/org/onap/policy/apex/core/engine/engine/impl/DummySlowEnEventListener.java
@@ -28,7 +28,7 @@ import org.onap.policy.apex.model.basicmodel.concepts.ApexException;
* Dummy engine event listener for unit test.
*
*/
-public class SlowListener implements EnEventListener {
+public class DummySlowEnEventListener implements EnEventListener {
private long waitTime;