summaryrefslogtreecommitdiffstats
path: root/model/model-api/src/test
diff options
context:
space:
mode:
authorParshad Patel <pars.patel@samsung.com>2018-12-21 15:36:35 +0900
committerParshad Patel <pars.patel@samsung.com>2018-12-21 15:43:34 +0900
commit4e3bb539cd8a678d8ea1e861c0cf04d472d50d9d (patch)
tree949d8dd3685218c75d888ca56b779bfa46a12919 /model/model-api/src/test
parentb70b381538d2c6fca65530538b36c8f8fdebd104 (diff)
Rename test classes in apex-pdp/model,core
Make test classes name consitence by adding 'Test' at end of junit test classes and adding 'Support' or 'Dummy' at start of util or dummy type of test classes Issue-ID: POLICY-1263 Change-Id: I6cb8d09799d7abd1b50ead1edbc4986649ad4ba7 Signed-off-by: Parshad Patel <pars.patel@samsung.com>
Diffstat (limited to 'model/model-api/src/test')
-rw-r--r--model/model-api/src/test/java/org/onap/policy/apex/model/modelapi/ApexApiResultTest.java (renamed from model/model-api/src/test/java/org/onap/policy/apex/model/modelapi/TestApiResult.java)2
-rw-r--r--model/model-api/src/test/java/org/onap/policy/apex/model/modelapi/ApexEditorApiContextAlbumTest.java (renamed from model/model-api/src/test/java/org/onap/policy/apex/model/modelapi/TestApexEditorApiContextAlbum.java)2
-rw-r--r--model/model-api/src/test/java/org/onap/policy/apex/model/modelapi/ApexEditorApiContextSchemaTest.java (renamed from model/model-api/src/test/java/org/onap/policy/apex/model/modelapi/TestApexEditorApiContextSchema.java)2
-rw-r--r--model/model-api/src/test/java/org/onap/policy/apex/model/modelapi/ApexEditorApiEventTest.java (renamed from model/model-api/src/test/java/org/onap/policy/apex/model/modelapi/TestApexEditorApiEvent.java)2
-rw-r--r--model/model-api/src/test/java/org/onap/policy/apex/model/modelapi/ApexEditorApiKeyInfoTest.java (renamed from model/model-api/src/test/java/org/onap/policy/apex/model/modelapi/TestApexEditorApiKeyInfo.java)2
-rw-r--r--model/model-api/src/test/java/org/onap/policy/apex/model/modelapi/ApexEditorApiPolicyTest.java (renamed from model/model-api/src/test/java/org/onap/policy/apex/model/modelapi/TestApexEditorApiPolicy.java)2
-rw-r--r--model/model-api/src/test/java/org/onap/policy/apex/model/modelapi/ApexEditorApiTaskTest.java (renamed from model/model-api/src/test/java/org/onap/policy/apex/model/modelapi/TestApexEditorApiTask.java)2
-rw-r--r--model/model-api/src/test/java/org/onap/policy/apex/model/modelapi/ApexModelApiTest.java (renamed from model/model-api/src/test/java/org/onap/policy/apex/model/modelapi/TestApexModelApi.java)2
-rw-r--r--model/model-api/src/test/java/org/onap/policy/apex/model/modelapi/ModelFacadeTest.java (renamed from model/model-api/src/test/java/org/onap/policy/apex/model/modelapi/TestModelFacade.java)2
-rw-r--r--model/model-api/src/test/java/org/onap/policy/apex/model/modelapi/ModelHandlerFacadeTest.java (renamed from model/model-api/src/test/java/org/onap/policy/apex/model/modelapi/TestModelHandlerFacade.java)2
10 files changed, 10 insertions, 10 deletions
diff --git a/model/model-api/src/test/java/org/onap/policy/apex/model/modelapi/TestApiResult.java b/model/model-api/src/test/java/org/onap/policy/apex/model/modelapi/ApexApiResultTest.java
index e2717e542..43a9fa42e 100644
--- a/model/model-api/src/test/java/org/onap/policy/apex/model/modelapi/TestApiResult.java
+++ b/model/model-api/src/test/java/org/onap/policy/apex/model/modelapi/ApexApiResultTest.java
@@ -35,7 +35,7 @@ import org.onap.policy.apex.model.modelapi.ApexApiResult.Result;
* Test API results.
* @author Liam Fallon (liam.fallon@ericsson.com)
*/
-public class TestApiResult {
+public class ApexApiResultTest {
@Test
public void testApiResult() {
diff --git a/model/model-api/src/test/java/org/onap/policy/apex/model/modelapi/TestApexEditorApiContextAlbum.java b/model/model-api/src/test/java/org/onap/policy/apex/model/modelapi/ApexEditorApiContextAlbumTest.java
index f1b8fc84b..0d442e95f 100644
--- a/model/model-api/src/test/java/org/onap/policy/apex/model/modelapi/TestApexEditorApiContextAlbum.java
+++ b/model/model-api/src/test/java/org/onap/policy/apex/model/modelapi/ApexEditorApiContextAlbumTest.java
@@ -29,7 +29,7 @@ import org.junit.Test;
* Context album for API tests.
* @author Liam Fallon (liam.fallon@ericsson.com)
*/
-public class TestApexEditorApiContextAlbum {
+public class ApexEditorApiContextAlbumTest {
@Test
public void testContextAlbumCrud() {
final ApexModel apexModel = new ApexModelFactory().createApexModel(null, false);
diff --git a/model/model-api/src/test/java/org/onap/policy/apex/model/modelapi/TestApexEditorApiContextSchema.java b/model/model-api/src/test/java/org/onap/policy/apex/model/modelapi/ApexEditorApiContextSchemaTest.java
index 25ab6df6b..9f297203b 100644
--- a/model/model-api/src/test/java/org/onap/policy/apex/model/modelapi/TestApexEditorApiContextSchema.java
+++ b/model/model-api/src/test/java/org/onap/policy/apex/model/modelapi/ApexEditorApiContextSchemaTest.java
@@ -29,7 +29,7 @@ import org.junit.Test;
* Context schema for API tests.
* @author Liam Fallon (liam.fallon@ericsson.com)
*/
-public class TestApexEditorApiContextSchema {
+public class ApexEditorApiContextSchemaTest {
@Test
public void testContextSchemaCrud() {
final ApexModel apexModel = new ApexModelFactory().createApexModel(null, false);
diff --git a/model/model-api/src/test/java/org/onap/policy/apex/model/modelapi/TestApexEditorApiEvent.java b/model/model-api/src/test/java/org/onap/policy/apex/model/modelapi/ApexEditorApiEventTest.java
index b25c52c9c..6bb85a634 100644
--- a/model/model-api/src/test/java/org/onap/policy/apex/model/modelapi/TestApexEditorApiEvent.java
+++ b/model/model-api/src/test/java/org/onap/policy/apex/model/modelapi/ApexEditorApiEventTest.java
@@ -29,7 +29,7 @@ import org.junit.Test;
* Test events for API tests.
* @author Liam Fallon (liam.fallon@ericsson.com)
*/
-public class TestApexEditorApiEvent {
+public class ApexEditorApiEventTest {
@Test
public void testEventCrud() {
final ApexModel apexModel = new ApexModelFactory().createApexModel(null, false);
diff --git a/model/model-api/src/test/java/org/onap/policy/apex/model/modelapi/TestApexEditorApiKeyInfo.java b/model/model-api/src/test/java/org/onap/policy/apex/model/modelapi/ApexEditorApiKeyInfoTest.java
index 9dae13272..3635abbe0 100644
--- a/model/model-api/src/test/java/org/onap/policy/apex/model/modelapi/TestApexEditorApiKeyInfo.java
+++ b/model/model-api/src/test/java/org/onap/policy/apex/model/modelapi/ApexEditorApiKeyInfoTest.java
@@ -29,7 +29,7 @@ import org.junit.Test;
* Key information for API tests.
* @author Liam Fallon (liam.fallon@ericsson.com)
*/
-public class TestApexEditorApiKeyInfo {
+public class ApexEditorApiKeyInfoTest {
@Test
public void testKeyInfoCrud() {
diff --git a/model/model-api/src/test/java/org/onap/policy/apex/model/modelapi/TestApexEditorApiPolicy.java b/model/model-api/src/test/java/org/onap/policy/apex/model/modelapi/ApexEditorApiPolicyTest.java
index 9295ffa5f..4c54b2062 100644
--- a/model/model-api/src/test/java/org/onap/policy/apex/model/modelapi/TestApexEditorApiPolicy.java
+++ b/model/model-api/src/test/java/org/onap/policy/apex/model/modelapi/ApexEditorApiPolicyTest.java
@@ -29,7 +29,7 @@ import org.junit.Test;
* Test policies for API tests.
* @author Liam Fallon (liam.fallon@ericsson.com)
*/
-public class TestApexEditorApiPolicy {
+public class ApexEditorApiPolicyTest {
@Test
public void myTestPolicyCrud() {
final ApexModel apexModel = new ApexModelFactory().createApexModel(null, false);
diff --git a/model/model-api/src/test/java/org/onap/policy/apex/model/modelapi/TestApexEditorApiTask.java b/model/model-api/src/test/java/org/onap/policy/apex/model/modelapi/ApexEditorApiTaskTest.java
index 9faa3653c..050025537 100644
--- a/model/model-api/src/test/java/org/onap/policy/apex/model/modelapi/TestApexEditorApiTask.java
+++ b/model/model-api/src/test/java/org/onap/policy/apex/model/modelapi/ApexEditorApiTaskTest.java
@@ -29,7 +29,7 @@ import org.junit.Test;
* Test tasks for API tests.
* @author Liam Fallon (liam.fallon@ericsson.com)
*/
-public class TestApexEditorApiTask {
+public class ApexEditorApiTaskTest {
@Test
public void testTaskCrud() {
final ApexModel apexModel = new ApexModelFactory().createApexModel(null, false);
diff --git a/model/model-api/src/test/java/org/onap/policy/apex/model/modelapi/TestApexModelApi.java b/model/model-api/src/test/java/org/onap/policy/apex/model/modelapi/ApexModelApiTest.java
index 9e2e1ce56..462b1cd8b 100644
--- a/model/model-api/src/test/java/org/onap/policy/apex/model/modelapi/TestApexModelApi.java
+++ b/model/model-api/src/test/java/org/onap/policy/apex/model/modelapi/ApexModelApiTest.java
@@ -43,7 +43,7 @@ import org.onap.policy.apex.model.utilities.TextFileUtils;
* Test the apex model API.
* @author Liam Fallon (liam.fallon@ericsson.com)
*/
-public class TestApexModelApi {
+public class ApexModelApiTest {
private Connection connection;
@Before
diff --git a/model/model-api/src/test/java/org/onap/policy/apex/model/modelapi/TestModelFacade.java b/model/model-api/src/test/java/org/onap/policy/apex/model/modelapi/ModelFacadeTest.java
index 2c937e175..d5b845658 100644
--- a/model/model-api/src/test/java/org/onap/policy/apex/model/modelapi/TestModelFacade.java
+++ b/model/model-api/src/test/java/org/onap/policy/apex/model/modelapi/ModelFacadeTest.java
@@ -30,7 +30,7 @@ import java.util.UUID;
import org.junit.Test;
import org.onap.policy.apex.model.modelapi.impl.ModelFacade;
-public class TestModelFacade {
+public class ModelFacadeTest {
@Test
public void testModelFacade() {
diff --git a/model/model-api/src/test/java/org/onap/policy/apex/model/modelapi/TestModelHandlerFacade.java b/model/model-api/src/test/java/org/onap/policy/apex/model/modelapi/ModelHandlerFacadeTest.java
index 22ecaf631..9bbba1d99 100644
--- a/model/model-api/src/test/java/org/onap/policy/apex/model/modelapi/TestModelHandlerFacade.java
+++ b/model/model-api/src/test/java/org/onap/policy/apex/model/modelapi/ModelHandlerFacadeTest.java
@@ -37,7 +37,7 @@ import org.onap.policy.apex.model.utilities.TextFileUtils;
* Test the model handler facade.
* @author Liam Fallon (liam.fallon@ericsson.com)
*/
-public class TestModelHandlerFacade {
+public class ModelHandlerFacadeTest {
@Test
public void testModelHandlerFacade() throws IOException {