summaryrefslogtreecommitdiffstats
path: root/asdctool/src
diff options
context:
space:
mode:
Diffstat (limited to 'asdctool/src')
-rw-r--r--asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/config/ValidationConfigManager.java31
-rw-r--r--asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/config/ValidationConfigManagerTest.java17
2 files changed, 1 insertions, 47 deletions
diff --git a/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/config/ValidationConfigManager.java b/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/config/ValidationConfigManager.java
index 6db0a56da6..ea0bbf33a9 100644
--- a/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/config/ValidationConfigManager.java
+++ b/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/config/ValidationConfigManager.java
@@ -8,7 +8,7 @@
* 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
*
*
@@ -24,22 +24,8 @@
package org.openecomp.sdc.asdctool.impl.validator.config;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-import java.io.FileInputStream;
-import java.io.IOException;
-import java.io.InputStream;
-import java.util.Properties;
-
-/**
- * Created by chaya on 7/4/2017.
- */
public class ValidationConfigManager {
- private static Logger log = LoggerFactory.getLogger(ValidationConfigManager.class);
-
- private static Properties prop = new Properties();
private static String outputFullFilePath;
private static String outputFilePath;
@@ -69,19 +55,4 @@ public class ValidationConfigManager {
}
private static String csvReportFilePath = "summary.csv";
-
- public static Properties setValidationConfiguration(String path) {
- InputStream input;
- try {
- input = new FileInputStream(path);
- prop.load(input);
- } catch (IOException ex) {
- log.info("FileInputStream failed", ex);
- }
- return prop;
- }
-
- public static Properties getValidationConfiguration() {
- return prop;
- }
}
diff --git a/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/config/ValidationConfigManagerTest.java b/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/config/ValidationConfigManagerTest.java
index 4813cff764..efc7dd82a8 100644
--- a/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/config/ValidationConfigManagerTest.java
+++ b/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/config/ValidationConfigManagerTest.java
@@ -57,23 +57,6 @@ public class ValidationConfigManagerTest {
}
@Test
- public void testSetValidationConfiguration() {
- String path = "";
- Properties result;
-
- // default test
- result = ValidationConfigManager.setValidationConfiguration(path);
- }
-
- @Test
- public void testGetValidationConfiguration() {
- Properties result;
-
- // default test
- result = ValidationConfigManager.getValidationConfiguration();
- }
-
- @Test
public void testGetOutputFullFilePath() throws Exception {
String result;