X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=dmaap-bc%2Fsrc%2Ftest%2Fjava%2Forg%2Fonap%2Fdmaap%2Fdbcapi%2Fservice%2FApiServiceTest.java;h=ae1e42719e210632314ceaeb2e76e724d392f0d1;hb=7de14af42606ea0afbb376e6f05de793108d555b;hp=c860e55305d15873016e042aec4bf3bae2b49941;hpb=71d3d0925874247de5e657821638b1c08360f571;p=dmaap%2Fbuscontroller.git diff --git a/dmaap-bc/src/test/java/org/onap/dmaap/dbcapi/service/ApiServiceTest.java b/dmaap-bc/src/test/java/org/onap/dmaap/dbcapi/service/ApiServiceTest.java index c860e55..ae1e427 100644 --- a/dmaap-bc/src/test/java/org/onap/dmaap/dbcapi/service/ApiServiceTest.java +++ b/dmaap-bc/src/test/java/org/onap/dmaap/dbcapi/service/ApiServiceTest.java @@ -27,14 +27,13 @@ import org.junit.Test; public class ApiServiceTest { - private static final String fmt = "%24s: %s%n"; - ReflectionHarness rh = new ReflectionHarness(); ApiService ds; @Before public void setUp() throws Exception { + System.setProperty("ConfigFile", "src/test/resources/dmaapbc.properties"); ds = new ApiService(); } @@ -42,15 +41,6 @@ public class ApiServiceTest { public void tearDown() throws Exception { } - - @Test - public void test1() { - - - //rh.reflect( "org.onap.dmaap.dbcapi.service.ApiService", "get", null ); - - } - @Test public void test2() { String v = "Validate";