X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=src%2Ftest%2Fjava%2Forg%2Fonap%2Faai%2Fbabel%2Fxml%2Fgenerator%2Fmodel%2FTestModel.java;h=8d6fe3e576d7fac773af553e9f37e8a83a2efc3b;hb=refs%2Fchanges%2F49%2F55949%2F1;hp=fbac64c0267acecce2a9772aa7b822190d1f6f01;hpb=5b6b32d3ab0dc27c72351f6aa9e0bdef8d599e13;p=aai%2Fbabel.git diff --git a/src/test/java/org/onap/aai/babel/xml/generator/model/TestModel.java b/src/test/java/org/onap/aai/babel/xml/generator/model/TestModel.java index fbac64c..8d6fe3e 100644 --- a/src/test/java/org/onap/aai/babel/xml/generator/model/TestModel.java +++ b/src/test/java/org/onap/aai/babel/xml/generator/model/TestModel.java @@ -18,6 +18,7 @@ * limitations under the License. * ============LICENSE_END========================================================= */ + package org.onap.aai.babel.xml.generator.model; import static org.hamcrest.CoreMatchers.instanceOf; @@ -50,6 +51,12 @@ public class TestModel { System.setProperty("APP_HOME", "."); } + /** + * Load the Widget to UUID mappings from the Artifact Generator properties. + * + * @throws FileNotFoundException if the properties file is missing + * @throws IOException if the properties file is not loaded + */ @Before public void setup() throws FileNotFoundException, IOException { InputStream in = TestModel.class.getClassLoader().getResourceAsStream("artifact-generator.properties");