diff options
author | Parshad Patel <pars.patel@samsung.com> | 2018-12-21 15:36:35 +0900 |
---|---|---|
committer | Parshad Patel <pars.patel@samsung.com> | 2018-12-21 15:43:34 +0900 |
commit | 4e3bb539cd8a678d8ea1e861c0cf04d472d50d9d (patch) | |
tree | 949d8dd3685218c75d888ca56b779bfa46a12919 /model/event-model/src | |
parent | b70b381538d2c6fca65530538b36c8f8fdebd104 (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/event-model/src')
-rw-r--r-- | model/event-model/src/test/java/org/onap/policy/apex/model/eventmodel/handling/ApexEventModelTest.java | 2 | ||||
-rw-r--r-- | model/event-model/src/test/java/org/onap/policy/apex/model/eventmodel/handling/DummyTestApexEventModelCreator.java (renamed from model/event-model/src/test/java/org/onap/policy/apex/model/eventmodel/handling/TestApexEventModelCreator.java) | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/model/event-model/src/test/java/org/onap/policy/apex/model/eventmodel/handling/ApexEventModelTest.java b/model/event-model/src/test/java/org/onap/policy/apex/model/eventmodel/handling/ApexEventModelTest.java index aaed3cd7f..88736d1f0 100644 --- a/model/event-model/src/test/java/org/onap/policy/apex/model/eventmodel/handling/ApexEventModelTest.java +++ b/model/event-model/src/test/java/org/onap/policy/apex/model/eventmodel/handling/ApexEventModelTest.java @@ -48,7 +48,7 @@ public class ApexEventModelTest { Class.forName("org.apache.derby.jdbc.EmbeddedDriver").newInstance(); connection = DriverManager.getConnection("jdbc:derby:memory:apex_test;create=true"); - testApexModel = new TestApexModel<AxEventModel>(AxEventModel.class, new TestApexEventModelCreator()); + testApexModel = new TestApexModel<AxEventModel>(AxEventModel.class, new DummyTestApexEventModelCreator()); } @After diff --git a/model/event-model/src/test/java/org/onap/policy/apex/model/eventmodel/handling/TestApexEventModelCreator.java b/model/event-model/src/test/java/org/onap/policy/apex/model/eventmodel/handling/DummyTestApexEventModelCreator.java index 039d2305b..11685a6b4 100644 --- a/model/event-model/src/test/java/org/onap/policy/apex/model/eventmodel/handling/TestApexEventModelCreator.java +++ b/model/event-model/src/test/java/org/onap/policy/apex/model/eventmodel/handling/DummyTestApexEventModelCreator.java @@ -32,7 +32,7 @@ import org.onap.policy.apex.model.eventmodel.concepts.AxEventModel; import org.onap.policy.apex.model.eventmodel.concepts.AxEvents; import org.onap.policy.apex.model.eventmodel.concepts.AxField; -public class TestApexEventModelCreator implements TestApexModelCreator<AxEventModel> { +public class DummyTestApexEventModelCreator implements TestApexModelCreator<AxEventModel> { @Override public AxEventModel getModel() { |