From 629e0bb9435f2fae4f7899beee5679fed0650973 Mon Sep 17 00:00:00 2001 From: Rama-Huawei Date: Mon, 5 Aug 2019 10:29:22 +0530 Subject: Unit test Improved 100% code coverage for ApplicationConfiguration file Issue-ID: DCAEGEN2-1468 Signed-off-by: Rama-Huawei Change-Id: Ib2d807273b6a25139b4844d868c7082fb4ac9623 --- .../onap/datalake/feeder/config/ApplicationConfigurationTest.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/components/datalake-handler/feeder/src/test/java/org/onap/datalake/feeder/config/ApplicationConfigurationTest.java b/components/datalake-handler/feeder/src/test/java/org/onap/datalake/feeder/config/ApplicationConfigurationTest.java index 28877c09..6517c3f5 100644 --- a/components/datalake-handler/feeder/src/test/java/org/onap/datalake/feeder/config/ApplicationConfigurationTest.java +++ b/components/datalake-handler/feeder/src/test/java/org/onap/datalake/feeder/config/ApplicationConfigurationTest.java @@ -65,6 +65,12 @@ public class ApplicationConfigurationTest { assertTrue(config.getHdfsBatchSize()>0); assertTrue(config.getHdfsBufferSize()>0); assertTrue(config.getHdfsFlushInterval()>0); + + assertNull(config.getKibanaDashboardImportApi()); + assertNull(config.getKibanaPort()); + assertNull(config.getEsTemplateMappingApi()); + assertNull(config.getEsPort()); + assertTrue(config.getCheckTopicInterval()==0); } } -- cgit 1.2.3-korg