Code Review
/
nonrtric.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Removed support for the non used A1 1.0 standard
[nonrtric.git]
/
policy-agent
/
src
/
test
/
java
/
org
/
oransc
/
policyagent
/
dmaap
/
DmaapMessageConsumerTest.java
diff --git
a/policy-agent/src/test/java/org/oransc/policyagent/dmaap/DmaapMessageConsumerTest.java
b/policy-agent/src/test/java/org/oransc/policyagent/dmaap/DmaapMessageConsumerTest.java
index
cd4bcb6
..
153c4ec
100644
(file)
--- a/
policy-agent/src/test/java/org/oransc/policyagent/dmaap/DmaapMessageConsumerTest.java
+++ b/
policy-agent/src/test/java/org/oransc/policyagent/dmaap/DmaapMessageConsumerTest.java
@@
-68,7
+68,7
@@
public class DmaapMessageConsumerTest {
@Test
public void dmaapNotConfigured_thenDoNothing() {
@Test
public void dmaapNotConfigured_thenDoNothing() {
- messageConsumerUnderTest = spy(new DmaapMessageConsumer(applicationConfigMock
, false
));
+ messageConsumerUnderTest = spy(new DmaapMessageConsumer(applicationConfigMock));
doReturn(true).when(messageConsumerUnderTest).sleep(any(Duration.class));
doReturn(true).when(messageConsumerUnderTest).sleep(any(Duration.class));
@@
-82,7
+82,7
@@
public class DmaapMessageConsumerTest {
@Test
public void dmaapConfiguredAndNoMessages_thenPollOnce() throws Exception {
@Test
public void dmaapConfiguredAndNoMessages_thenPollOnce() throws Exception {
- messageConsumerUnderTest = spy(new DmaapMessageConsumer(applicationConfigMock
, false
));
+ messageConsumerUnderTest = spy(new DmaapMessageConsumer(applicationConfigMock));
doReturn(true, false).when(messageConsumerUnderTest).sleep(any(Duration.class));
doReturn(true, false).when(messageConsumerUnderTest).sleep(any(Duration.class));
@@
-113,7
+113,7
@@
public class DmaapMessageConsumerTest {
@Test
public void dmaapConfiguredAndErrorGettingMessages_thenLogWarning() throws Exception {
@Test
public void dmaapConfiguredAndErrorGettingMessages_thenLogWarning() throws Exception {
- messageConsumerUnderTest = spy(new DmaapMessageConsumer(applicationConfigMock
, false
));
+ messageConsumerUnderTest = spy(new DmaapMessageConsumer(applicationConfigMock));
doReturn(true, false).when(messageConsumerUnderTest).sleep(any(Duration.class));
doReturn(true, false).when(messageConsumerUnderTest).sleep(any(Duration.class));
@@
-141,7
+141,7
@@
public class DmaapMessageConsumerTest {
@Test
public void dmaapConfiguredAndOneMessage_thenPollOnceAndProcessMessage() throws Exception {
@Test
public void dmaapConfiguredAndOneMessage_thenPollOnceAndProcessMessage() throws Exception {
- messageConsumerUnderTest = spy(new DmaapMessageConsumer(applicationConfigMock
, false
));
+ messageConsumerUnderTest = spy(new DmaapMessageConsumer(applicationConfigMock));
doReturn(true, false).when(messageConsumerUnderTest).sleep(any(Duration.class));
doReturn(true, false).when(messageConsumerUnderTest).sleep(any(Duration.class));