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
/
MirrorMakerTest.java
diff --git
a/dmaap-bc/src/test/java/org/onap/dmaap/dbcapi/model/MirrorMakerTest.java
b/dmaap-bc/src/test/java/org/onap/dmaap/dbcapi/model/MirrorMakerTest.java
index
39de2be
..
872c4b7
100644
(file)
--- a/
dmaap-bc/src/test/java/org/onap/dmaap/dbcapi/model/MirrorMakerTest.java
+++ b/
dmaap-bc/src/test/java/org/onap/dmaap/dbcapi/model/MirrorMakerTest.java
@@
-19,42
+19,29
@@
*/
package org.onap.dmaap.dbcapi.model;
*/
package org.onap.dmaap.dbcapi.model;
-import static org.junit.Assert.
*
;
+import static org.junit.Assert.
assertTrue
;
-import
org.junit.After
;
+import
java.util.ArrayList
;
import org.junit.Before;
import org.junit.Test;
import org.onap.dmaap.dbcapi.testframework.ReflectionHarness;
import org.junit.Before;
import org.junit.Test;
import org.onap.dmaap.dbcapi.testframework.ReflectionHarness;
-import java.util.ArrayList;
-
public class MirrorMakerTest {
public class MirrorMakerTest {
- private static final String fmt = "%24s: %s%n";
-
ReflectionHarness rh = new ReflectionHarness();
ReflectionHarness rh = new ReflectionHarness();
-
@Before
public void setUp() throws Exception {
@Before
public void setUp() throws Exception {
+ System.setProperty("ConfigFile", "src/test/resources/dmaapbc.properties");
}
}
- @After
- public void tearDown() throws Exception {
- }
-
-
@Test
public void test1() {
@Test
public void test1() {
-
-
- rh.reflect( "org.onap.dmaap.dbcapi.model.MirrorMaker", "get", null );
-
+ rh.reflect( "org.onap.dmaap.dbcapi.model.MirrorMaker", "get", null );
}
@Test
public void test2() {
}
@Test
public void test2() {
-
String v = "Validate";
rh.reflect( "org.onap.dmaap.dbcapi.model.MirrorMaker", "set", v );
}
String v = "Validate";
rh.reflect( "org.onap.dmaap.dbcapi.model.MirrorMaker", "set", v );
}