Code Review
/
dmaap
/
buscontroller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
[DMAAP-BC] Fix failing jenkins
[dmaap/buscontroller.git]
/
dmaap-bc
/
src
/
test
/
java
/
org
/
onap
/
dmaap
/
dbcapi
/
service
/
ApiServiceTest.java
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
(file)
--- 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 {
public class ApiServiceTest {
- private static final String fmt = "%24s: %s%n";
-
ReflectionHarness rh = new ReflectionHarness();
ApiService ds;
@Before
public void setUp() throws Exception {
ReflectionHarness rh = new ReflectionHarness();
ApiService ds;
@Before
public void setUp() throws Exception {
+ System.setProperty("ConfigFile", "src/test/resources/dmaapbc.properties");
ds = new ApiService();
}
ds = new ApiService();
}
@@
-42,15
+41,6
@@
public class ApiServiceTest {
public void tearDown() throws Exception {
}
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";
@Test
public void test2() {
String v = "Validate";