From 892203b62c51be6256dcb0240e7860ba7298d06d Mon Sep 17 00:00:00 2001 From: Jim Hahn Date: Thu, 19 Mar 2020 09:41:10 -0400 Subject: Last sonar fix for drools-apps Remaining issues will be examined/addressed in Guilin. Issue-ID: POLICY-2426 Signed-off-by: Jim Hahn Change-Id: I2354122ed40e27de472a346001aff4e46d27ccf6 --- .../onap/policy/controlloop/common/rules/test/NamedRunnerTest.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'controlloop/common/rules-test/src/test') diff --git a/controlloop/common/rules-test/src/test/java/org/onap/policy/controlloop/common/rules/test/NamedRunnerTest.java b/controlloop/common/rules-test/src/test/java/org/onap/policy/controlloop/common/rules/test/NamedRunnerTest.java index fe9ff8083..6ee526e4f 100644 --- a/controlloop/common/rules-test/src/test/java/org/onap/policy/controlloop/common/rules/test/NamedRunnerTest.java +++ b/controlloop/common/rules-test/src/test/java/org/onap/policy/controlloop/common/rules/test/NamedRunnerTest.java @@ -59,8 +59,13 @@ public class NamedRunnerTest { checkTest(); } + /* + * Note: this test is purposely marked with the "Ignore" annotation to verify that the + * NamedRunner skips over it, hence the sonar issue is being suppressed. + */ @Test @Ignore + @SuppressWarnings("java:S1607") public void testIgnore() { fail("should not run"); } -- cgit 1.2.3-korg