summaryrefslogtreecommitdiffstats
path: root/dmaap-listener/src/main/java/org
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2017-10-03 07:34:22 -0400
committerDan Timoney <dtimoney@att.com>2017-10-03 07:34:22 -0400
commit12d893efa353bc5bd5054cd59998a623f5d058d0 (patch)
tree44baab68c60f9dcd7e093880f60c69b2a54b972d /dmaap-listener/src/main/java/org
parent119808a2ded9ea8c4dd9d1eef96f39ab2e001ff7 (diff)
Add unit test for dmaap-listener
Add unit test case for dmaap-listener. Change-Id: I501614016c96d8300bc15cdf1819691f95c467f4 Issue-ID: CCSDK-106 Signed-off-by: Dan Timoney <dtimoney@att.com>
Diffstat (limited to 'dmaap-listener/src/main/java/org')
-rw-r--r--dmaap-listener/src/main/java/org/onap/ccsdk/sli/northbound/dmaapclient/DmaapListener.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/dmaap-listener/src/main/java/org/onap/ccsdk/sli/northbound/dmaapclient/DmaapListener.java b/dmaap-listener/src/main/java/org/onap/ccsdk/sli/northbound/dmaapclient/DmaapListener.java
index de76e454e..ce099cd64 100644
--- a/dmaap-listener/src/main/java/org/onap/ccsdk/sli/northbound/dmaapclient/DmaapListener.java
+++ b/dmaap-listener/src/main/java/org/onap/ccsdk/sli/northbound/dmaapclient/DmaapListener.java
@@ -8,9 +8,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -96,7 +96,7 @@ public class DmaapListener {
return threadsRunning;
}
- private static Properties loadProperties(String propPath, Properties properties) {
+ static Properties loadProperties(String propPath, Properties properties) {
File propFile = new File(propPath);
if (!propFile.canRead()) {
@@ -113,7 +113,7 @@ public class DmaapListener {
return properties;
}
- private static boolean handleSubscriptions(String subscriptionStr, String propDir, Properties properties,
+ static boolean handleSubscriptions(String subscriptionStr, String propDir, Properties properties,
List<SdncDmaapConsumer> consumers) {
String[] subscriptions = subscriptionStr.split(";");