Add ONAP-XACML StdEngine tests 28/98628/5
authorPamela Dragosh <pdragosh@research.att.com>
Tue, 19 Nov 2019 19:54:11 +0000 (14:54 -0500)
committerPamela Dragosh <pdragosh@research.att.com>
Wed, 20 Nov 2019 19:12:46 +0000 (14:12 -0500)
commiteda0ad937fc69dbf53a615f420c11eb352c9cbe7
tree9cf14cc0ae57389d9c10961b1cfa381510e0f0ae
parent89ef1958121b877e990ff8755f9087cd306d4b4c
Add ONAP-XACML StdEngine tests

Re-worked some JUnits to ensure they really are testing correctly.

added coverage to the factory and std engine for easy exception
conditions.

Issue-ID: POLICY-2242
Change-Id: Iff6a390bff871fea2836336b77567f4a35720dfd
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
ONAP-XACML/src/main/java/org/onap/policy/xacml/std/pap/StdEngine.java
ONAP-XACML/src/test/java/org/onap/policy/xacml/api/pap/ONAPPapEngineFactoryTest.java [new file with mode: 0644]
ONAP-XACML/src/test/java/org/onap/policy/xacml/test/std/pap/StdEngineFactoryTest.java
ONAP-XACML/src/test/java/org/onap/policy/xacml/test/std/pap/StdEngineTest.java