aboutsummaryrefslogtreecommitdiffstats
path: root/utils-test/src/test/java/org/onap/policy/common/utils/test/ErrorsTesterTest.java
diff options
context:
space:
mode:
authormmis <michael.morris@ericsson.com>2018-03-15 10:59:51 +0000
committermmis <michael.morris@ericsson.com>2018-03-15 16:14:38 +0000
commitba8da400c5dff4dd18e06a978e3ebc4520bb1247 (patch)
tree9cde55720e1a2b73a64d217e38cb77862f10b300 /utils-test/src/test/java/org/onap/policy/common/utils/test/ErrorsTesterTest.java
parent02a86bddf5ccb93b6ef46b07b65079b90b97d034 (diff)
Removed checkstyle warnings
Removed checkstyle warnings in policy/common/utils-test Issue-ID: POLICY-695 Change-Id: I9962b2f815d2c116f77475944bc17ea1cb0af539 Signed-off-by: mmis <michael.morris@ericsson.com>
Diffstat (limited to 'utils-test/src/test/java/org/onap/policy/common/utils/test/ErrorsTesterTest.java')
-rw-r--r--utils-test/src/test/java/org/onap/policy/common/utils/test/ErrorsTesterTest.java76
1 files changed, 38 insertions, 38 deletions
diff --git a/utils-test/src/test/java/org/onap/policy/common/utils/test/ErrorsTesterTest.java b/utils-test/src/test/java/org/onap/policy/common/utils/test/ErrorsTesterTest.java
index 60aed22d..2009e297 100644
--- a/utils-test/src/test/java/org/onap/policy/common/utils/test/ErrorsTesterTest.java
+++ b/utils-test/src/test/java/org/onap/policy/common/utils/test/ErrorsTesterTest.java
@@ -26,52 +26,52 @@ import org.junit.Test;
public class ErrorsTesterTest {
- @Test
- public void test() {
- assertEquals(2, new ErrorsTester().testAllError(SimpleError.class));
- assertEquals(5, new ErrorsTester().testAllError(StaticError.class));
- }
+ @Test
+ public void test() {
+ assertEquals(2, new ErrorsTester().testAllError(SimpleError.class));
+ assertEquals(5, new ErrorsTester().testAllError(StaticError.class));
+ }
- /**
- * Used to test a simple success case.
- */
- public static class SimpleError extends Error {
- private static final long serialVersionUID = 1L;
+ /**
+ * Used to test a simple success case.
+ */
+ public static class SimpleError extends Error {
+ private static final long serialVersionUID = 1L;
- public SimpleError() {
- super();
- }
+ public SimpleError() {
+ super();
+ }
- public SimpleError(String message) {
- super(message);
- }
- }
+ public SimpleError(String message) {
+ super(message);
+ }
+ }
- /**
- * Used to test the exhaustive success case.
- */
- public static class StaticError extends Error {
- private static final long serialVersionUID = 1L;
+ /**
+ * Used to test the exhaustive success case.
+ */
+ public static class StaticError extends Error {
+ private static final long serialVersionUID = 1L;
- public StaticError() {
- super();
- }
+ public StaticError() {
+ super();
+ }
- public StaticError(String message) {
- super(message);
- }
+ public StaticError(String message) {
+ super(message);
+ }
- public StaticError(Throwable cause) {
- super(cause);
- }
+ public StaticError(Throwable cause) {
+ super(cause);
+ }
- public StaticError(String message, Throwable cause) {
- super(message, cause);
- }
+ public StaticError(String message, Throwable cause) {
+ super(message, cause);
+ }
- public StaticError(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
- super(message, cause, enableSuppression, writableStackTrace);
- }
- }
+ public StaticError(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
+ super(message, cause, enableSuppression, writableStackTrace);
+ }
+ }
}