aboutsummaryrefslogtreecommitdiffstats
path: root/appc-adapters/appc-dmaap-adapter
diff options
context:
space:
mode:
authorTaka <tc012c@att.com>2018-02-14 10:11:24 -0500
committerTakamune Cho <tc012c@att.com>2018-02-16 15:57:05 +0000
commit3f22c622540a8efae1468f58f7043eea62e46e90 (patch)
treec8321c91b51837fccf43b33e42889007a7358af8 /appc-adapters/appc-dmaap-adapter
parente2855d181e760721a4024ee02f7116487242ebd3 (diff)
Junit Test for dmaap adapter
Change-Id: I2dbe1375a23fcbd5e2974f9d112a162d4fbea328 Issue-ID: APPC-626 Signed-off-by: Taka <tc012c@att.com>
Diffstat (limited to 'appc-adapters/appc-dmaap-adapter')
-rw-r--r--appc-adapters/appc-dmaap-adapter/appc-dmaap-adapter-bundle/src/test/java/org/onap/appc/adapter/messaging/dmaap/TestAppcDmaapAdapterActivator.java9
1 files changed, 3 insertions, 6 deletions
diff --git a/appc-adapters/appc-dmaap-adapter/appc-dmaap-adapter-bundle/src/test/java/org/onap/appc/adapter/messaging/dmaap/TestAppcDmaapAdapterActivator.java b/appc-adapters/appc-dmaap-adapter/appc-dmaap-adapter-bundle/src/test/java/org/onap/appc/adapter/messaging/dmaap/TestAppcDmaapAdapterActivator.java
index 5473bf7e0..ce2214ac1 100644
--- a/appc-adapters/appc-dmaap-adapter/appc-dmaap-adapter-bundle/src/test/java/org/onap/appc/adapter/messaging/dmaap/TestAppcDmaapAdapterActivator.java
+++ b/appc-adapters/appc-dmaap-adapter/appc-dmaap-adapter-bundle/src/test/java/org/onap/appc/adapter/messaging/dmaap/TestAppcDmaapAdapterActivator.java
@@ -2,7 +2,7 @@
* ============LICENSE_START=======================================================
* ONAP : APPC
* ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
* ================================================================================
* Copyright (C) 2017 Amdocs
* =============================================================================
@@ -32,19 +32,16 @@ import org.onap.appc.adapter.messaging.dmaap.AppcDmaapAdapterActivator;
public class TestAppcDmaapAdapterActivator {
- // TODO commented out to allow build to pass, need to analyze and fix
-// @Test
- public void coverage() {
+ @Test
+ public void test_dmaap_activator() {
// This does nothing since the activator does nothing
AppcDmaapAdapterActivator appc = new AppcDmaapAdapterActivator();
try {
appc.start(null);
appc.stop(null);
-
} catch (Exception e) {
fail("Got exception when starting stopping. " + e.getMessage());
}
assertNotNull(appc.getName());
}
-
}