aboutsummaryrefslogtreecommitdiffstats
path: root/appc-directed-graph/appc-dgraph/provider/src/test/java/org/onap/appc/dg/TestGetVfModuleInfo.java
diff options
context:
space:
mode:
authorSkip Wonnell <skip@att.com>2017-12-23 00:18:18 -0600
committerPatrick Brady <pb071s@att.com>2018-01-03 18:57:22 +0000
commitcaa5768a32a385bf7997029929f29fe3b156348e (patch)
tree15e5671b75577de5cd19473eea278c3f731d9e7a /appc-directed-graph/appc-dgraph/provider/src/test/java/org/onap/appc/dg/TestGetVfModuleInfo.java
parente7752e8d2dd4e4460bf68a7b36548282cc68d0e9 (diff)
Platform Hardening for DG - Part 8
Issue-ID: APPC-305 Change-Id: I70fa76837b02314bdd3211190306cfbd3564d639 Signed-off-by: Skip Wonnell <skip@att.com>
Diffstat (limited to 'appc-directed-graph/appc-dgraph/provider/src/test/java/org/onap/appc/dg/TestGetVfModuleInfo.java')
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/java/org/onap/appc/dg/TestGetVfModuleInfo.java90
1 files changed, 47 insertions, 43 deletions
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/java/org/onap/appc/dg/TestGetVfModuleInfo.java b/appc-directed-graph/appc-dgraph/provider/src/test/java/org/onap/appc/dg/TestGetVfModuleInfo.java
index 6bc64f233..6bc9d10e3 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/test/java/org/onap/appc/dg/TestGetVfModuleInfo.java
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/java/org/onap/appc/dg/TestGetVfModuleInfo.java
@@ -1,9 +1,11 @@
/*-
* ============LICENSE_START=======================================================
- * ONAP : APP-C
+ * ONAP : APPC
* ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
* ================================================================================
+ * Copyright (C) 2017 Amdocs
+ * =============================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
@@ -15,6 +17,8 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
* ============LICENSE_END=========================================================
*/
@@ -52,72 +56,72 @@ import org.onap.ccsdk.sli.core.sli.provider.SvcLogicAdaptorFactory;
public class TestGetVfModuleInfo /* extends AbstractDGTestCase */ {
- //private final static Logger logger = LoggerFactory.getLogger(TestGetParams.class);
+ //private final static Logger logger = LoggerFactory.getLogger(TestGetParams.class);
/*
- private static final EELFLogger logger = EELFManager.getInstance().getLogger(TestGetVfModuleInfo.class);
- public static String GetVfModuleInfoXML = "src/main/resources/xml/APPC_GetVfModuleInfo.xml";
+ private static final EELFLogger logger = EELFManager.getInstance().getLogger(TestGetVfModuleInfo.class);
+ public static String GetVfModuleInfoXML = "src/main/resources/xml/APPC_GetVfModuleInfo.xml";
+
+
+ @Test
+ public void testGetVfModuleInfoSuccess() {
+ try {
+ String propertyfileName = "APPC/GetVfModuleInfo/GetVfModuleInfo_Success.properties";
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
- @Test
- public void testGetVfModuleInfoSuccess() {
- try {
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { GetVfModuleInfoXML };
- String propertyfileName = "APPC/GetVfModuleInfo/GetVfModuleInfo_Success.properties";
- Map<String, Object> serviceReferences = new HashMap<String, Object>();
- // Register Call graphs
- String injectGraphXmls[] = new String[] { GetVfModuleInfoXML };
+ GraphKey graphKey = new GraphKey("APPC", null, "GetVfModuleInfo", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
- GraphKey graphKey = new GraphKey("APPC", null, "GetVfModuleInfo", null);
- DGTestCase tc = new DGTestCase(graphKey);
- tc.setInjectGraphXmls(injectGraphXmls);
- tc.setServiceReferences(serviceReferences);
- tc.setPropertyfileName(propertyfileName);
- SvcLogicContext ctx = new SvcLogicContext();
- processTestCase(tc, ctx);
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
-
- } catch (Exception e) {
- e.printStackTrace();
- }
+ }
- }
+ @Test
+ public void testGetVfModuleInfoFailure() {
+ try {
- @Test
- public void testGetVfModuleInfoFailure() {
- try {
+ String propertyfileName = "APPC/GetVfModuleInfo/GetVfModuleInfo_Failure.properties";
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
- String propertyfileName = "APPC/GetVfModuleInfo/GetVfModuleInfo_Failure.properties";
- Map<String, Object> serviceReferences = new HashMap<String, Object>();
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { GetVfModuleInfoXML };
- // Register Call graphs
- String injectGraphXmls[] = new String[] { GetVfModuleInfoXML };
+ GraphKey graphKey = new GraphKey("APPC", null, "GetVfModuleInfo", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
- GraphKey graphKey = new GraphKey("APPC", null, "GetVfModuleInfo", null);
- DGTestCase tc = new DGTestCase(graphKey);
- tc.setInjectGraphXmls(injectGraphXmls);
- tc.setServiceReferences(serviceReferences);
- tc.setPropertyfileName(propertyfileName);
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
- SvcLogicContext ctx = new SvcLogicContext();
- processTestCase(tc, ctx);
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
- } catch (Exception e) {
- e.printStackTrace();
- }
+ }
- }
-
*/
}