X-Git-Url: https://gerrit.onap.org/r/gitweb?p=aai%2Fbabel.git;a=blobdiff_plain;f=src%2Ftest%2Fjava%2Forg%2Fonap%2Faai%2Fbabel%2Futil%2FArtifactTestUtils.java;h=066911ec6daae553ffb858ca416d057733dfa0b7;hp=164c80b01373b752d651e6b5fb6e61e4ae8c61e0;hb=bfde3ef00beb3c6f31cebfd12e90b9b9cdcc492e;hpb=8a7d9a0d7782b9339810b02208620bdd2f0a12b2 diff --git a/src/test/java/org/onap/aai/babel/util/ArtifactTestUtils.java b/src/test/java/org/onap/aai/babel/util/ArtifactTestUtils.java index 164c80b..066911e 100644 --- a/src/test/java/org/onap/aai/babel/util/ArtifactTestUtils.java +++ b/src/test/java/org/onap/aai/babel/util/ArtifactTestUtils.java @@ -44,7 +44,6 @@ import org.apache.commons.io.IOUtils; import org.custommonkey.xmlunit.Diff; import org.onap.aai.babel.parser.ArtifactGeneratorToscaParser; import org.onap.aai.babel.xml.generator.data.Artifact; -import org.onap.aai.babel.xml.generator.data.WidgetConfigurationUtil; import org.xml.sax.SAXException; /** @@ -60,23 +59,10 @@ public class ArtifactTestUtils { * Initialize System Properties for test configuration files. */ public void setGeneratorSystemProperties() { - System.setProperty(ArtifactGeneratorToscaParser.PROPERTY_ARTIFACT_GENERATOR_CONFIG_FILE, - getResourcePath(Resources.ARTIFACT_GENERATOR_CONFIG)); - System.setProperty(ArtifactGeneratorToscaParser.PROPERTY_TOSCA_MAPPING_FILE, getResourcePath(Resources.TOSCA_MAPPING_CONFIG)); } - /** - * Load the Widget to UUID mappings from the Artifact Generator Properties (resource). - * - * @throws IOException - * if the properties file is not loaded - */ - public void loadWidgetToUuidMappings() throws IOException { - WidgetConfigurationUtil.setConfig(getResourceAsProperties(Resources.ARTIFACT_GENERATOR_CONFIG)); - } - /** * Load the Widget type mappings (resource). *