diff options
Diffstat (limited to 'sparkybe-onap-service/src/test/java/org/onap/aai/sparky/search/filters/config/UiFilterDataSourceConfigTest.java')
-rw-r--r-- | sparkybe-onap-service/src/test/java/org/onap/aai/sparky/search/filters/config/UiFilterDataSourceConfigTest.java | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/sparkybe-onap-service/src/test/java/org/onap/aai/sparky/search/filters/config/UiFilterDataSourceConfigTest.java b/sparkybe-onap-service/src/test/java/org/onap/aai/sparky/search/filters/config/UiFilterDataSourceConfigTest.java new file mode 100644 index 0000000..e4402cf --- /dev/null +++ b/sparkybe-onap-service/src/test/java/org/onap/aai/sparky/search/filters/config/UiFilterDataSourceConfigTest.java @@ -0,0 +1,44 @@ +package org.onap.aai.sparky.search.filters.config; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotNull; +import static org.junit.Assert.assertNull; +import static org.junit.Assert.assertTrue; + +import java.util.ArrayList; + +import org.junit.Before; +import org.junit.Test; +import org.onap.aai.sparky.viewandinspect.config.VisualizationConfigs; + +public class UiFilterDataSourceConfigTest { + + private UiFilterDataSourceConfig uiFiltersDataSourceConfig; + private UiFilterDataSourceConfig uiFiltersDataSourceConfigs; + + + @Before + public void init() throws Exception { + + uiFiltersDataSourceConfig = new UiFilterDataSourceConfig(); + uiFiltersDataSourceConfigs = new UiFilterDataSourceConfig("","","",""); + + + + } + + + @Test + public void updateValues() { + + uiFiltersDataSourceConfig.setIndexName(""); + assertNotNull(uiFiltersDataSourceConfig.getIndexName()); + uiFiltersDataSourceConfig.setDocType(""); + assertNotNull(uiFiltersDataSourceConfig.getDocType()); + uiFiltersDataSourceConfig.setFieldName(""); + assertNotNull(uiFiltersDataSourceConfig.getFieldName()); + uiFiltersDataSourceConfig.setPathToField(""); + assertNotNull(uiFiltersDataSourceConfig.getPathToField()); + assertNotNull(uiFiltersDataSourceConfig.toString()); + } +} |