diff options
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.java | 24 |
1 files changed, 12 insertions, 12 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 f3cb1eff..715d8f75 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 @@ -2,14 +2,14 @@ * ============LICENSE_START======================================================= * Integrity Monitor * ================================================================================ - * Copyright (C) 2018 AT&T Intellectual Property. All rights reserved. + * Copyright (C) 2018-2019 AT&T Intellectual Property. All rights reserved. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -32,47 +32,47 @@ import org.onap.policy.common.utils.test.ExceptionsTester; public class ExceptionsTest extends ExceptionsTester { @Test - public void testStateTransitionException() throws Exception { + public void testStateTransitionException() { assertEquals(4, test(StateTransitionException.class)); } @Test - public void testStateManagementException() throws Exception { + public void testStateManagementException() { assertEquals(4, test(StateManagementException.class)); } @Test - public void testStandbyStatusException() throws Exception { + public void testStandbyStatusException() { assertEquals(5, test(StandbyStatusException.class)); } @Test - public void testIntegrityMonitorPropertiesException() throws Exception { + public void testIntegrityMonitorPropertiesException() { assertEquals(4, test(IntegrityMonitorPropertiesException.class)); } @Test - public void testIntegrityMonitorException() throws Exception { + public void testIntegrityMonitorException() { assertEquals(5, test(IntegrityMonitorException.class)); } @Test - public void testForwardProgressException() throws Exception { + public void testForwardProgressException() { assertEquals(4, test(ForwardProgressException.class)); } @Test - public void testAllSeemsWellException() throws Exception { + public void testAllSeemsWellException() { assertEquals(4, test(AllSeemsWellException.class)); } @Test - public void testAdministrativeStateException() throws Exception { + public void testAdministrativeStateException() { assertEquals(4, test(AdministrativeStateException.class)); } @Test - public void testComponentAdminException() throws Exception { + public void testComponentAdminException() { assertEquals(4, test(ComponentAdminException.class)); } } |