aboutsummaryrefslogtreecommitdiffstats
path: root/asdctool/src/test
diff options
context:
space:
mode:
authorPiotr Krysiak <piotr.krysiak@nokia.com>2018-07-19 09:07:10 +0200
committerTal Gitelman <tg851x@intl.att.com>2018-08-06 10:19:04 +0000
commit04ff1b844c58f9f53558ff70594bf52ef6fba6ae (patch)
treef79b0037f37b5c2e7f2bfdf153d69f5c8b99fae9 /asdctool/src/test
parentc63a3402b0054642bfe07465278dc80246b0321b (diff)
ASDC dead code removal
Issue-ID: SDC-1493 Change-Id: I74c1748eb2b1f478a0e44b07c174f95964fed667 Signed-off-by: Piotr Krysiak <piotr.krysiak@nokia.com>
Diffstat (limited to 'asdctool/src/test')
-rw-r--r--asdctool/src/test/java/org/openecomp/sdc/asdctool/UtilsTest.java4
-rw-r--r--asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/GraphMLConverterTest.java19
-rw-r--r--asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/config/ValidationToolConfigurationTest.java36
3 files changed, 0 insertions, 59 deletions
diff --git a/asdctool/src/test/java/org/openecomp/sdc/asdctool/UtilsTest.java b/asdctool/src/test/java/org/openecomp/sdc/asdctool/UtilsTest.java
index 020696c42d..8a9b1357ea 100644
--- a/asdctool/src/test/java/org/openecomp/sdc/asdctool/UtilsTest.java
+++ b/asdctool/src/test/java/org/openecomp/sdc/asdctool/UtilsTest.java
@@ -12,10 +12,6 @@ import java.util.Map;
public class UtilsTest {
- /*
- * private Utils createTestSubject() { return new Utils(); }
- */
-
@Test
public void testBuildOkResponse() throws Exception {
int status = 0;
diff --git a/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/GraphMLConverterTest.java b/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/GraphMLConverterTest.java
index fb003e8012..5ade4faef8 100644
--- a/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/GraphMLConverterTest.java
+++ b/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/GraphMLConverterTest.java
@@ -14,18 +14,6 @@ public class GraphMLConverterTest {
return new GraphMLConverter();
}
- /*@Before
- public void createGraphTestSubject() {
- converter = new GraphMLConverter();
- openGraph = converter.openGraph("src/main/resources/config/titan.properties");
- }*/
-
- /*@After
- public void destroyGraphTestSubject() {
- converter = new GraphMLConverter();
- converter.clearGraph(openGraph);
- }*/
-
@Test
public void testImportGraph() throws Exception {
GraphMLConverter testSubject;
@@ -130,13 +118,6 @@ public class GraphMLConverterTest {
result = testSubject.findErrorInJsonGraph(graph, outputDirectory);
}
- @Test
- public void testClearGraph() throws Exception {
- TitanGraph graph = null;
-
- // default test
- //GraphMLConverter.clearGraph("src/main/resources/config/titan.properties");
- }
@Test(expected=NullPointerException.class)
public void testExportUsers() throws Exception {
diff --git a/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/config/ValidationToolConfigurationTest.java b/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/config/ValidationToolConfigurationTest.java
index ece89dbd21..0d91f1a29e 100644
--- a/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/config/ValidationToolConfigurationTest.java
+++ b/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/config/ValidationToolConfigurationTest.java
@@ -263,40 +263,4 @@ public class ValidationToolConfigurationTest {
testSubject = createTestSubject();
result = testSubject.artifactToolBL();
}
-
- //TODO runs as single JUnit Fails on maven clean install
- /*@Test(expected=NullPointerException.class)
- public void testReportManager() throws Exception {
- ValidationToolConfiguration testSubject;
- ReportManager result;
-
- // default test
- testSubject = createTestSubject();
- result = testSubject.reportManager();
- }
-*/
-
- //TODO runs as single JUnit Fails on maven clean install
- /*@Test(expected=NullPointerException.class)
- public void testTitanMigrationClient() throws Exception {
- ValidationToolConfiguration testSubject;
- TitanClientStrategy titanClientStrategy = null;
- TitanGraphClient result;
-
- // default test
- testSubject = createTestSubject();
- result = testSubject.titanMigrationClient(titanClientStrategy);
- }*/
-
- //TODO runs as single JUnit Fails on maven clean install
- /*@Test(expected=NullPointerException.class)
- public void testNodeTemplateOperation() throws Exception {
- ValidationToolConfiguration testSubject;
- NodeTemplateOperation result;
-
- // default test
- testSubject = createTestSubject();
- System.out.println("ConfigurationManager Print" + ConfigurationManager.getConfigurationManager().getConfiguration().toString());
- result = testSubject.nodeTemplateOperation();
- }*/
} \ No newline at end of file