diff options
author | vasraz <vasyl.razinkov@est.tech> | 2021-03-01 20:58:10 +0000 |
---|---|---|
committer | Vasyl Razinkov <vasyl.razinkov@est.tech> | 2021-03-01 21:00:16 +0000 |
commit | dfc9cdee69426b48d683e119dda9fae9154e6fde (patch) | |
tree | 70e81d301bcc21b1d604b9f301176c9677dcb33d /common-app-api/src/test/java | |
parent | 97d15f764138e0d49963f168d339fc1637cc5376 (diff) |
Improve test coverage
- remove unused code
- use lombok
Change-Id: I8c52584249347c7ca2102022457225401f95b9a5
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-3490
Diffstat (limited to 'common-app-api/src/test/java')
3 files changed, 1 insertions, 24 deletions
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); - } } |