diff options
author | Taka Cho <takamune.cho@att.com> | 2020-08-03 19:49:45 -0400 |
---|---|---|
committer | Taka Cho <takamune.cho@att.com> | 2020-08-11 08:27:58 -0400 |
commit | 8d0516fd693ae0224100b74a81d09e62cea8ba62 (patch) | |
tree | d3f6f8c9d100b2dbd3f596b913b17c96fd05947a /controlloop/common/controller-frankfurt | |
parent | 64851e7331f144d19ea62d65b73ce114ee321c6d (diff) |
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 <takamune.cho@att.com>
Diffstat (limited to 'controlloop/common/controller-frankfurt')
-rw-r--r-- | controlloop/common/controller-frankfurt/src/test/java/org/onap/policy/controlloop/FrankfurtTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
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"; |