diff options
author | Jim Hahn <jrh3@att.com> | 2021-08-05 14:53:19 -0400 |
---|---|---|
committer | Jim Hahn <jrh3@att.com> | 2021-08-05 15:25:14 -0400 |
commit | da1b7d9f04453e94fb77ebe4213f456a0be63fc2 (patch) | |
tree | e59daec0050c7ce88c07f1d7f97168aa849128a7 /policy-core/src/test/java | |
parent | 1744dac574fb771301027be74c9257eb070125f7 (diff) |
Use lombok in drools-pdp #2
Updated feature-session-persistence thru drools-domains.
Issue-ID: POLICY-3397
Change-Id: I0b1c6da8b2301c00dd792675e8cf1f49888edb9f
Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'policy-core/src/test/java')
-rw-r--r-- | policy-core/src/test/java/org/onap/policy/drools/core/DroolsContainerTest.java | 8 | ||||
-rw-r--r-- | policy-core/src/test/java/org/onap/policy/drools/core/PolicySessionTest.java | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/policy-core/src/test/java/org/onap/policy/drools/core/DroolsContainerTest.java b/policy-core/src/test/java/org/onap/policy/drools/core/DroolsContainerTest.java index 9fe5c708..81ca3407 100644 --- a/policy-core/src/test/java/org/onap/policy/drools/core/DroolsContainerTest.java +++ b/policy-core/src/test/java/org/onap/policy/drools/core/DroolsContainerTest.java @@ -2,7 +2,7 @@ * ============LICENSE_START======================================================= * policy-core * ================================================================================ - * Copyright (C) 2017-2020 AT&T Intellectual Property. All rights reserved. + * Copyright (C) 2017-2021 AT&T Intellectual Property. All rights reserved. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -128,7 +128,7 @@ public class DroolsContainerTest { } // verify session attributes - assertEquals(container, session.getPolicyContainer()); + assertEquals(container, session.getContainer()); assertEquals("session1", session.getName()); assertEquals("org.onap.policy.drools-pdp:drools-artifact1:17.1.0-SNAPSHOT:session1", session.getFullName()); @@ -158,7 +158,7 @@ public class DroolsContainerTest { assertEquals("17.2.0-SNAPSHOT", container.getVersion()); // verify new session attributes - assertEquals(container, session.getPolicyContainer()); + assertEquals(container, session.getContainer()); assertEquals("session1", session.getName()); assertEquals("org.onap.policy.drools-pdp:drools-artifact1:17.2.0-SNAPSHOT:session1", session.getFullName()); @@ -290,7 +290,7 @@ public class DroolsContainerTest { } // verify session attributes - assertEquals(container, session.getPolicyContainer()); + assertEquals(container, session.getContainer()); assertEquals("session1", session.getName()); assertEquals("org.onap.policy.drools-pdp:drools-artifact1:17.1.0-SNAPSHOT:session1", session.getFullName()); diff --git a/policy-core/src/test/java/org/onap/policy/drools/core/PolicySessionTest.java b/policy-core/src/test/java/org/onap/policy/drools/core/PolicySessionTest.java index 3b882195..e937bb30 100644 --- a/policy-core/src/test/java/org/onap/policy/drools/core/PolicySessionTest.java +++ b/policy-core/src/test/java/org/onap/policy/drools/core/PolicySessionTest.java @@ -2,7 +2,7 @@ * ============LICENSE_START======================================================= * ONAP * ================================================================================ - * Copyright (C) 2018, 2020 AT&T Intellectual Property. All rights reserved. + * Copyright (C) 2018, 2020-2021 AT&T Intellectual Property. All rights reserved. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -69,7 +69,7 @@ public class PolicySessionTest { verify(kie).addEventListener(rule); // test other simple methods - assertEquals(container, session.getPolicyContainer()); + assertEquals(container, session.getContainer()); assertEquals(kie, session.getKieSession()); assertEquals(MY_NAME, session.getName()); assertEquals(CONTAINER + ":" + MY_NAME, session.getFullName()); |