diff options
author | Jim Hahn <jrh3@att.com> | 2018-02-13 09:19:43 -0500 |
---|---|---|
committer | Jim Hahn <jrh3@att.com> | 2018-02-13 19:21:55 -0500 |
commit | bf2cc29bf766feabca8ef633926f5fce00a5fe2e (patch) | |
tree | 6094d9294378fe7226a3ed7e287dc0381b067fcf /utils | |
parent | 86664073b5a778c56e831d64b3a1883818af0ffe (diff) |
Add test coverage to integrity-monitor
Removed "test" from package name.
Refactored tests, creating common IntegrityMonitorTestBase.
Turned log/print statements into assertEquals in StateTransitionTest.
Turned log/print statements into assertEquals in StateManagementTest.
Modified AllSeemsWellTest to use IntegrityMonitorTestBase.
Modified IntegrityMonitorTest to use IntegrityMonitorTestBase.
Added several hooks to IntegrityMonitor to control timers at a
finer granularity.
Added hooks to IntegrityMonitor to control the FPManager thread.
Remove hooks for refresh timer, as property suffices.
Added assertException() and assertNoException() methods to
IntegrityMonitorTestBase, and then replaced most "try/catch" blocks
with calls to those methods.
Updated StateManagement to close EntityManagers.
Modify pom to remove scope from utils dependency.
Fix some comments and remove an unneeded EntityTransaction variable.
Change-Id: Ic0789d26f985a40a35f618343fa4e88aa473b2b3
Issue-ID: POLICY-582
Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'utils')
0 files changed, 0 insertions, 0 deletions