aboutsummaryrefslogtreecommitdiffstats
path: root/testsuites/performance/performance-benchmark-test/src/test
diff options
context:
space:
mode:
authorParshad Patel <pars.patel@samsung.com>2018-11-20 14:46:45 +0900
committerParshad Patel <pars.patel@samsung.com>2018-11-20 14:47:26 +0900
commite8b197315437cac84872752e2ea090d8fb233941 (patch)
tree6e167d82034840bda782d5d7b90fe7778789a699 /testsuites/performance/performance-benchmark-test/src/test
parent62475a30ef2d425fe04df35ef2dac53c7ab5306a (diff)
Rename test classes in apex-pdp
Make test classes name consistence under auth, model, plugins, testsuits, tools projects Issue-ID: POLICY-1263 Change-Id: I49ec9a9f5b457d6381e693de2c04ec0268ad1b02 Signed-off-by: Parshad Patel <pars.patel@samsung.com>
Diffstat (limited to 'testsuites/performance/performance-benchmark-test/src/test')
-rw-r--r--testsuites/performance/performance-benchmark-test/src/test/java/org/onap/policy/apex/testsuites/performance/benchmark/engine/benchmark/ApexEngineBenchmarkTest.java (renamed from testsuites/performance/performance-benchmark-test/src/test/java/org/onap/policy/apex/testsuites/performance/benchmark/engine/benchmark/ApexEngineBenchmark.java)6
-rw-r--r--testsuites/performance/performance-benchmark-test/src/test/java/org/onap/policy/apex/testsuites/performance/benchmark/engine/benchmark/ApexEventListenerTest.java (renamed from testsuites/performance/performance-benchmark-test/src/test/java/org/onap/policy/apex/testsuites/performance/benchmark/engine/benchmark/TestApexEventListener.java)6
2 files changed, 6 insertions, 6 deletions
diff --git a/testsuites/performance/performance-benchmark-test/src/test/java/org/onap/policy/apex/testsuites/performance/benchmark/engine/benchmark/ApexEngineBenchmark.java b/testsuites/performance/performance-benchmark-test/src/test/java/org/onap/policy/apex/testsuites/performance/benchmark/engine/benchmark/ApexEngineBenchmarkTest.java
index fa2a9934c..99035f7bf 100644
--- a/testsuites/performance/performance-benchmark-test/src/test/java/org/onap/policy/apex/testsuites/performance/benchmark/engine/benchmark/ApexEngineBenchmark.java
+++ b/testsuites/performance/performance-benchmark-test/src/test/java/org/onap/policy/apex/testsuites/performance/benchmark/engine/benchmark/ApexEngineBenchmarkTest.java
@@ -37,9 +37,9 @@ import org.slf4j.ext.XLoggerFactory;
/**
* The Class ApexEngineBenchmark.
*/
-public class ApexEngineBenchmark {
+public class ApexEngineBenchmarkTest {
// Logger for this class
- private static final XLogger LOGGER = XLoggerFactory.getXLogger(ApexEngineBenchmark.class);
+ private static final XLogger LOGGER = XLoggerFactory.getXLogger(ApexEngineBenchmarkTest.class);
private static final String TARGET = "apex";
private static final String SOURCE = "test";
@@ -132,7 +132,7 @@ public class ApexEngineBenchmark {
throws Exception {
LOGGER.info("Running Test with Event count: {}, Instance count: {} and loop: {}", eventsCount, threads, loop);
- final TestApexEventListener apexEventListener = new TestApexEventListener();
+ final ApexEventListenerTest apexEventListener = new ApexEventListenerTest();
final ApexBaseBenchMarkTest apexBaseBenchMarkTest =
new ApexBaseBenchMarkTest(policyModel, threads, apexEventListener);
diff --git a/testsuites/performance/performance-benchmark-test/src/test/java/org/onap/policy/apex/testsuites/performance/benchmark/engine/benchmark/TestApexEventListener.java b/testsuites/performance/performance-benchmark-test/src/test/java/org/onap/policy/apex/testsuites/performance/benchmark/engine/benchmark/ApexEventListenerTest.java
index 2b6c89de7..a5950df97 100644
--- a/testsuites/performance/performance-benchmark-test/src/test/java/org/onap/policy/apex/testsuites/performance/benchmark/engine/benchmark/TestApexEventListener.java
+++ b/testsuites/performance/performance-benchmark-test/src/test/java/org/onap/policy/apex/testsuites/performance/benchmark/engine/benchmark/ApexEventListenerTest.java
@@ -42,10 +42,10 @@ import org.slf4j.ext.XLoggerFactory;
*
* @see TestApexEventEvent
*/
-public class TestApexEventListener implements ApexEventListener {
+public class ApexEventListenerTest implements ApexEventListener {
private static final String SENT_TIMESTAMP = "SentTimestamp";
- private static final XLogger LOGGER = XLoggerFactory.getXLogger(TestApexEventListener.class);
+ private static final XLogger LOGGER = XLoggerFactory.getXLogger(ApexEventListenerTest.class);
private static final String RECVD_TIMESTAMP = "RecvdTimestamp";
private Queue<ApexEvent> queue;
@@ -54,7 +54,7 @@ public class TestApexEventListener implements ApexEventListener {
/**
* Instantiates a new test apex event listener.
*/
- public TestApexEventListener() {
+ public ApexEventListenerTest() {
this.queue = new ConcurrentLinkedQueue<ApexEvent>();
}