diff options
Diffstat (limited to 'openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/services/QuestionnaireValidatorTest.java')
-rw-r--r-- | openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/services/QuestionnaireValidatorTest.java | 26 |
1 files changed, 23 insertions, 3 deletions
diff --git a/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/services/QuestionnaireValidatorTest.java b/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/services/QuestionnaireValidatorTest.java index 0dedacb34a..fbd8371d7b 100644 --- a/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/services/QuestionnaireValidatorTest.java +++ b/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/services/QuestionnaireValidatorTest.java @@ -1,3 +1,23 @@ +/*- + * ============LICENSE_START======================================================= + * SDC + * ================================================================================ + * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + * ================================================================================ + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * 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. + * ============LICENSE_END========================================================= + */ + package org.openecomp.sdc.vendorsoftwareproduct.services; public class QuestionnaireValidatorTest { @@ -31,7 +51,7 @@ public class QuestionnaireValidatorTest { @Test(dependsOnMethods = "testAddSubEntity") public void testAddSubEntities() throws Exception { - Collection<CompositionEntity> nics = new ArrayList<>(); + Collection<UnifiedCompositionEntity> nics = new ArrayList<>(); nics.add(createNic("nicId1", "componentId1")); nics.add(createNic("nicId2", "componentId1")); nics.add(createNic("nicId3", "componentId1")); @@ -64,11 +84,11 @@ public class QuestionnaireValidatorTest { return component; } - private static CompositionEntity createNic(String nicId, String componentId) { + private static UnifiedCompositionEntity createNic(String nicId, String componentId) { NicEntity nic = new NicEntity("vspId1", new Version(0, 1), componentId, nicId); nic.setQuestionnaireData("{\n" + " \"name\": \"bla bla\"\n" + "}"); return nic; }*/ -}
\ No newline at end of file +} |