Junit Test for dmaap adapter 41/31741/4
authorTaka <tc012c@att.com>
Wed, 14 Feb 2018 15:11:24 +0000 (10:11 -0500)
committerTakamune Cho <tc012c@att.com>
Fri, 16 Feb 2018 15:57:05 +0000 (15:57 +0000)
Change-Id: I2dbe1375a23fcbd5e2974f9d112a162d4fbea328
Issue-ID: APPC-626
Signed-off-by: Taka <tc012c@att.com>
appc-adapters/appc-dmaap-adapter/appc-dmaap-adapter-bundle/src/test/java/org/onap/appc/adapter/messaging/dmaap/TestAppcDmaapAdapterActivator.java

index 5473bf7..ce2214a 100644 (file)
@@ -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());
     }
-
 }