diff options
author | seshukm <seshu.kumar.m@huawei.com> | 2019-01-15 18:17:19 +0530 |
---|---|---|
committer | seshukm <seshu.kumar.m@huawei.com> | 2019-01-15 18:17:19 +0530 |
commit | 8fdac56159f0952fb7f4383f74ffd52f23671e2f (patch) | |
tree | 503b1e29dc850a8284216c41ada603c06e137c98 /bpmn/MSOCommonBPMN/src/test | |
parent | fa1911835209fdec114f2b919a9e91d584622bf3 (diff) |
revert the changes
Issue-ID: SO-1391
Change-Id: I166d149b813aebb0511c1944a3bd3700080de201
Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
Diffstat (limited to 'bpmn/MSOCommonBPMN/src/test')
3 files changed, 5 insertions, 20 deletions
diff --git a/bpmn/MSOCommonBPMN/src/test/java/org/onap/so/client/dmaapproperties/DmaapPropertiesClientTest.java b/bpmn/MSOCommonBPMN/src/test/java/org/onap/so/client/dmaapproperties/DmaapPropertiesClientTest.java index a91e5dae65..95b86524a3 100644 --- a/bpmn/MSOCommonBPMN/src/test/java/org/onap/so/client/dmaapproperties/DmaapPropertiesClientTest.java +++ b/bpmn/MSOCommonBPMN/src/test/java/org/onap/so/client/dmaapproperties/DmaapPropertiesClientTest.java @@ -62,12 +62,7 @@ public class DmaapPropertiesClientTest extends BaseTest{ private String statusMessage = "Success"; private String percentProgress = "100"; -//TODO: To be deleted, apologies really going ahead with a crude method will correct it asap... @Test - public void testDummy() { - assertTrue(true); - } - /*@Test public void testBuildRequestJson() throws MapperException, IOException { AVPNDmaapBean actualBean = dmaapPropertiesClient.buildRequestJson(requestId, clientSource, correlator, serviceInstanceId, startTime, finishTime, requestScope, requestType, timestamp, requestState, statusMessage, percentProgress, true); @@ -85,5 +80,5 @@ public class DmaapPropertiesClientTest extends BaseTest{ dmaapPropertiesClient.dmaapPublishRequest(requestId, clientSource, correlator, serviceInstanceId, startTime, finishTime, requestScope, requestType, timestamp, requestState, statusMessage, percentProgress, false); - }*/ + } } diff --git a/bpmn/MSOCommonBPMN/src/test/java/org/onap/so/client/dmaapproperties/GlobalDmaapPublisherTest.java b/bpmn/MSOCommonBPMN/src/test/java/org/onap/so/client/dmaapproperties/GlobalDmaapPublisherTest.java index fcf9f140ce..4d7c85efdb 100644 --- a/bpmn/MSOCommonBPMN/src/test/java/org/onap/so/client/dmaapproperties/GlobalDmaapPublisherTest.java +++ b/bpmn/MSOCommonBPMN/src/test/java/org/onap/so/client/dmaapproperties/GlobalDmaapPublisherTest.java @@ -32,17 +32,12 @@ public class GlobalDmaapPublisherTest extends BaseTest{ @Autowired private GlobalDmaapPublisher globalDmaapPublisher; -//TODO: To be deleted, apologies really going ahead with a crude method will correct it asap... - @Test - public void testDummy() { - assertTrue(true); - } - /*@Test + @Test public void testGetters() { assertEquals("dmaapUsername", globalDmaapPublisher.getUserName()); assertEquals("ZG1hYXBQYXNzd29yZA==", globalDmaapPublisher.getPassword()); assertEquals("com.att.mso.asyncStatusUpdate", globalDmaapPublisher.getTopic()); assertEquals("http://localhost:" + wireMockPort, globalDmaapPublisher.getHost().get()); - }*/ + } } diff --git a/bpmn/MSOCommonBPMN/src/test/java/org/onap/so/client/exception/ExceptionBuilderTest.java b/bpmn/MSOCommonBPMN/src/test/java/org/onap/so/client/exception/ExceptionBuilderTest.java index f6d3aa20fd..2e25449937 100644 --- a/bpmn/MSOCommonBPMN/src/test/java/org/onap/so/client/exception/ExceptionBuilderTest.java +++ b/bpmn/MSOCommonBPMN/src/test/java/org/onap/so/client/exception/ExceptionBuilderTest.java @@ -32,13 +32,8 @@ public class ExceptionBuilderTest extends BaseTest { private static final String RESOURCE_PATH = "__files/"; private static final String VALID_ERROR_MESSAGE = "{test error message}"; -//TODO: To be deleted, apologies really going ahead with a crude method will correct it asap... - @Test - public void testDummy() { - assertTrue(true); - } - /*@Test + @Test public void buildAndThrowWorkflowExceptionTest() { try { ExceptionBuilder exceptionBuilder = new ExceptionBuilder(); @@ -78,5 +73,5 @@ public class ExceptionBuilderTest extends BaseTest { } catch (BpmnError bpmnException){ assertEquals("MSOWorkflowException", bpmnException.getErrorCode()); } - }*/ + } } |