diff options
author | dglFromAtt <dgl@research.att.com> | 2018-10-25 08:06:45 -0400 |
---|---|---|
committer | dglFromAtt <dgl@research.att.com> | 2018-10-25 08:29:01 -0400 |
commit | 87bf9245434ad317ea39a84a0099233197f3d7c2 (patch) | |
tree | 69be5c0a6f623ebe23a0f30c739a8bf420bafd65 /src/test/java | |
parent | ebdb8b74c1d10e4bdc477c0f5e61311a9bfd9ead (diff) |
Introduce useExisting query param for feeds/topics
Change-Id: I0eb7000cff801a7fb622c70d4621458fe3574fed
Signed-off-by: dglFromAtt <dgl@research.att.com>
Issue-ID: DMAAP-878
Diffstat (limited to 'src/test/java')
-rw-r--r-- | src/test/java/org/onap/dmaap/dbcapi/service/MR_ClientServiceTest.java | 4 | ||||
-rw-r--r-- | src/test/java/org/onap/dmaap/dbcapi/service/TopicServiceTest.java | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/test/java/org/onap/dmaap/dbcapi/service/MR_ClientServiceTest.java b/src/test/java/org/onap/dmaap/dbcapi/service/MR_ClientServiceTest.java index 4d79b74..dcdfcdf 100644 --- a/src/test/java/org/onap/dmaap/dbcapi/service/MR_ClientServiceTest.java +++ b/src/test/java/org/onap/dmaap/dbcapi/service/MR_ClientServiceTest.java @@ -93,7 +93,7 @@ public class MR_ClientServiceTest { public void test3() { Topic topic = factory.genSimpleTopic( "test3" ); ApiError err = new ApiError(); - Topic nTopic = ts.addTopic( topic, err ); + Topic nTopic = ts.addTopic( topic, err, false ); if ( nTopic != null ) { assertTrue( nTopic.getTopicName().equals( topic.getTopicName() )); } @@ -117,7 +117,7 @@ public class MR_ClientServiceTest { public void test5() { Topic topic = factory.genSimpleTopic( "test5" ); ApiError err = new ApiError(); - Topic nTopic = ts.addTopic( topic, err ); + Topic nTopic = ts.addTopic( topic, err, false ); if ( nTopic != null ) { assertTrue( nTopic.getTopicName().equals( topic.getTopicName() )); } diff --git a/src/test/java/org/onap/dmaap/dbcapi/service/TopicServiceTest.java b/src/test/java/org/onap/dmaap/dbcapi/service/TopicServiceTest.java index 5997ab1..8fd7b47 100644 --- a/src/test/java/org/onap/dmaap/dbcapi/service/TopicServiceTest.java +++ b/src/test/java/org/onap/dmaap/dbcapi/service/TopicServiceTest.java @@ -73,7 +73,7 @@ public class TopicServiceTest { topic.setTopicName( "test3" ); topic.setFqtnStyle( FqtnType.Validator("none") ); topic.getFqtn(); - Topic nTopic = ts.addTopic( topic, err ); + Topic nTopic = ts.addTopic( topic, err, false ); if ( nTopic != null ) { assertTrue( nTopic.getTopicName().equals( topic.getTopicName() )); } @@ -104,7 +104,7 @@ public class TopicServiceTest { ts.reviewTopic( topic ); ts.checkForBridge( topic, err ); - Topic nTopic = ts.addTopic( topic, err ); + Topic nTopic = ts.addTopic( topic, err, false ); if ( nTopic != null ) { assertTrue( nTopic.getTopicName().equals( topic.getTopicName() )); } |