diff options
author | 2018-08-12 10:55:05 +0300 | |
---|---|---|
committer | 2018-08-13 12:59:41 +0000 | |
commit | 6247e763f9225a9fd298de29085350fa574b1396 (patch) | |
tree | 4578f5bd4cfc7a992e3267f61b1db03b8413bd27 /openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/java/org | |
parent | 5d9a1fd249a256b46584f688d929b6e7260afd9e (diff) |
UTest for SRIOV
Adding full UTest for Fabric Configuration feature
Change-Id: I7e3d93ecede9755bbc8f04dc892aaba196b3e1dc
Issue-ID: SDC-1636
Signed-off-by: Shnaider, Marina (ms7589) <ms7589@intl.att.com>
Diffstat (limited to 'openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/java/org')
2 files changed, 22 insertions, 2 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/java/org/openecomp/sdc/translator/services/heattotosca/impl/fulltest/UnifiedCompositionLocalNodeTest.java b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/java/org/openecomp/sdc/translator/services/heattotosca/impl/fulltest/UnifiedCompositionLocalNodeTest.java new file mode 100644 index 0000000000..4216f45353 --- /dev/null +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/java/org/openecomp/sdc/translator/services/heattotosca/impl/fulltest/UnifiedCompositionLocalNodeTest.java @@ -0,0 +1,20 @@ +package org.openecomp.sdc.translator.services.heattotosca.impl.fulltest; + + +import org.junit.Test; +import org.openecomp.sdc.translator.services.heattotosca.impl.resourcetranslation.BaseFullTranslationTest; + +import java.io.IOException; + +public class UnifiedCompositionLocalNodeTest extends BaseFullTranslationTest { + + private static final String BASE_DIRECTORY = "/mock/services/heattotosca/fulltest/localNode/"; + + @Test + public void testLocalNodeWithFabricConfigurationCapability() throws IOException { + testTranslationWithInit(BASE_DIRECTORY + "novaServerWithFabricConfigurationCapability"); + } + + +} + diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/java/org/openecomp/sdc/translator/services/heattotosca/impl/resourcetranslation/ResourceTranslationNovaServerImplTest.java b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/java/org/openecomp/sdc/translator/services/heattotosca/impl/resourcetranslation/ResourceTranslationNovaServerImplTest.java index ae493bbebc..44a0e20363 100644 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/java/org/openecomp/sdc/translator/services/heattotosca/impl/resourcetranslation/ResourceTranslationNovaServerImplTest.java +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/java/org/openecomp/sdc/translator/services/heattotosca/impl/resourcetranslation/ResourceTranslationNovaServerImplTest.java @@ -42,7 +42,7 @@ public class ResourceTranslationNovaServerImplTest extends BaseResourceTranslati } @BeforeClass - public static void enablefabricConfigurationTagging() { + public static void enableFabricConfigurationTagging() { manager.enable(ToggleableFeature.FABRIC_CONFIGURATION); TestFeatureManagerProvider.setFeatureManager(manager); } @@ -122,7 +122,7 @@ public class ResourceTranslationNovaServerImplTest extends BaseResourceTranslati @AfterClass - public static void disableVLANTagging() { + public static void disableFabricConfiguration() { manager.disable(ToggleableFeature.FABRIC_CONFIGURATION); manager = null; TestFeatureManagerProvider.setFeatureManager(null); |