summaryrefslogtreecommitdiffstats
path: root/model/basic-model/src
diff options
context:
space:
mode:
authorlapentafd <francesco.lapenta@est.tech>2021-06-10 16:38:21 +0100
committerlapentafd <francesco.lapenta@est.tech>2021-06-10 16:38:26 +0100
commit2b04e4d3bae9567e85f383d34033aa57ac83d64e (patch)
tree2d04e9674e57cfe7dcc897d3e5a8ed3310e31812 /model/basic-model/src
parent369b0066c7dd83b3af401ba676fc10106551667d (diff)
Fix Rebase Issue on Sonar Issues apex-pdp-model
Deleting a duplicate method inserted in two different reviews Issue-ID: POLICY-3093 Change-Id: Ie7c06c17ad1df380ebcd7129c218f5784152ff0e Signed-off-by: lapentafd <francesco.lapenta@est.tech>
Diffstat (limited to 'model/basic-model/src')
-rw-r--r--model/basic-model/src/test/java/org/onap/policy/apex/model/basicmodel/concepts/AxKeyInfoTest.java21
1 files changed, 0 insertions, 21 deletions
diff --git a/model/basic-model/src/test/java/org/onap/policy/apex/model/basicmodel/concepts/AxKeyInfoTest.java b/model/basic-model/src/test/java/org/onap/policy/apex/model/basicmodel/concepts/AxKeyInfoTest.java
index 176cd606e..d066d674c 100644
--- a/model/basic-model/src/test/java/org/onap/policy/apex/model/basicmodel/concepts/AxKeyInfoTest.java
+++ b/model/basic-model/src/test/java/org/onap/policy/apex/model/basicmodel/concepts/AxKeyInfoTest.java
@@ -80,27 +80,6 @@ public class AxKeyInfoTest {
@Test
public void testAxKeyValidation() {
AxKeyInfo testKeyInfo = new AxKeyInfo();
-
- AxArtifactKey key = new AxArtifactKey("key", "0.0.1");
- testKeyInfo.setKey(key);
-
- UUID uuid = UUID.randomUUID();
- testKeyInfo.setUuid(uuid);
- testKeyInfo.setDescription("Key Description");
-
- assertNotEquals(0, testKeyInfo.compareTo(null));
- assertNotEquals(0, testKeyInfo.compareTo(new AxArtifactKey()));
- assertNotEquals(0, testKeyInfo.compareTo(new AxKeyInfo(new AxArtifactKey())));
- assertNotEquals(0, testKeyInfo.compareTo(new AxKeyInfo(key, UUID.randomUUID(), "Some Description")));
- assertNotEquals(0, testKeyInfo.compareTo(new AxKeyInfo(key, uuid, "Some Description")));
- assertEquals(0, testKeyInfo.compareTo(new AxKeyInfo(key, uuid, "Key Description")));
-
- assertNotNull(testKeyInfo.getKeys());
- }
-
- @Test
- public void testAxKeyValidation() {
- AxKeyInfo testKeyInfo = new AxKeyInfo();
testKeyInfo.setKey((new AxArtifactKey("PN", "0.0.1")));
AxValidationResult result = new AxValidationResult();