From 8d0516fd693ae0224100b74a81d09e62cea8ba62 Mon Sep 17 00:00:00 2001 From: Taka Cho Date: Mon, 3 Aug 2020 19:49:45 -0400 Subject: Refactor BaseRuleTest for Drools apps 1, rename BaseRuleTest to BaseTest. 2, remove drools related code in BaseTest that would use for tdjam controller. 3, DroolsRuleTest extends BaseTest that would use for frankfurt controller for drools base. Issue-ID: POLICY-2750 Change-Id: Ica9637a850de6e929f09532f077ae3e997aa2045 Signed-off-by: Taka Cho --- .../src/test/java/org/onap/policy/controlloop/FrankfurtTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'controlloop/common/controller-frankfurt/src') diff --git a/controlloop/common/controller-frankfurt/src/test/java/org/onap/policy/controlloop/FrankfurtTest.java b/controlloop/common/controller-frankfurt/src/test/java/org/onap/policy/controlloop/FrankfurtTest.java index 7b8b99a25..fd9847b07 100644 --- a/controlloop/common/controller-frankfurt/src/test/java/org/onap/policy/controlloop/FrankfurtTest.java +++ b/controlloop/common/controller-frankfurt/src/test/java/org/onap/policy/controlloop/FrankfurtTest.java @@ -25,7 +25,7 @@ import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass; import org.junit.runner.RunWith; -import org.onap.policy.controlloop.common.rules.test.BaseRuleTest; +import org.onap.policy.controlloop.common.rules.test.DroolsRuleTest; import org.onap.policy.controlloop.common.rules.test.Listener; import org.onap.policy.controlloop.common.rules.test.NamedRunner; import org.onap.policy.controlloop.common.rules.test.TestNames; @@ -41,7 +41,7 @@ import org.onap.policy.simulators.Util; @RunWith(NamedRunner.class) @TestNames(prefixes = {"test"}) -public class FrankfurtTest extends BaseRuleTest { +public class FrankfurtTest extends DroolsRuleTest { protected static final String CONTROLLER_NAME = "frankfurt"; -- cgit 1.2.3-korg