From 04ff1b844c58f9f53558ff70594bf52ef6fba6ae Mon Sep 17 00:00:00 2001 From: Piotr Krysiak Date: Thu, 19 Jul 2018 09:07:10 +0200 Subject: ASDC dead code removal Issue-ID: SDC-1493 Change-Id: I74c1748eb2b1f478a0e44b07c174f95964fed667 Signed-off-by: Piotr Krysiak --- .../java/org/openecomp/sdc/asdctool/UtilsTest.java | 4 --- .../sdc/asdctool/impl/GraphMLConverterTest.java | 19 ------------ .../config/ValidationToolConfigurationTest.java | 36 ---------------------- 3 files changed, 59 deletions(-) (limited to 'asdctool/src/test') 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 -- cgit 1.2.3-korg