X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=main%2Fsrc%2Ftest%2Fjava%2Forg%2Fonap%2Fpolicy%2Fpdpx%2Fmain%2Fstartstop%2FTestXacmlPdpActivator.java;h=cd4b78d934cbc789ab6a0d5c2883cdc797279d69;hb=535b68b4ea437547639a8f662766bcaa9c6fabe8;hp=7e7dee22f02895ffacf5e2e7c5bda4cec3077f5a;hpb=c646dd80d9d61d2311baa7cae924b203951ecc9a;p=policy%2Fxacml-pdp.git diff --git a/main/src/test/java/org/onap/policy/pdpx/main/startstop/TestXacmlPdpActivator.java b/main/src/test/java/org/onap/policy/pdpx/main/startstop/TestXacmlPdpActivator.java index 7e7dee22..cd4b78d9 100644 --- a/main/src/test/java/org/onap/policy/pdpx/main/startstop/TestXacmlPdpActivator.java +++ b/main/src/test/java/org/onap/policy/pdpx/main/startstop/TestXacmlPdpActivator.java @@ -26,12 +26,10 @@ import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertSame; import static org.junit.Assert.assertTrue; -import java.util.Properties; import org.junit.After; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; -import org.onap.policy.common.endpoints.utils.ParameterUtils; import org.onap.policy.pdpx.main.CommonRest; import org.onap.policy.pdpx.main.PolicyXacmlPdpException; import org.onap.policy.pdpx.main.parameters.CommonTestData; @@ -45,7 +43,6 @@ import org.onap.policy.pdpx.main.parameters.XacmlPdpParameterHandler; */ public class TestXacmlPdpActivator extends CommonRest { private static XacmlPdpParameterGroup parGroup; - private static Properties props; private XacmlPdpActivator activator = null; @@ -60,8 +57,6 @@ public class TestXacmlPdpActivator extends CommonRest { final XacmlPdpCommandLineArguments arguments = new XacmlPdpCommandLineArguments(xacmlPdpConfigParameters); parGroup = new XacmlPdpParameterHandler().getParameters(arguments); - props = ParameterUtils.getTopicProperties(parGroup.getTopicParameterGroup()); - // don't want the common "main" running CommonRest.stopMain(); } @@ -71,7 +66,7 @@ public class TestXacmlPdpActivator extends CommonRest { */ @Before public void setUp() { - activator = new XacmlPdpActivator(parGroup, props); + activator = new XacmlPdpActivator(parGroup); } @Test