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
/
model
/
TopicTest.java
diff --git
a/dmaap-bc/src/test/java/org/onap/dmaap/dbcapi/model/TopicTest.java
b/dmaap-bc/src/test/java/org/onap/dmaap/dbcapi/model/TopicTest.java
index
5da3aed
..
d7598b0
100644
(file)
--- a/
dmaap-bc/src/test/java/org/onap/dmaap/dbcapi/model/TopicTest.java
+++ b/
dmaap-bc/src/test/java/org/onap/dmaap/dbcapi/model/TopicTest.java
@@
-24,7
+24,6
@@
package org.onap.dmaap.dbcapi.model;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
-import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.onap.dmaap.dbcapi.model.DmaapObject.DmaapObject_Status;
import org.junit.Before;
import org.junit.Test;
import org.onap.dmaap.dbcapi.model.DmaapObject.DmaapObject_Status;
@@
-38,6
+37,7
@@
public class TopicTest {
@Before
public void setUp() throws Exception {
@Before
public void setUp() throws Exception {
+ System.setProperty("ConfigFile", "src/test/resources/dmaapbc.properties");
f = "org.onap.dmaap.interestingTopic";
t = "interestingTopic";
d = "A so very interesting topic";
f = "org.onap.dmaap.interestingTopic";
t = "interestingTopic";
d = "A so very interesting topic";
@@
-45,10
+45,6
@@
public class TopicTest {
o = "m12345";
}
o = "m12345";
}
- @After
- public void tearDown() throws Exception {
- }
-
@Test
public void test1() {
rh.reflect("org.onap.dmaap.dbcapi.model.Topic", "get", null);
@Test
public void test1() {
rh.reflect("org.onap.dmaap.dbcapi.model.Topic", "get", null);