diff options
author | Jim Hahn <jrh3@att.com> | 2021-09-01 11:45:05 -0400 |
---|---|---|
committer | Jim Hahn <jrh3@att.com> | 2021-09-01 12:13:08 -0400 |
commit | 51f1fffd687e53c858685ec41fd3ab8cfd4fcdf1 (patch) | |
tree | 8002add6eb9acf0ca5d668ef44550fc7c1170ef6 /core/core-protocols | |
parent | 9ee4561bcd28b7199fd1ffed118f122a8435203a (diff) |
Fix sonars in apex-pdp #3
Fixed:
- use "var"
- use assertEquals instead of assertTrue(xxx.equals())
- separate assertions
Issue-ID: POLICY-3093
Change-Id: Id4db62626948681cd267e68a56dda65fa355c6f8
Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'core/core-protocols')
-rw-r--r-- | core/core-protocols/src/test/java/org/onap/policy/apex/core/protocols/SupportMessageTest.java (renamed from core/core-protocols/src/test/java/org/onap/policy/apex/core/protocols/SupportMessageTester.java) | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/core-protocols/src/test/java/org/onap/policy/apex/core/protocols/SupportMessageTester.java b/core/core-protocols/src/test/java/org/onap/policy/apex/core/protocols/SupportMessageTest.java index 7bc352025..8b19059b5 100644 --- a/core/core-protocols/src/test/java/org/onap/policy/apex/core/protocols/SupportMessageTester.java +++ b/core/core-protocols/src/test/java/org/onap/policy/apex/core/protocols/SupportMessageTest.java @@ -33,7 +33,7 @@ import org.onap.policy.apex.model.basicmodel.concepts.AxArtifactKey; /** * Test of the abstract Message class. */ -public class SupportMessageTester { +public class SupportMessageTest { @Test public void testMessage() { |