Add junit coverage to drools-pdp 35/69635/3
authorJim Hahn <jrh3@att.com>
Mon, 1 Oct 2018 17:52:03 +0000 (13:52 -0400)
committerJim Hahn <jrh3@att.com>
Tue, 2 Oct 2018 12:57:59 +0000 (08:57 -0400)
commiteac53deaf9aec175e36f32bef30919392227f8e5
treeb15584516cac84cbe061377f9d9a9a07a224b87e
parenta0e0c7840f72392152a970d88a5a66d394c4a793
Add junit coverage to drools-pdp

Added coverage to distributed locking.
Added coverage to test-transaction - still more to do.
Added coverage to healthcheck - still more to do.
Also fixed "code smell" in pooling.
Also fixed "code smell" in session persistence.
Fixed typo in comment.
Removed unneeded setUp() method from test.
Fixed new checkstyle errors.
Fixed another new checkstyle error.

Change-Id: I0d2ab13fcbd64486af88affb02e114e624c6a3d1
Issue-ID: POLICY-1148
Signed-off-by: Jim Hahn <jrh3@att.com>
15 files changed:
feature-distributed-locking/pom.xml
feature-distributed-locking/src/main/java/org/onap/policy/distributed/locking/DistributedLockingFeature.java
feature-distributed-locking/src/test/java/org/onap/policy/distributed/locking/DistributedLockingFeatureTest.java [new file with mode: 0644]
feature-distributed-locking/src/test/java/org/onap/policy/distributed/locking/TargetLockTest.java
feature-healthcheck/pom.xml
feature-healthcheck/src/main/java/org/onap/policy/drools/healthcheck/HealthCheckFeature.java
feature-healthcheck/src/test/java/org/onap/policy/drools/healthcheck/HealthCheckFeatureTest.java
feature-healthcheck/src/test/java/org/onap/policy/drools/healthcheck/HealthCheckTest.java [new file with mode: 0644]
feature-pooling-dmaap/src/main/java/org/onap/policy/drools/pooling/PoolingManagerImpl.java
feature-pooling-dmaap/src/test/java/org/onap/policy/drools/pooling/PoolingFeatureTest.java
feature-session-persistence/src/main/java/org/onap/policy/drools/persistence/PersistenceFeature.java
feature-session-persistence/src/test/java/org/onap/policy/drools/persistence/DroolsSessionEntityTest.java
feature-test-transaction/pom.xml
feature-test-transaction/src/main/java/org/onap/policy/drools/testtransaction/TestTransactionFeature.java
feature-test-transaction/src/test/java/org/onap/policy/drools/testtransaction/TestTransactionFeatureTest.java [new file with mode: 0644]