X-Git-Url: https://gerrit.onap.org/r/gitweb?p=dmaap%2Fbuscontroller.git;a=blobdiff_plain;f=dmaap-bc%2Fsrc%2Ftest%2Fjava%2Forg%2Fonap%2Fdmaap%2Fdbcapi%2Fservice%2FDmaapServiceTest.java;h=5b96f296d1ed058beb78ad6bfad7e1a50b2cdbdb;hp=b8b660f9413abba37ffdee3c148d6fed26bccdae;hb=7de14af42606ea0afbb376e6f05de793108d555b;hpb=daf8076254e3e0ae562c0e27bbd2d0910e79f8d1 diff --git a/dmaap-bc/src/test/java/org/onap/dmaap/dbcapi/service/DmaapServiceTest.java b/dmaap-bc/src/test/java/org/onap/dmaap/dbcapi/service/DmaapServiceTest.java index b8b660f..5b96f29 100644 --- a/dmaap-bc/src/test/java/org/onap/dmaap/dbcapi/service/DmaapServiceTest.java +++ b/dmaap-bc/src/test/java/org/onap/dmaap/dbcapi/service/DmaapServiceTest.java @@ -19,7 +19,6 @@ */ package org.onap.dmaap.dbcapi.service; -import org.junit.After; import org.junit.Before; import org.junit.Test; import org.onap.dmaap.dbcapi.model.Dmaap; @@ -27,35 +26,20 @@ import org.onap.dmaap.dbcapi.testframework.ReflectionHarness; public class DmaapServiceTest { - private static final String fmt = "%24s: %s%n"; - ReflectionHarness rh = new ReflectionHarness(); DmaapService ds; @Before public void setUp() throws Exception { + System.setProperty("ConfigFile", "src/test/resources/dmaapbc.properties"); ds = new DmaapService(); } - @After - public void tearDown() throws Exception { - } - - - @Test - public void test1() { - - - //rh.reflect( "org.onap.dmaap.dbcapi.service.DmaapService", "get", null ); - - } - @Test public void test2() { String v = "Validate"; rh.reflect( "org.onap.dmaap.dbcapi.service.DmaapService", "set", v ); - } @Test