diff options
author | liamfallon <liam.fallon@ericsson.com> | 2018-09-12 23:29:25 +0100 |
---|---|---|
committer | liamfallon <liam.fallon@ericsson.com> | 2018-09-12 23:54:51 +0100 |
commit | 0e23f7634e1e1fb31454c516974613335fcea1a4 (patch) | |
tree | bedf0e52104e62599dd091eb6292de5dc7d57f49 /examples/examples-aadm/src | |
parent | 3ccc3d9ecd4bcd8960a2da6ecbdc7f3ac806fc67 (diff) |
Sonar/Checkstyle in model/context/core
Checkstyle and sonar changes in the model, contexot
and core modules.
Issue-ID: POLICY-1034
Change-Id: I2d40bc877f3a548844470fc290fc89d63fa465ae
Signed-off-by: liamfallon <liam.fallon@ericsson.com>
Diffstat (limited to 'examples/examples-aadm/src')
-rw-r--r-- | examples/examples-aadm/src/test/java/org/onap/policy/apex/examples/aadm/TestAADMUseCase.java | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/examples/examples-aadm/src/test/java/org/onap/policy/apex/examples/aadm/TestAADMUseCase.java b/examples/examples-aadm/src/test/java/org/onap/policy/apex/examples/aadm/TestAADMUseCase.java index 5ff70d1af..21f240ba8 100644 --- a/examples/examples-aadm/src/test/java/org/onap/policy/apex/examples/aadm/TestAADMUseCase.java +++ b/examples/examples-aadm/src/test/java/org/onap/policy/apex/examples/aadm/TestAADMUseCase.java @@ -150,7 +150,7 @@ public class TestAADMUseCase { apexEngine.handleEvent(event); EnEvent result = listener.getResult(); assertTrue(result.getName().startsWith("XSTREAM_AADM_ACT_EVENT")); - assertEquals("ExecutionIDs are different", event.getExecutionID(), result.getExecutionID()); + assertEquals("ExecutionIDs are different", event.getExecutionId(), result.getExecutionId()); // no DOS_IN_eNodeB set so return probe action assertTrue(result.get("ACTTASK").equals("probe")); assertTrue((boolean) result.get("TCP_ON")); @@ -188,7 +188,7 @@ public class TestAADMUseCase { apexEngine.handleEvent(event); result = listener.getResult(); assertTrue(result.getName().startsWith("XSTREAM_AADM_ACT_EVENT")); - assertEquals("ExecutionIDs are different", event.getExecutionID(), result.getExecutionID()); + assertEquals("ExecutionIDs are different", event.getExecutionId(), result.getExecutionId()); // DOS_IN_eNodeB set to be more than throughput so return act action assertTrue(result.get("ACTTASK").equals("act")); // only one imsi was sent to process, so stop probe and tcp @@ -226,7 +226,7 @@ public class TestAADMUseCase { apexEngine.handleEvent(event); result = listener.getResult(); assertTrue(result.getName().startsWith("XSTREAM_AADM_ACT_EVENT")); - assertEquals("ExecutionIDs are different", event.getExecutionID(), result.getExecutionID()); + assertEquals("ExecutionIDs are different", event.getExecutionId(), result.getExecutionId()); assertTrue(result.get("ACTTASK").equals("probe")); assertTrue((boolean) result.get("TCP_ON")); assertTrue((boolean) result.get("PROBE_ON")); @@ -261,7 +261,7 @@ public class TestAADMUseCase { apexEngine.handleEvent(event); result = listener.getResult(); assertTrue(result.getName().startsWith("XSTREAM_AADM_ACT_EVENT")); - assertEquals("ExecutionIDs are different", event.getExecutionID(), result.getExecutionID()); + assertEquals("ExecutionIDs are different", event.getExecutionId(), result.getExecutionId()); assertTrue(result.get("ACTTASK").equals("act")); assertTrue(!(boolean) result.get("TCP_ON")); assertTrue(!(boolean) result.get("PROBE_ON")); @@ -298,7 +298,7 @@ public class TestAADMUseCase { apexEngine.handleEvent(event); result = listener.getResult(); assertTrue(result.getName().startsWith("XSTREAM_AADM_ACT_EVENT")); - assertEquals("ExecutionIDs are different", event.getExecutionID(), result.getExecutionID()); + assertEquals("ExecutionIDs are different", event.getExecutionId(), result.getExecutionId()); assertTrue(result.get("ACTTASK").equals("act")); assertTrue(!(boolean) result.get("TCP_ON")); assertTrue(!(boolean) result.get("PROBE_ON")); @@ -331,7 +331,7 @@ public class TestAADMUseCase { apexEngine.handleEvent(event); result = listener.getResult(); assertTrue(result.getName().startsWith("XSTREAM_AADM_ACT_EVENT")); - assertEquals("ExecutionIDs are different", event.getExecutionID(), result.getExecutionID()); + assertEquals("ExecutionIDs are different", event.getExecutionId(), result.getExecutionId()); assertTrue(result.get("ACTTASK").equals("probe")); assertTrue((boolean) result.get("TCP_ON")); assertTrue((boolean) result.get("PROBE_ON")); @@ -369,7 +369,7 @@ public class TestAADMUseCase { apexEngine.handleEvent(event); result = listener.getResult(); assertTrue(result.getName().startsWith("XSTREAM_AADM_ACT_EVENT")); - assertEquals("ExecutionIDs are different", event.getExecutionID(), result.getExecutionID()); + assertEquals("ExecutionIDs are different", event.getExecutionId(), result.getExecutionId()); assertTrue(result.get("ACTTASK").equals("probe")); assertTrue((boolean) result.get("TCP_ON")); assertTrue((boolean) result.get("PROBE_ON")); @@ -402,7 +402,7 @@ public class TestAADMUseCase { apexEngine.handleEvent(event); result = listener.getResult(); assertTrue(result.getName().startsWith("XSTREAM_AADM_ACT_EVENT")); - assertEquals("ExecutionIDs are different", event.getExecutionID(), result.getExecutionID()); + assertEquals("ExecutionIDs are different", event.getExecutionId(), result.getExecutionId()); assertTrue(result.get("ACTTASK").equals("probe")); assertTrue((boolean) result.get("TCP_ON")); assertTrue((boolean) result.get("PROBE_ON")); @@ -424,7 +424,7 @@ public class TestAADMUseCase { apexEngine.handleEvent(event); result = listener.getResult(); assertTrue(result.getName().startsWith("SAPCBlacklistSubscriberEvent")); - assertEquals("ExecutionIDs are different", event.getExecutionID(), result.getExecutionID()); + assertEquals("ExecutionIDs are different", event.getExecutionId(), result.getExecutionId()); assertEquals(0L, result.get("IMSI")); assertTrue(result.get("PROFILE").equals("ServiceA")); assertTrue(result.get("BLACKLIST_ON").equals(false)); |