From 2d381afcd78b61d8791ace22b676e88271b3bdce Mon Sep 17 00:00:00 2001 From: Pamela Dragosh Date: Mon, 13 Aug 2018 14:39:43 -0400 Subject: Fix checkstyle in utils Cleared all the checkstyle in these 2 submodules. Issue-ID: POLICY-881 Change-Id: I248e1894aebf549d5a4f8669a6466ec227d40b55 Signed-off-by: Pamela Dragosh --- .../exception/BasicPropertyExceptionTester.java | 1 + .../exception/PropertyAccessExceptionTest.java | 18 +++++++++++++----- .../exception/PropertyAnnotationExceptionTest.java | 14 +++++++++----- .../properties/exception/PropertyExceptionTest.java | 14 +++++++++----- .../exception/PropertyInvalidExceptionTest.java | 14 +++++++++----- .../exception/PropertyMissingExceptionTest.java | 5 +++-- 6 files changed, 44 insertions(+), 22 deletions(-) (limited to 'utils/src/test/java/org/onap/policy/common/utils/properties/exception') diff --git a/utils/src/test/java/org/onap/policy/common/utils/properties/exception/BasicPropertyExceptionTester.java b/utils/src/test/java/org/onap/policy/common/utils/properties/exception/BasicPropertyExceptionTester.java index 1e5fcfcd..c972e648 100644 --- a/utils/src/test/java/org/onap/policy/common/utils/properties/exception/BasicPropertyExceptionTester.java +++ b/utils/src/test/java/org/onap/policy/common/utils/properties/exception/BasicPropertyExceptionTester.java @@ -23,6 +23,7 @@ package org.onap.policy.common.utils.properties.exception; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertThat; + import org.hamcrest.CoreMatchers; /** diff --git a/utils/src/test/java/org/onap/policy/common/utils/properties/exception/PropertyAccessExceptionTest.java b/utils/src/test/java/org/onap/policy/common/utils/properties/exception/PropertyAccessExceptionTest.java index 304df9df..57581d9e 100644 --- a/utils/src/test/java/org/onap/policy/common/utils/properties/exception/PropertyAccessExceptionTest.java +++ b/utils/src/test/java/org/onap/policy/common/utils/properties/exception/PropertyAccessExceptionTest.java @@ -23,12 +23,14 @@ package org.onap.policy.common.utils.properties.exception; import org.junit.Test; /** - * + * Test class for PropertyAccessException. */ public class PropertyAccessExceptionTest extends BasicPropertyExceptionTester { /** - * Test method for {@link org.onap.policy.common.utils.properties.exception.PropertyAccessException#PropertyAccessException(java.lang.String, java.lang.String)}. + * Test method for + * {@link org.onap.policy.common.utils.properties.exception.PropertyAccessException#PropertyAccessException + * (java.lang.String, java.lang.String)}. */ @Test public void testPropertyAccessExceptionStringField() { @@ -39,7 +41,9 @@ public class PropertyAccessExceptionTest extends BasicPropertyExceptionTester { } /** - * Test method for {@link org.onap.policy.common.utils.properties.exception.PropertyAccessException#PropertyAccessException(java.lang.String, java.lang.String, java.lang.String)}. + * Test method for + * {@link org.onap.policy.common.utils.properties.exception.PropertyAccessException#PropertyAccessException + * (java.lang.String, java.lang.String, java.lang.String)}. */ @Test public void testPropertyAccessExceptionStringFieldString() { @@ -47,7 +51,9 @@ public class PropertyAccessExceptionTest extends BasicPropertyExceptionTester { } /** - * Test method for {@link org.onap.policy.common.utils.properties.exception.PropertyAccessException#PropertyAccessException(java.lang.String, java.lang.String, java.lang.Throwable)}. + * Test method for + * {@link org.onap.policy.common.utils.properties.exception.PropertyAccessException#PropertyAccessException + * (java.lang.String, java.lang.String, java.lang.Throwable)}. */ @Test public void testPropertyAccessExceptionStringFieldThrowable() { @@ -55,7 +61,9 @@ public class PropertyAccessExceptionTest extends BasicPropertyExceptionTester { } /** - * Test method for {@link org.onap.policy.common.utils.properties.exception.PropertyAccessException#PropertyAccessException(java.lang.String, java.lang.String, java.lang.String, java.lang.Throwable)}. + * Test method for + * {@link org.onap.policy.common.utils.properties.exception.PropertyAccessException#PropertyAccessException + * (java.lang.String, java.lang.String, java.lang.String, java.lang.Throwable)}. */ @Test public void testPropertyAccessExceptionStringFieldStringThrowable() { diff --git a/utils/src/test/java/org/onap/policy/common/utils/properties/exception/PropertyAnnotationExceptionTest.java b/utils/src/test/java/org/onap/policy/common/utils/properties/exception/PropertyAnnotationExceptionTest.java index 2c033084..934ca026 100644 --- a/utils/src/test/java/org/onap/policy/common/utils/properties/exception/PropertyAnnotationExceptionTest.java +++ b/utils/src/test/java/org/onap/policy/common/utils/properties/exception/PropertyAnnotationExceptionTest.java @@ -23,13 +23,14 @@ package org.onap.policy.common.utils.properties.exception; import org.junit.Test; /** - * + * Test class for PropertyAnnotationException. */ public class PropertyAnnotationExceptionTest extends BasicPropertyExceptionTester { /** * Test method for - * {@link org.onap.policy.common.utils.properties.exception.PropertyException#PropertyException(java.lang.String, java.lang.String)}. + * {@link org.onap.policy.common.utils.properties.exception.PropertyException#PropertyException + * (java.lang.String, java.lang.String)}. */ @Test public void testPropertyExceptionStringField() { @@ -41,7 +42,8 @@ public class PropertyAnnotationExceptionTest extends BasicPropertyExceptionTeste /** * Test method for - * {@link org.onap.policy.common.utils.properties.exception.PropertyException#PropertyException(java.lang.String, java.lang.String, java.lang.String)}. + * {@link org.onap.policy.common.utils.properties.exception.PropertyException#PropertyException + * (java.lang.String, java.lang.String, java.lang.String)}. */ @Test public void testPropertyExceptionStringFieldString() { @@ -50,7 +52,8 @@ public class PropertyAnnotationExceptionTest extends BasicPropertyExceptionTeste /** * Test method for - * {@link org.onap.policy.common.utils.properties.exception.PropertyException#PropertyException(java.lang.String, java.lang.String, java.lang.Throwable)}. + * {@link org.onap.policy.common.utils.properties.exception.PropertyException#PropertyException + * (java.lang.String, java.lang.String, java.lang.Throwable)}. */ @Test public void testPropertyExceptionStringFieldThrowable() { @@ -59,7 +62,8 @@ public class PropertyAnnotationExceptionTest extends BasicPropertyExceptionTeste /** * Test method for - * {@link org.onap.policy.common.utils.properties.exception.PropertyException#PropertyException(java.lang.String, java.lang.String, java.lang.String, java.lang.Throwable)}. + * {@link org.onap.policy.common.utils.properties.exception.PropertyException#PropertyException + * (java.lang.String, java.lang.String, java.lang.String, java.lang.Throwable)}. */ @Test public void testPropertyExceptionStringFieldStringThrowable() { diff --git a/utils/src/test/java/org/onap/policy/common/utils/properties/exception/PropertyExceptionTest.java b/utils/src/test/java/org/onap/policy/common/utils/properties/exception/PropertyExceptionTest.java index 18186ba2..a0d4645f 100644 --- a/utils/src/test/java/org/onap/policy/common/utils/properties/exception/PropertyExceptionTest.java +++ b/utils/src/test/java/org/onap/policy/common/utils/properties/exception/PropertyExceptionTest.java @@ -23,13 +23,14 @@ package org.onap.policy.common.utils.properties.exception; import org.junit.Test; /** - * + * Test class for PropertyException. */ public class PropertyExceptionTest extends BasicPropertyExceptionTester { /** * Test method for - * {@link org.onap.policy.common.utils.properties.exception.PropertyException#PropertyException(java.lang.String, java.lang.String)}. + * {@link org.onap.policy.common.utils.properties.exception.PropertyException#PropertyException + * (java.lang.String, java.lang.String)}. */ @Test public void testPropertyExceptionStringField() { @@ -41,7 +42,8 @@ public class PropertyExceptionTest extends BasicPropertyExceptionTester { /** * Test method for - * {@link org.onap.policy.common.utils.properties.exception.PropertyException#PropertyException(java.lang.String, java.lang.String, java.lang.String)}. + * {@link org.onap.policy.common.utils.properties.exception.PropertyException#PropertyException + * (java.lang.String, java.lang.String, java.lang.String)}. */ @Test public void testPropertyExceptionStringFieldString() { @@ -50,7 +52,8 @@ public class PropertyExceptionTest extends BasicPropertyExceptionTester { /** * Test method for - * {@link org.onap.policy.common.utils.properties.exception.PropertyException#PropertyException(java.lang.String, java.lang.String, java.lang.Throwable)}. + * {@link org.onap.policy.common.utils.properties.exception.PropertyException#PropertyException + * (java.lang.String, java.lang.String, java.lang.Throwable)}. */ @Test public void testPropertyExceptionStringFieldThrowable() { @@ -59,7 +62,8 @@ public class PropertyExceptionTest extends BasicPropertyExceptionTester { /** * Test method for - * {@link org.onap.policy.common.utils.properties.exception.PropertyException#PropertyException(java.lang.String, java.lang.String, java.lang.String, java.lang.Throwable)}. + * {@link org.onap.policy.common.utils.properties.exception.PropertyException#PropertyException + * (java.lang.String, java.lang.String, java.lang.String, java.lang.Throwable)}. */ @Test public void testPropertyExceptionStringFieldStringThrowable() { diff --git a/utils/src/test/java/org/onap/policy/common/utils/properties/exception/PropertyInvalidExceptionTest.java b/utils/src/test/java/org/onap/policy/common/utils/properties/exception/PropertyInvalidExceptionTest.java index f83b7ed3..ce7be108 100644 --- a/utils/src/test/java/org/onap/policy/common/utils/properties/exception/PropertyInvalidExceptionTest.java +++ b/utils/src/test/java/org/onap/policy/common/utils/properties/exception/PropertyInvalidExceptionTest.java @@ -23,13 +23,14 @@ package org.onap.policy.common.utils.properties.exception; import org.junit.Test; /** - * + * Test class for PropertyInvalidException. */ public class PropertyInvalidExceptionTest extends BasicPropertyExceptionTester { /** * Test method for - * {@link org.onap.policy.common.utils.properties.exception.PropertyException#PropertyException(java.lang.String, java.lang.String)}. + * {@link org.onap.policy.common.utils.properties.exception.PropertyException#PropertyException + * (java.lang.String, java.lang.String)}. */ @Test public void testPropertyExceptionStringField() { @@ -41,7 +42,8 @@ public class PropertyInvalidExceptionTest extends BasicPropertyExceptionTester { /** * Test method for - * {@link org.onap.policy.common.utils.properties.exception.PropertyException#PropertyException(java.lang.String, java.lang.String, java.lang.String)}. + * {@link org.onap.policy.common.utils.properties.exception.PropertyException#PropertyException + * (java.lang.String, java.lang.String, java.lang.String)}. */ @Test public void testPropertyExceptionStringFieldString() { @@ -50,7 +52,8 @@ public class PropertyInvalidExceptionTest extends BasicPropertyExceptionTester { /** * Test method for - * {@link org.onap.policy.common.utils.properties.exception.PropertyException#PropertyException(java.lang.String, java.lang.String, java.lang.Throwable)}. + * {@link org.onap.policy.common.utils.properties.exception.PropertyException#PropertyException + * (java.lang.String, java.lang.String, java.lang.Throwable)}. */ @Test public void testPropertyExceptionStringFieldThrowable() { @@ -59,7 +62,8 @@ public class PropertyInvalidExceptionTest extends BasicPropertyExceptionTester { /** * Test method for - * {@link org.onap.policy.common.utils.properties.exception.PropertyException#PropertyException(java.lang.String, java.lang.String, java.lang.String, java.lang.Throwable)}. + * {@link org.onap.policy.common.utils.properties.exception.PropertyException#PropertyException + * (java.lang.String, java.lang.String, java.lang.String, java.lang.Throwable)}. */ @Test public void testPropertyExceptionStringFieldStringThrowable() { diff --git a/utils/src/test/java/org/onap/policy/common/utils/properties/exception/PropertyMissingExceptionTest.java b/utils/src/test/java/org/onap/policy/common/utils/properties/exception/PropertyMissingExceptionTest.java index f99ddd93..320a0c23 100644 --- a/utils/src/test/java/org/onap/policy/common/utils/properties/exception/PropertyMissingExceptionTest.java +++ b/utils/src/test/java/org/onap/policy/common/utils/properties/exception/PropertyMissingExceptionTest.java @@ -23,13 +23,14 @@ package org.onap.policy.common.utils.properties.exception; import org.junit.Test; /** - * + * Test class for PropertyMissingException. */ public class PropertyMissingExceptionTest extends BasicPropertyExceptionTester { /** * Test method for - * {@link org.onap.policy.common.utils.properties.exception.PropertyException#PropertyException(java.lang.String, java.lang.String)}. + * {@link org.onap.policy.common.utils.properties.exception.PropertyException#PropertyException + * (java.lang.String, java.lang.String)}. */ @Test public void testPropertyExceptionStringField() { -- cgit 1.2.3-korg