From dfc9cdee69426b48d683e119dda9fae9154e6fde Mon Sep 17 00:00:00 2001 From: vasraz Date: Mon, 1 Mar 2021 20:58:10 +0000 Subject: Improve test coverage - remove unused code - use lombok Change-Id: I8c52584249347c7ca2102022457225401f95b9a5 Signed-off-by: Vasyl Razinkov Issue-ID: SDC-3490 --- .../java/org/openecomp/sdc/common/api/HealthCheckInfoTest.java | 7 ------- .../sdc/common/config/EcompErrorConfigurationTest.java | 10 +--------- .../common/config/generation/GenerateEcompErrorsCsvTest.java | 8 -------- 3 files changed, 1 insertion(+), 24 deletions(-) (limited to 'common-app-api/src/test/java') diff --git a/common-app-api/src/test/java/org/openecomp/sdc/common/api/HealthCheckInfoTest.java b/common-app-api/src/test/java/org/openecomp/sdc/common/api/HealthCheckInfoTest.java index 688a14082f..9e0757d4de 100644 --- a/common-app-api/src/test/java/org/openecomp/sdc/common/api/HealthCheckInfoTest.java +++ b/common-app-api/src/test/java/org/openecomp/sdc/common/api/HealthCheckInfoTest.java @@ -111,11 +111,4 @@ public class HealthCheckInfoTest { result = testSubject.toString(); } - @Test - public void testMain() throws Exception { - String[] args = new String[] { "" }; - - // default test - HealthCheckInfo.main(args); - } } diff --git a/common-app-api/src/test/java/org/openecomp/sdc/common/config/EcompErrorConfigurationTest.java b/common-app-api/src/test/java/org/openecomp/sdc/common/config/EcompErrorConfigurationTest.java index e2a9258ef2..5c7865e879 100644 --- a/common-app-api/src/test/java/org/openecomp/sdc/common/config/EcompErrorConfigurationTest.java +++ b/common-app-api/src/test/java/org/openecomp/sdc/common/config/EcompErrorConfigurationTest.java @@ -92,12 +92,4 @@ public class EcompErrorConfigurationTest { assertEquals(ecompErrorConfiguration.getErrors(), errors); } - @Test - public void testMain() throws Exception { - String[] args = new String[] {""}; - - // default test - EcompErrorConfiguration.main(args); - } - -} \ No newline at end of file +} diff --git a/common-app-api/src/test/java/org/openecomp/sdc/common/config/generation/GenerateEcompErrorsCsvTest.java b/common-app-api/src/test/java/org/openecomp/sdc/common/config/generation/GenerateEcompErrorsCsvTest.java index c56dc964f6..e9fe964dc1 100644 --- a/common-app-api/src/test/java/org/openecomp/sdc/common/config/generation/GenerateEcompErrorsCsvTest.java +++ b/common-app-api/src/test/java/org/openecomp/sdc/common/config/generation/GenerateEcompErrorsCsvTest.java @@ -41,12 +41,4 @@ public class GenerateEcompErrorsCsvTest { result = testSubject.generateEcompErrorsCsvFile(targetFolder, addTimeToFileName); } - - @Test - public void testMain() throws Exception { - String[] args = new String[] { "" }; - - // default test - GenerateEcompErrorsCsv.main(args); - } } -- cgit 1.2.3-korg