diff options
author | surya-huawei <a.u.surya@huawei.com> | 2017-10-05 15:49:13 +0530 |
---|---|---|
committer | surya-huawei <a.u.surya@huawei.com> | 2017-10-05 15:50:47 +0530 |
commit | 1aab3d043fca73edbdb5da1972a947d92ce85a77 (patch) | |
tree | 8a6a32ab004541585a4e7dee88b22ab0410b1bbc /dmaap-listener/src | |
parent | 905f1d2016e8bc4d02a801017a31b20c4eb2119e (diff) |
Add a test for DummyDmaapConsumer
*Add a unit test in sli/northbound module
This is to improve code coverage of DummyDmaapConsumer class
Issue-Id: CCSDK-106
Change-Id: Iecd4970a0cd82c94a219b1a2e861fcc3da11f23c
Signed-off-by: surya-huawei <a.u.surya@huawei.com>
Diffstat (limited to 'dmaap-listener/src')
-rw-r--r-- | dmaap-listener/src/test/java/org/onap/ccsdk/sli/northbound/dmaapclient/TestDummyDmaapConsumer.java | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/dmaap-listener/src/test/java/org/onap/ccsdk/sli/northbound/dmaapclient/TestDummyDmaapConsumer.java b/dmaap-listener/src/test/java/org/onap/ccsdk/sli/northbound/dmaapclient/TestDummyDmaapConsumer.java new file mode 100644 index 000000000..47330c622 --- /dev/null +++ b/dmaap-listener/src/test/java/org/onap/ccsdk/sli/northbound/dmaapclient/TestDummyDmaapConsumer.java @@ -0,0 +1,26 @@ +/* + * Copyright (c) 2017. Lorem ipsum dolor sit amet, consectetur adipiscing elit. + * Morbi non lorem porttitor neque feugiat blandit. Ut vitae ipsum eget quam lacinia accumsan. + * Etiam sed turpis ac ipsum condimentum fringilla. Maecenas magna. + * Proin dapibus sapien vel ante. Aliquam erat volutpat. Pellentesque sagittis ligula eget metus. + * Vestibulum commodo. Ut rhoncus gravida arcu. + */ + +package org.onap.ccsdk.sli.northbound.dmaapclient; + +import org.junit.Test; + +import static org.junit.Assert.assertEquals; + +public class TestDummyDmaapConsumer { + private static final String DMAAP_LISTENER_PROPERTIES = "dmaap-listener.properties"; + private static final String DMAAP_LISTENER_PROPERTIES_DIR = "src/test/resources"; + + DummyDmaapConsumer consumer = new DummyDmaapConsumer(); + + @Test + public void testProcessMsg(){ + consumer.processMsg(null); + } + +} |