aboutsummaryrefslogtreecommitdiffstats
path: root/appc-adapters
diff options
context:
space:
mode:
authorSandeep J <sandeejh@in.ibm.com>2018-08-23 15:15:25 +0530
committerTakamune Cho <tc012c@att.com>2018-08-23 20:49:10 +0000
commit83bf8293db15b5a83357ae9acf90d1066f998455 (patch)
treea25bd694ae4e926951d856878f85eb831dca7e71 /appc-adapters
parent95984f50947b143ec9b17bbc19cdff67ec1ee2b3 (diff)
added test case to TestDmaapProducerImpl.java
to increase code coverage Issue-ID: APPC-1086 Change-Id: I39e99b4036ca7668bd739a9fa17cb850c5bea330 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
Diffstat (limited to 'appc-adapters')
-rw-r--r--appc-adapters/appc-dmaap-adapter/appc-dmaap-adapter-bundle/src/test/java/org/onap/appc/adapter/messaging/dmaap/impl/TestDmaapProducerImpl.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/appc-adapters/appc-dmaap-adapter/appc-dmaap-adapter-bundle/src/test/java/org/onap/appc/adapter/messaging/dmaap/impl/TestDmaapProducerImpl.java b/appc-adapters/appc-dmaap-adapter/appc-dmaap-adapter-bundle/src/test/java/org/onap/appc/adapter/messaging/dmaap/impl/TestDmaapProducerImpl.java
index d37b3fe51..e16e05995 100644
--- a/appc-adapters/appc-dmaap-adapter/appc-dmaap-adapter-bundle/src/test/java/org/onap/appc/adapter/messaging/dmaap/impl/TestDmaapProducerImpl.java
+++ b/appc-adapters/appc-dmaap-adapter/appc-dmaap-adapter-bundle/src/test/java/org/onap/appc/adapter/messaging/dmaap/impl/TestDmaapProducerImpl.java
@@ -136,10 +136,12 @@ public class TestDmaapProducerImpl {
producer.close();
}
- @Ignore
+
@Test
public void testCloseWithClient() {
- fail("Not yet implemented");
+ producer.post("partition", "data");
+ assertNotNull(producer);
+ producer.close();
}
@Test