aboutsummaryrefslogtreecommitdiffstats
path: root/testsuites/performance
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
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')
-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
-rw-r--r--testsuites/performance/performance-context-metrics/src/test/java/org/onap/policy/apex/testsuites/performance/context/metrics/MetricsTest.java (renamed from testsuites/performance/performance-context-metrics/src/test/java/org/onap/policy/apex/testsuites/performance/context/metrics/TestMetrics.java)4
3 files changed, 8 insertions, 8 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>();
}
diff --git a/testsuites/performance/performance-context-metrics/src/test/java/org/onap/policy/apex/testsuites/performance/context/metrics/TestMetrics.java b/testsuites/performance/performance-context-metrics/src/test/java/org/onap/policy/apex/testsuites/performance/context/metrics/MetricsTest.java
index 13610121a..af6b46918 100644
--- a/testsuites/performance/performance-context-metrics/src/test/java/org/onap/policy/apex/testsuites/performance/context/metrics/TestMetrics.java
+++ b/testsuites/performance/performance-context-metrics/src/test/java/org/onap/policy/apex/testsuites/performance/context/metrics/MetricsTest.java
@@ -40,9 +40,9 @@ import org.slf4j.ext.XLoggerFactory;
/**
* The Class TestMetrics.
*/
-public class TestMetrics {
+public class MetricsTest {
// Logger for this class
- private static final XLogger LOGGER = XLoggerFactory.getXLogger(TestMetrics.class);
+ private static final XLogger LOGGER = XLoggerFactory.getXLogger(MetricsTest.class);
private static final String HAZELCAST_CONFIG = "hazelcast.config";
private static final String JAVA_NET_PREFER_IPV4_STACK = "java.net.preferIPv4Stack";