diff options
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.java | 76 |
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); + } + } } |