aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib
diff options
context:
space:
mode:
authorPiotr Darosz <piotr.darosz@nokia.com>2019-09-04 12:27:53 +0200
committerTomasz Golabek <tomasz.golabek@nokia.com>2019-09-04 13:26:10 +0000
commit1da40f4a4b7cf94afc034bfbc078f09921d92fc6 (patch)
treee7c5b2aa3abfa821c3fc86a3117a6d9ec0e2a0e6 /openecomp-be/lib
parenta0886f054b8e1a880c133ac0fd0cca673aae9b93 (diff)
openecomp-be code coverage increase
Add tests for classes in sdc.vendorsoftwareproduct.types.schemagenerator package Change-Id: Iabd22f88a5106c881ee687a4b57a62f59c0bc10e Issue-ID: SDC-2326 Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
Diffstat (limited to 'openecomp-be/lib')
-rw-r--r--openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/schemagenerator/ComponentQuestionnaireSchemaInput.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/schemagenerator/ComponentQuestionnaireSchemaInput.java b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/schemagenerator/ComponentQuestionnaireSchemaInput.java
index 65f9046fc0..7f038e314d 100644
--- a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/schemagenerator/ComponentQuestionnaireSchemaInput.java
+++ b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/schemagenerator/ComponentQuestionnaireSchemaInput.java
@@ -12,10 +12,13 @@
* 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.
+ * Modifications copyright (c) 2019 Nokia
*/
package org.openecomp.sdc.vendorsoftwareproduct.types.schemagenerator;
+import com.google.common.annotations.VisibleForTesting;
+
import java.util.List;
import java.util.Map;
@@ -25,6 +28,9 @@ public class ComponentQuestionnaireSchemaInput implements SchemaTemplateInput {
private List<String> nicNames;
private Map componentQuestionnaireData;
+ @VisibleForTesting
+ ComponentQuestionnaireSchemaInput() {}
+
public ComponentQuestionnaireSchemaInput(List<String> nicNames, Map componentQuestionnaireData,
String componentDisplayName, boolean manual) {
this.nicNames = nicNames;