summaryrefslogtreecommitdiffstats
path: root/plugins/plugins-event
diff options
context:
space:
mode:
authorliamfallon <liam.fallon@est.tech>2019-02-23 20:01:28 +0000
committerliamfallon <liam.fallon@est.tech>2019-02-23 20:01:28 +0000
commit085fed0cc5b2aca4bd4af81c7ccd5ad4d3aa5a10 (patch)
tree6db5e28b1a0d896762d43584aee804172797411c /plugins/plugins-event
parent1ba6a3268b220cc99e9ed993553fa6f34f111a39 (diff)
Fix checkstyle errors on tests
Issue-ID: POLICY-1513 Change-Id: Id61df043adf398a0493916f6116ff5858c60fb29 Signed-off-by: liamfallon <liam.fallon@est.tech>
Diffstat (limited to 'plugins/plugins-event')
-rw-r--r--plugins/plugins-event/plugins-event-carrier/plugins-event-carrier-kafka/src/test/java/org/onap/policy/apex/plugins/event/carrier/kafka/ApexKafkaConsumerTest.java6
-rw-r--r--plugins/plugins-event/plugins-event-carrier/plugins-event-carrier-kafka/src/test/java/org/onap/policy/apex/plugins/event/carrier/kafka/ApexKafkaProducerTest.java4
-rw-r--r--plugins/plugins-event/plugins-event-carrier/plugins-event-carrier-kafka/src/test/java/org/onap/policy/apex/plugins/event/carrier/kafka/KafkaCarrierTechnologyParametersTest.java6
3 files changed, 16 insertions, 0 deletions
diff --git a/plugins/plugins-event/plugins-event-carrier/plugins-event-carrier-kafka/src/test/java/org/onap/policy/apex/plugins/event/carrier/kafka/ApexKafkaConsumerTest.java b/plugins/plugins-event/plugins-event-carrier/plugins-event-carrier-kafka/src/test/java/org/onap/policy/apex/plugins/event/carrier/kafka/ApexKafkaConsumerTest.java
index 6c9cb6609..bbebbc3b8 100644
--- a/plugins/plugins-event/plugins-event-carrier/plugins-event-carrier-kafka/src/test/java/org/onap/policy/apex/plugins/event/carrier/kafka/ApexKafkaConsumerTest.java
+++ b/plugins/plugins-event/plugins-event-carrier/plugins-event-carrier-kafka/src/test/java/org/onap/policy/apex/plugins/event/carrier/kafka/ApexKafkaConsumerTest.java
@@ -23,6 +23,7 @@ package org.onap.policy.apex.plugins.event.carrier.kafka;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
+
import org.junit.Before;
import org.junit.Test;
import org.onap.policy.apex.service.engine.event.ApexEventException;
@@ -39,6 +40,11 @@ public class ApexKafkaConsumerTest {
ApexEventReceiver incomingEventReceiver = null;
ApexEventProducer apexKafkaProducer = null;
+ /**
+ * Set up testing.
+ *
+ * @throws ApexEventException on test set up errors.
+ */
@Before
public void setUp() throws ApexEventException {
apexKafkaConsumer = new ApexKafkaConsumer();
diff --git a/plugins/plugins-event/plugins-event-carrier/plugins-event-carrier-kafka/src/test/java/org/onap/policy/apex/plugins/event/carrier/kafka/ApexKafkaProducerTest.java b/plugins/plugins-event/plugins-event-carrier/plugins-event-carrier-kafka/src/test/java/org/onap/policy/apex/plugins/event/carrier/kafka/ApexKafkaProducerTest.java
index 3c70d0b60..7300474c7 100644
--- a/plugins/plugins-event/plugins-event-carrier/plugins-event-carrier-kafka/src/test/java/org/onap/policy/apex/plugins/event/carrier/kafka/ApexKafkaProducerTest.java
+++ b/plugins/plugins-event/plugins-event-carrier/plugins-event-carrier-kafka/src/test/java/org/onap/policy/apex/plugins/event/carrier/kafka/ApexKafkaProducerTest.java
@@ -23,6 +23,7 @@ package org.onap.policy.apex.plugins.event.carrier.kafka;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
+
import org.junit.Before;
import org.junit.Test;
import org.onap.policy.apex.service.engine.event.ApexEventException;
@@ -39,6 +40,9 @@ public class ApexKafkaProducerTest {
SynchronousEventCache synchronousEventCache = null;
private static final long DEFAULT_SYNCHRONOUS_EVENT_TIMEOUT = 1000;
+ /**
+ * Set up testing.
+ */
@Before
public void setUp() throws Exception {
apexKafkaProducer = new ApexKafkaProducer();
diff --git a/plugins/plugins-event/plugins-event-carrier/plugins-event-carrier-kafka/src/test/java/org/onap/policy/apex/plugins/event/carrier/kafka/KafkaCarrierTechnologyParametersTest.java b/plugins/plugins-event/plugins-event-carrier/plugins-event-carrier-kafka/src/test/java/org/onap/policy/apex/plugins/event/carrier/kafka/KafkaCarrierTechnologyParametersTest.java
index e26a64bb6..6eca1dcf0 100644
--- a/plugins/plugins-event/plugins-event-carrier/plugins-event-carrier-kafka/src/test/java/org/onap/policy/apex/plugins/event/carrier/kafka/KafkaCarrierTechnologyParametersTest.java
+++ b/plugins/plugins-event/plugins-event-carrier/plugins-event-carrier-kafka/src/test/java/org/onap/policy/apex/plugins/event/carrier/kafka/KafkaCarrierTechnologyParametersTest.java
@@ -21,6 +21,7 @@
package org.onap.policy.apex.plugins.event.carrier.kafka;
import static org.junit.Assert.assertNotNull;
+
import java.util.Properties;
import org.junit.Before;
import org.junit.Test;
@@ -33,6 +34,11 @@ public class KafkaCarrierTechnologyParametersTest {
Properties kafkaConsumerProperties = null;
GroupValidationResult result = null;
+ /**
+ * Set up testing.
+ *
+ * @throws Exception on setup errors
+ */
@Before
public void setUp() throws Exception {
kafkaCarrierTechnologyParameters = new KafkaCarrierTechnologyParameters();