diff options
author | Liam Fallon <liam.fallon@est.tech> | 2020-03-20 09:29:31 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-03-20 09:29:31 +0000 |
commit | 5fcf333ab55f5ccfa80985df590723e083403075 (patch) | |
tree | 816c90e8e6dea3f49792ef899ab56c526fefe49d /controlloop/common/rules-test | |
parent | 6b7d3064ebc4bd6e3dca5d60708e853d2a4836f2 (diff) | |
parent | 892203b62c51be6256dcb0240e7860ba7298d06d (diff) |
Merge "Last sonar fix for drools-apps"
Diffstat (limited to 'controlloop/common/rules-test')
-rw-r--r-- | controlloop/common/rules-test/pom.xml | 6 | ||||
-rw-r--r-- | controlloop/common/rules-test/src/test/java/org/onap/policy/controlloop/common/rules/test/NamedRunnerTest.java | 5 |
2 files changed, 5 insertions, 6 deletions
diff --git a/controlloop/common/rules-test/pom.xml b/controlloop/common/rules-test/pom.xml index ddd897c35..8b24f29a0 100644 --- a/controlloop/common/rules-test/pom.xml +++ b/controlloop/common/rules-test/pom.xml @@ -95,12 +95,6 @@ <version>${policy.models.version}</version> </dependency> <dependency> - <groupId>org.onap.policy.models.policy-models-interactions.model-impl</groupId> - <artifactId>events</artifactId> - <version>${policy.models.version}</version> - <scope>provided</scope> - </dependency> - <dependency> <groupId>org.onap.policy.drools-applications.controlloop.common</groupId> <artifactId>eventmanager</artifactId> <version>${project.version}</version> 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"); } |