diff options
author | Parshad Patel <pars.patel@samsung.com> | 2018-11-15 11:59:54 +0900 |
---|---|---|
committer | Parshad Patel <pars.patel@samsung.com> | 2018-11-15 12:05:12 +0900 |
commit | b078c9d89a9d6c07f7cb6e7196b34caf797138d6 (patch) | |
tree | fc1acfa8fc2988d7b938e3c8a6c11943de4cd985 /controlloop/common/model-impl/so | |
parent | 918d8aa79654111a7254571adf0f84c89dddb36c (diff) |
Rename test classes in drools-applications
Make test classes name consistence by putting 'Test' at end as per google java style guide
Issue-ID: POLICY-1258
Change-Id: Id79e5d3fe3688f7f2569b7996613595cc6b746e7
Signed-off-by: Parshad Patel <pars.patel@samsung.com>
Diffstat (limited to 'controlloop/common/model-impl/so')
-rw-r--r-- | controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/DemoTest.java (renamed from controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestDemo.java) | 4 | ||||
-rwxr-xr-x | controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/SoAsyncRequestStatusTest.java (renamed from controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestSoAsyncRequestStatus.java) | 2 | ||||
-rwxr-xr-x | controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/SoCloudConfigurationTest.java (renamed from controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestSoCloudConfiguration.java) | 2 | ||||
-rw-r--r-- | controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/SoDummyServerTest.java (renamed from controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestSoDummyServer.java) | 2 | ||||
-rwxr-xr-x | controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/SoInstanceReferencesTest.java (renamed from controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestSoInstanceReferences.java) | 2 | ||||
-rw-r--r-- | controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/SoManagerTest.java (renamed from controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestSoManager.java) | 4 | ||||
-rwxr-xr-x | controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/SoModelInfoTest.java (renamed from controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestSoModelInfo.java) | 2 | ||||
-rwxr-xr-x | controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/SoPolicyExceptionHolderTest.java (renamed from controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestSoPolicyExceptionHolder.java) | 2 | ||||
-rwxr-xr-x | controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/SoRelatedInstanceListElementTest.java (renamed from controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestSoRelatedInstanceListElement.java) | 2 | ||||
-rwxr-xr-x | controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/SoRelatedInstanceTest.java (renamed from controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestSoRelatedInstance.java) | 2 | ||||
-rwxr-xr-x | controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/SoRequestDetailsTest.java (renamed from controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestSoRequestDetails.java) | 2 | ||||
-rwxr-xr-x | controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/SoRequestErrorTest.java (renamed from controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestSoRequestError.java) | 2 | ||||
-rwxr-xr-x | controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/SoRequestInfoTest.java (renamed from controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestSoRequestInfo.java) | 2 | ||||
-rwxr-xr-x | controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/SoRequestParametersTest.java (renamed from controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestSoRequestParameters.java) | 2 | ||||
-rwxr-xr-x | controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/SoRequestReferencesTest.java (renamed from controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestSoRequestReferences.java) | 2 | ||||
-rwxr-xr-x | controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/SoRequestStatusTest.java (renamed from controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestSoRequestStatus.java) | 2 | ||||
-rwxr-xr-x | controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/SoRequestTest.java (renamed from controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestSoRequest.java) | 2 | ||||
-rwxr-xr-x | controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/SoResponseTest.java (renamed from controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestSoResponse.java) | 2 | ||||
-rwxr-xr-x | controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/SoResponseWrapperTest.java (renamed from controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestSoResponseWrapper.java) | 2 | ||||
-rwxr-xr-x | controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/SoServiceExceptionHolderTest.java (renamed from controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestSoServiceExceptionHolder.java) | 2 | ||||
-rwxr-xr-x | controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/SoSubscriberInfoTest.java (renamed from controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestSoSubscriberInfo.java) | 2 |
21 files changed, 23 insertions, 23 deletions
diff --git a/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestDemo.java b/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/DemoTest.java index 1b2cb697a..43cce61e1 100644 --- a/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestDemo.java +++ b/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/DemoTest.java @@ -36,8 +36,8 @@ import org.onap.policy.so.util.Serialization; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TestDemo { - private static final Logger logger = LoggerFactory.getLogger(TestDemo.class); +public class DemoTest { + private static final Logger logger = LoggerFactory.getLogger(DemoTest.class); @Test public void test() { diff --git a/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestSoAsyncRequestStatus.java b/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/SoAsyncRequestStatusTest.java index 7c50ea097..d6fd0ad25 100755 --- a/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestSoAsyncRequestStatus.java +++ b/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/SoAsyncRequestStatusTest.java @@ -27,7 +27,7 @@ import java.time.LocalDateTime; import org.junit.Test; -public class TestSoAsyncRequestStatus { +public class SoAsyncRequestStatusTest { @Test public void testConstructor() { diff --git a/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestSoCloudConfiguration.java b/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/SoCloudConfigurationTest.java index bab8970bb..8b52ae9a2 100755 --- a/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestSoCloudConfiguration.java +++ b/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/SoCloudConfigurationTest.java @@ -25,7 +25,7 @@ import static org.junit.Assert.assertTrue; import org.junit.Test; -public class TestSoCloudConfiguration { +public class SoCloudConfigurationTest { @Test public void testConstructor() { diff --git a/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestSoDummyServer.java b/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/SoDummyServerTest.java index 2a352b0bf..17f92bcb9 100644 --- a/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestSoDummyServer.java +++ b/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/SoDummyServerTest.java @@ -33,7 +33,7 @@ import javax.ws.rs.PathParam; import javax.ws.rs.core.Response; @Path("/SO") -public class TestSoDummyServer { +public class SoDummyServerTest { private static int postMessagesReceived = 0; private static int putMessagesReceived = 0; diff --git a/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestSoInstanceReferences.java b/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/SoInstanceReferencesTest.java index ee083ae08..39e37f0cb 100755 --- a/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestSoInstanceReferences.java +++ b/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/SoInstanceReferencesTest.java @@ -25,7 +25,7 @@ import static org.junit.Assert.assertTrue; import org.junit.Test; -public class TestSoInstanceReferences { +public class SoInstanceReferencesTest { @Test public void testConstructor() { diff --git a/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestSoManager.java b/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/SoManagerTest.java index 20cb54fca..c090513f6 100644 --- a/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestSoManager.java +++ b/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/SoManagerTest.java @@ -46,7 +46,7 @@ import org.junit.BeforeClass; import org.junit.Test; import org.onap.policy.drools.system.PolicyEngine; -public class TestSoManager { +public class SoManagerTest { private static final String BASE_URI = "http://localhost:46553/TestSOManager"; private static final String BASE_SO_URI = BASE_URI + "/SO"; private static HttpServer server; @@ -56,7 +56,7 @@ public class TestSoManager { */ @BeforeClass public static void setUp() throws IOException { - final ResourceConfig rc = new ResourceConfig(TestSoDummyServer.class); + final ResourceConfig rc = new ResourceConfig(SoDummyServerTest.class); //Grizzly by default doesn't allow payload for HTTP methods (ex: DELETE), for which HTTP spec doesn't // explicitly state that. //allow it before starting the server diff --git a/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestSoModelInfo.java b/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/SoModelInfoTest.java index 037e82e4c..5898f04f0 100755 --- a/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestSoModelInfo.java +++ b/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/SoModelInfoTest.java @@ -25,7 +25,7 @@ import static org.junit.Assert.assertTrue; import org.junit.Test; -public class TestSoModelInfo { +public class SoModelInfoTest { @Test public void testConstructor() { diff --git a/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestSoPolicyExceptionHolder.java b/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/SoPolicyExceptionHolderTest.java index 1c619a8c6..2dea68d8f 100755 --- a/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestSoPolicyExceptionHolder.java +++ b/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/SoPolicyExceptionHolderTest.java @@ -25,7 +25,7 @@ import static org.junit.Assert.assertTrue; import org.junit.Test; -public class TestSoPolicyExceptionHolder { +public class SoPolicyExceptionHolderTest { @Test public void testConstructor() { diff --git a/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestSoRelatedInstanceListElement.java b/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/SoRelatedInstanceListElementTest.java index 83f1d5849..4c549361a 100755 --- a/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestSoRelatedInstanceListElement.java +++ b/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/SoRelatedInstanceListElementTest.java @@ -25,7 +25,7 @@ import static org.junit.Assert.assertTrue; import org.junit.Test; -public class TestSoRelatedInstanceListElement { +public class SoRelatedInstanceListElementTest { @Test public void testConstructor() { diff --git a/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestSoRelatedInstance.java b/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/SoRelatedInstanceTest.java index 048288377..aa137e19f 100755 --- a/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestSoRelatedInstance.java +++ b/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/SoRelatedInstanceTest.java @@ -25,7 +25,7 @@ import static org.junit.Assert.assertTrue; import org.junit.Test; -public class TestSoRelatedInstance { +public class SoRelatedInstanceTest { @Test public void testConstructor() { diff --git a/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestSoRequestDetails.java b/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/SoRequestDetailsTest.java index c4b024593..71ae7ca66 100755 --- a/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestSoRequestDetails.java +++ b/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/SoRequestDetailsTest.java @@ -31,7 +31,7 @@ import java.util.List; import org.junit.Test; -public class TestSoRequestDetails { +public class SoRequestDetailsTest { @Test public void testConstructor() { diff --git a/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestSoRequestError.java b/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/SoRequestErrorTest.java index a3c19cf41..f700fbc70 100755 --- a/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestSoRequestError.java +++ b/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/SoRequestErrorTest.java @@ -25,7 +25,7 @@ import static org.junit.Assert.assertTrue; import org.junit.Test; -public class TestSoRequestError { +public class SoRequestErrorTest { @Test public void testConstructor() { diff --git a/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestSoRequestInfo.java b/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/SoRequestInfoTest.java index a77fe8bf4..c09da54dc 100755 --- a/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestSoRequestInfo.java +++ b/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/SoRequestInfoTest.java @@ -25,7 +25,7 @@ import static org.junit.Assert.assertTrue; import org.junit.Test; -public class TestSoRequestInfo { +public class SoRequestInfoTest { @Test public void testConstructor() { diff --git a/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestSoRequestParameters.java b/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/SoRequestParametersTest.java index 1ebf5d76f..db93988c9 100755 --- a/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestSoRequestParameters.java +++ b/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/SoRequestParametersTest.java @@ -25,7 +25,7 @@ import static org.junit.Assert.assertTrue; import org.junit.Test; -public class TestSoRequestParameters { +public class SoRequestParametersTest { @Test public void testConstructor() { diff --git a/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestSoRequestReferences.java b/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/SoRequestReferencesTest.java index 498a2e00b..5d6ff2090 100755 --- a/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestSoRequestReferences.java +++ b/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/SoRequestReferencesTest.java @@ -25,7 +25,7 @@ import static org.junit.Assert.assertTrue; import org.junit.Test; -public class TestSoRequestReferences { +public class SoRequestReferencesTest { @Test public void testConstructor() { diff --git a/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestSoRequestStatus.java b/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/SoRequestStatusTest.java index 1b8d745fd..cd3e1b58a 100755 --- a/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestSoRequestStatus.java +++ b/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/SoRequestStatusTest.java @@ -26,7 +26,7 @@ import static org.junit.Assert.assertTrue; import org.junit.Test; -public class TestSoRequestStatus { +public class SoRequestStatusTest { @Test public void testConstructor() { diff --git a/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestSoRequest.java b/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/SoRequestTest.java index 2f9bf68bb..c09c58471 100755 --- a/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestSoRequest.java +++ b/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/SoRequestTest.java @@ -28,7 +28,7 @@ import java.util.UUID; import org.junit.Test; -public class TestSoRequest { +public class SoRequestTest { @Test public void testConstructor() { diff --git a/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestSoResponse.java b/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/SoResponseTest.java index cf9a85e83..cf396561b 100755 --- a/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestSoResponse.java +++ b/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/SoResponseTest.java @@ -25,7 +25,7 @@ import static org.junit.Assert.assertTrue; import org.junit.Test; -public class TestSoResponse { +public class SoResponseTest { @Test public void testConstructor() { diff --git a/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestSoResponseWrapper.java b/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/SoResponseWrapperTest.java index d7ef9708d..181fe2138 100755 --- a/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestSoResponseWrapper.java +++ b/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/SoResponseWrapperTest.java @@ -29,7 +29,7 @@ import java.util.UUID; import org.junit.Test; -public class TestSoResponseWrapper { +public class SoResponseWrapperTest { @Test public void testConstructor() { diff --git a/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestSoServiceExceptionHolder.java b/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/SoServiceExceptionHolderTest.java index 7c802efaf..b0ce56652 100755 --- a/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestSoServiceExceptionHolder.java +++ b/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/SoServiceExceptionHolderTest.java @@ -25,7 +25,7 @@ import static org.junit.Assert.assertTrue; import org.junit.Test; -public class TestSoServiceExceptionHolder { +public class SoServiceExceptionHolderTest { @Test public void testConstructor() { diff --git a/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestSoSubscriberInfo.java b/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/SoSubscriberInfoTest.java index b0662fa30..ea38bd597 100755 --- a/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestSoSubscriberInfo.java +++ b/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/SoSubscriberInfoTest.java @@ -25,7 +25,7 @@ import static org.junit.Assert.assertTrue; import org.junit.Test; -public class TestSoSubscriberInfo { +public class SoSubscriberInfoTest { @Test public void testConstructor() { |