summaryrefslogtreecommitdiffstats
path: root/integrity-monitor/src/test/java/org/onap/policy/common/im/ExceptionsTest.java
diff options
context:
space:
mode:
authormmis <michael.morris@ericsson.com>2018-03-20 15:02:53 +0000
committermmis <michael.morris@ericsson.com>2018-03-20 15:09:50 +0000
commita00f4db1250355b756bd69c98465fdda3a4503ca (patch)
tree1bcf681ed62c18feb5bd6e97f1f893f748c4bd82 /integrity-monitor/src/test/java/org/onap/policy/common/im/ExceptionsTest.java
parentff1b759ff023dc9a940ab9de4333adcac82b9867 (diff)
Removed checkstyle warnings
Removed checkstyle warnings in policy/common/im Issue-ID: POLICY-695 Change-Id: I32b4797249386c0d1bd0f50792880a1759503a67 Signed-off-by: mmis <michael.morris@ericsson.com>
Diffstat (limited to 'integrity-monitor/src/test/java/org/onap/policy/common/im/ExceptionsTest.java')
-rw-r--r--integrity-monitor/src/test/java/org/onap/policy/common/im/ExceptionsTest.java80
1 files changed, 36 insertions, 44 deletions
diff --git a/integrity-monitor/src/test/java/org/onap/policy/common/im/ExceptionsTest.java b/integrity-monitor/src/test/java/org/onap/policy/common/im/ExceptionsTest.java
index 90de7c66..f3cb1eff 100644
--- a/integrity-monitor/src/test/java/org/onap/policy/common/im/ExceptionsTest.java
+++ b/integrity-monitor/src/test/java/org/onap/policy/common/im/ExceptionsTest.java
@@ -23,14 +23,6 @@ package org.onap.policy.common.im;
import static org.junit.Assert.assertEquals;
import org.junit.Test;
-import org.onap.policy.common.im.AdministrativeStateException;
-import org.onap.policy.common.im.AllSeemsWellException;
-import org.onap.policy.common.im.ForwardProgressException;
-import org.onap.policy.common.im.IntegrityMonitorException;
-import org.onap.policy.common.im.IntegrityMonitorPropertiesException;
-import org.onap.policy.common.im.StandbyStatusException;
-import org.onap.policy.common.im.StateManagementException;
-import org.onap.policy.common.im.StateTransitionException;
import org.onap.policy.common.im.jmx.ComponentAdminException;
import org.onap.policy.common.utils.test.ExceptionsTester;
@@ -39,48 +31,48 @@ import org.onap.policy.common.utils.test.ExceptionsTester;
*/
public class ExceptionsTest extends ExceptionsTester {
- @Test
- public void testStateTransitionException() throws Exception {
- assertEquals(4, test(StateTransitionException.class));
- }
+ @Test
+ public void testStateTransitionException() throws Exception {
+ assertEquals(4, test(StateTransitionException.class));
+ }
- @Test
- public void testStateManagementException() throws Exception {
- assertEquals(4, test(StateManagementException.class));
- }
+ @Test
+ public void testStateManagementException() throws Exception {
+ assertEquals(4, test(StateManagementException.class));
+ }
- @Test
- public void testStandbyStatusException() throws Exception {
- assertEquals(5, test(StandbyStatusException.class));
- }
+ @Test
+ public void testStandbyStatusException() throws Exception {
+ assertEquals(5, test(StandbyStatusException.class));
+ }
- @Test
- public void testIntegrityMonitorPropertiesException() throws Exception {
- assertEquals(4, test(IntegrityMonitorPropertiesException.class));
- }
+ @Test
+ public void testIntegrityMonitorPropertiesException() throws Exception {
+ assertEquals(4, test(IntegrityMonitorPropertiesException.class));
+ }
- @Test
- public void testIntegrityMonitorException() throws Exception {
- assertEquals(5, test(IntegrityMonitorException.class));
- }
+ @Test
+ public void testIntegrityMonitorException() throws Exception {
+ assertEquals(5, test(IntegrityMonitorException.class));
+ }
- @Test
- public void testForwardProgressException() throws Exception {
- assertEquals(4, test(ForwardProgressException.class));
- }
+ @Test
+ public void testForwardProgressException() throws Exception {
+ assertEquals(4, test(ForwardProgressException.class));
+ }
- @Test
- public void testAllSeemsWellException() throws Exception {
- assertEquals(4, test(AllSeemsWellException.class));
- }
+ @Test
+ public void testAllSeemsWellException() throws Exception {
+ assertEquals(4, test(AllSeemsWellException.class));
+ }
- @Test
- public void testAdministrativeStateException() throws Exception {
- assertEquals(4, test(AdministrativeStateException.class));
- }
+ @Test
+ public void testAdministrativeStateException() throws Exception {
+ assertEquals(4, test(AdministrativeStateException.class));
+ }
- @Test
- public void testComponentAdminException() throws Exception {
- assertEquals(4, test(ComponentAdminException.class));
- }
+ @Test
+ public void testComponentAdminException() throws Exception {
+ assertEquals(4, test(ComponentAdminException.class));
+ }
}