X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=src%2Ftest%2Fjava%2Forg%2Fonap%2Faai%2Fbabel%2Fxml%2Fgenerator%2FTestAaiArtifactGenerator.java;h=b29d0d7d946db465399b182f1c1e84f851b2de18;hb=bfde3ef00beb3c6f31cebfd12e90b9b9cdcc492e;hp=d95291be143a04792d7213dc1fd35e97739da1cf;hpb=f6107af893b29094f84fb2eea2b9dd8acc78dc53;p=aai%2Fbabel.git diff --git a/src/test/java/org/onap/aai/babel/xml/generator/TestAaiArtifactGenerator.java b/src/test/java/org/onap/aai/babel/xml/generator/TestAaiArtifactGenerator.java index d95291b..b29d0d7 100644 --- a/src/test/java/org/onap/aai/babel/xml/generator/TestAaiArtifactGenerator.java +++ b/src/test/java/org/onap/aai/babel/xml/generator/TestAaiArtifactGenerator.java @@ -78,14 +78,16 @@ public class TestAaiArtifactGenerator { * in the WidgetType dynamic enumeration. * * @throws SdcToscaParserException + * if the test CSAR file is invalid * @throws IOException + * if the widget mappings config cannot be loaded * @throws XmlArtifactGenerationException + * if the configured widget mappings do not support processed widget type(s) */ @Test(expected = IllegalArgumentException.class) public void testParserWithIncompleteMappings() throws SdcToscaParserException, IOException, XmlArtifactGenerationException { testUtils.loadWidgetMappings(); - testUtils.loadWidgetToUuidMappings(); AaiArtifactGenerator artifactGenerator = new AaiArtifactGenerator(); WidgetType.clearElements(); // Remove all WidgetTypes so that the generator fails