From 8fdac56159f0952fb7f4383f74ffd52f23671e2f Mon Sep 17 00:00:00 2001 From: seshukm Date: Tue, 15 Jan 2019 18:17:19 +0530 Subject: revert the changes Issue-ID: SO-1391 Change-Id: I166d149b813aebb0511c1944a3bd3700080de201 Signed-off-by: seshukm --- .../so/client/dmaapproperties/DmaapPropertiesClientTest.java | 7 +------ .../onap/so/client/dmaapproperties/GlobalDmaapPublisherTest.java | 9 ++------- .../java/org/onap/so/client/exception/ExceptionBuilderTest.java | 9 ++------- 3 files changed, 5 insertions(+), 20 deletions(-) (limited to 'bpmn') 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()); } - }*/ + } } -- cgit 1.2.3-korg