aboutsummaryrefslogtreecommitdiffstats
path: root/integrity-monitor/src/test/java/org/onap/policy/common/im/test/IntegrityMonitorTest.java
diff options
context:
space:
mode:
authorKevin McKiou <km097d@att.com>2017-08-23 15:25:39 -0500
committerKevin McKiou <km097d@att.com>2017-08-24 17:18:45 -0500
commit9f03caaf407408e5824217885090cc2939997f78 (patch)
tree2552f1b42a6a68c251025cb5b71588c6a7d88a2b /integrity-monitor/src/test/java/org/onap/policy/common/im/test/IntegrityMonitorTest.java
parent6b20e15005866454f5cb8d528de0d03aa75f52e7 (diff)
Tweak Common Module JUnits
Patch 1: Tweaks Integrity-Audit JUnits to allow at least some estimate of code coverage. It was not possible to enable all the tests as there are threading issues when run in the JUnit environment. Consequently, this is about 2/3 of the actual code coverage. The estimate coverage is about 46% Patch 2: Changes a persistence unit in DBDAOTest. Patch 3: Adds tweaks to IntegrityMonitor JUnits. The estimated state management code coverage is 70%. Patch 4: Removed an IntegrityAudit test that failed which reduced the estimated coverage to 45% Issue-ID: POLICY-108 Change-Id: I693e56083c3ed66e020e82d5ac906ce29224bd58 Signed-off-by: Kevin McKiou <km097d@att.com>
Diffstat (limited to 'integrity-monitor/src/test/java/org/onap/policy/common/im/test/IntegrityMonitorTest.java')
-rw-r--r--integrity-monitor/src/test/java/org/onap/policy/common/im/test/IntegrityMonitorTest.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/integrity-monitor/src/test/java/org/onap/policy/common/im/test/IntegrityMonitorTest.java b/integrity-monitor/src/test/java/org/onap/policy/common/im/test/IntegrityMonitorTest.java
index b914bb04..8a59a265 100644
--- a/integrity-monitor/src/test/java/org/onap/policy/common/im/test/IntegrityMonitorTest.java
+++ b/integrity-monitor/src/test/java/org/onap/policy/common/im/test/IntegrityMonitorTest.java
@@ -115,16 +115,16 @@ public class IntegrityMonitorTest {
* the tests to execute individually, you cannot predict the order and some
* conflicts occur.
*/
- @Ignore
+ //@Ignore
@Test
public void runAllTests() throws Exception{
- //testSanityJmx();
- //testIM();
+ testSanityJmx();
+ testIM();
//testSanityState();
- testRefreshStateAudit();
- //testStateCheck();
+ //testRefreshStateAudit();
+ testStateCheck();
//testGetAllForwardProgressEntity();
- //testStateAudit();
+ testStateAudit();
}
/*