diff options
author | Pooja03 <pm00501616@techmahindra.com> | 2019-03-20 19:39:58 +0530 |
---|---|---|
committer | Pooja Malik <PM00501616@techmahindra.com> | 2019-03-22 10:09:32 +0000 |
commit | 5e76fbd802ca4dcf48dac5c9a8f262470a326ef7 (patch) | |
tree | 0ce8b9549c76ac909c52d503dc0e16820fc09658 /UniversalVesAdapter/src/test/java/org/onap/universalvesadapter/exception | |
parent | 52f8f061b460c84d03e570958950a2e63a4f6461 (diff) |
Resolving warning reported in build - VES Mapper
Changes made to resolve warnings in the build.
Change-Id: I03dee6780941881afc65c4b907ade078febb5e39
Issue-ID: DCAEGEN2-604
Signed-off-by: Pooja03 <pm00501616@techmahindra.com>
Diffstat (limited to 'UniversalVesAdapter/src/test/java/org/onap/universalvesadapter/exception')
3 files changed, 113 insertions, 108 deletions
diff --git a/UniversalVesAdapter/src/test/java/org/onap/universalvesadapter/exception/ConfigFileSmooksConversionExceptionTest.java b/UniversalVesAdapter/src/test/java/org/onap/universalvesadapter/exception/ConfigFileSmooksConversionExceptionTest.java index ac60be1..ff30305 100644 --- a/UniversalVesAdapter/src/test/java/org/onap/universalvesadapter/exception/ConfigFileSmooksConversionExceptionTest.java +++ b/UniversalVesAdapter/src/test/java/org/onap/universalvesadapter/exception/ConfigFileSmooksConversionExceptionTest.java @@ -1,35 +1,37 @@ -/* -* ============LICENSE_START======================================================= -* ONAP : DCAE -* ================================================================================ -* Copyright 2018 TechMahindra -*================================================================================= -* 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. -* See the License for the specific language governing permissions and -* limitations under the License. -* ============LICENSE_END========================================================= -*/ -package org.onap.universalvesadapter.exception; - -import org.junit.Test; - -public class ConfigFileSmooksConversionExceptionTest { - - - @Test - public void test() { - ConfigFileSmooksConversionException se = new ConfigFileSmooksConversionException("message"); - ConfigFileSmooksConversionException se1 = new ConfigFileSmooksConversionException("message", se); - - - } - -} +/*-
+ * ============LICENSE_START=======================================================
+ * ONAP : DCAE
+ * ================================================================================
+ * Copyright 2018-2019 TechMahindra
+ * ================================================================================
+ * 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.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.universalvesadapter.exception;
+
+import org.junit.Test;
+
+public class ConfigFileSmooksConversionExceptionTest {
+
+
+ @Test
+ public void test() {
+ ConfigFileSmooksConversionException se = new ConfigFileSmooksConversionException("message");
+ ConfigFileSmooksConversionException se1 =
+ new ConfigFileSmooksConversionException("message", se);
+
+
+ }
+
+}
diff --git a/UniversalVesAdapter/src/test/java/org/onap/universalvesadapter/exception/DMaapExceptionTest.java b/UniversalVesAdapter/src/test/java/org/onap/universalvesadapter/exception/DMaapExceptionTest.java index 4da29de..0f24229 100644 --- a/UniversalVesAdapter/src/test/java/org/onap/universalvesadapter/exception/DMaapExceptionTest.java +++ b/UniversalVesAdapter/src/test/java/org/onap/universalvesadapter/exception/DMaapExceptionTest.java @@ -1,41 +1,43 @@ -/* -* ============LICENSE_START======================================================= -* ONAP : DCAE -* ================================================================================ -* Copyright 2018 TechMahindra -*================================================================================= -* 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. -* See the License for the specific language governing permissions and -* limitations under the License. -* ============LICENSE_END========================================================= -*/ -package org.onap.universalvesadapter.exception; - -import static org.junit.Assert.assertNotNull; -import org.junit.Test; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - -public class DMaapExceptionTest { - private static final Logger debugLogger = LoggerFactory.getLogger("debugLogger"); - - @Test - public void test() { - DMaapException se = new DMaapException("message"); - assertNotNull(se); - DMaapException se1 = new DMaapException("message", se); - assertNotNull(se1); - DMaapException se2 = new DMaapException("message", se.getCause()); - assertNotNull(se2); - DMaapException se3 = new DMaapException("message", debugLogger, se); - assertNotNull(se3); - } -} +/*-
+ * ============LICENSE_START=======================================================
+ * ONAP : DCAE
+ * ================================================================================
+ * Copyright 2018-2019 TechMahindra
+ * ================================================================================
+ * 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.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.universalvesadapter.exception;
+
+import static org.junit.Assert.assertNotNull;
+
+import org.junit.Test;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+public class DMaapExceptionTest {
+ private static final Logger debugLogger = LoggerFactory.getLogger("debugLogger");
+
+ @Test
+ public void test() {
+ DMaapException se = new DMaapException("message");
+ assertNotNull(se);
+ DMaapException se1 = new DMaapException("message", se);
+ assertNotNull(se1);
+ DMaapException se2 = new DMaapException("message", se.getCause());
+ assertNotNull(se2);
+ DMaapException se3 = new DMaapException("message", debugLogger, se);
+ assertNotNull(se3);
+ }
+}
diff --git a/UniversalVesAdapter/src/test/java/org/onap/universalvesadapter/exception/MapperConfigExceptionTest.java b/UniversalVesAdapter/src/test/java/org/onap/universalvesadapter/exception/MapperConfigExceptionTest.java index 19dfd87..966bf4a 100644 --- a/UniversalVesAdapter/src/test/java/org/onap/universalvesadapter/exception/MapperConfigExceptionTest.java +++ b/UniversalVesAdapter/src/test/java/org/onap/universalvesadapter/exception/MapperConfigExceptionTest.java @@ -1,32 +1,33 @@ -/* -* ============LICENSE_START======================================================= -* ONAP : DCAE -* ================================================================================ -* Copyright 2018 TechMahindra -*================================================================================= -* 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. -* See the License for the specific language governing permissions and -* limitations under the License. -* ============LICENSE_END========================================================= -*/ -package org.onap.universalvesadapter.exception; - -import org.junit.Test; - -public class MapperConfigExceptionTest { - - @Test - public void test() { - MapperConfigException se = new MapperConfigException("message"); - MapperConfigException se1 = new MapperConfigException("message", se); - } - -} +/*-
+ * ============LICENSE_START=======================================================
+ * ONAP : DCAE
+ * ================================================================================
+ * Copyright 2018-2019 TechMahindra
+ * ================================================================================
+ * 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.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.universalvesadapter.exception;
+
+import org.junit.Test;
+
+public class MapperConfigExceptionTest {
+
+ @Test
+ public void test() {
+ MapperConfigException se = new MapperConfigException("message");
+ MapperConfigException se1 = new MapperConfigException("message", se);
+ }
+
+}
|