From 3bdedab365bf7dbc2288c988e24a97ed4823d864 Mon Sep 17 00:00:00 2001 From: Tomasz Golabek Date: Thu, 22 Aug 2019 11:21:04 +0200 Subject: unit tests - catalog-model Additional junit tests Change-Id: I9952933895ba22114fb0bf19a51e54f1a232c8f3 Issue-ID: SDC-2326 Signed-off-by: Tomasz Golabek --- catalog-model/src/main/java/org/openecomp/sdc/be/model/Schema.java | 6 ------ .../org/openecomp/sdc/be/model/UploadNodeFilterPropertyInfo.java | 2 +- .../src/main/java/org/openecomp/sdc/be/ui/model/UiCombination.java | 6 ++++++ 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'catalog-model/src/main/java/org') diff --git a/catalog-model/src/main/java/org/openecomp/sdc/be/model/Schema.java b/catalog-model/src/main/java/org/openecomp/sdc/be/model/Schema.java index 978ac5f19d..794b775eee 100644 --- a/catalog-model/src/main/java/org/openecomp/sdc/be/model/Schema.java +++ b/catalog-model/src/main/java/org/openecomp/sdc/be/model/Schema.java @@ -20,16 +20,10 @@ package org.openecomp.sdc.be.model; -import java.util.List; -import java.util.Map; - /** * Schema allows to create new types that can be used along TOSCA definitions. */ public class Schema { - private String derivedFrom; - private List constraints; - private Map properties; private PropertyDefinition property; public PropertyDefinition getProperty() { diff --git a/catalog-model/src/main/java/org/openecomp/sdc/be/model/UploadNodeFilterPropertyInfo.java b/catalog-model/src/main/java/org/openecomp/sdc/be/model/UploadNodeFilterPropertyInfo.java index ea94ca23e4..c5f5b2f790 100644 --- a/catalog-model/src/main/java/org/openecomp/sdc/be/model/UploadNodeFilterPropertyInfo.java +++ b/catalog-model/src/main/java/org/openecomp/sdc/be/model/UploadNodeFilterPropertyInfo.java @@ -42,7 +42,7 @@ public class UploadNodeFilterPropertyInfo { return values; } - public void setValue(List values) { + public void setValues(List values) { this.values = values; } } diff --git a/catalog-model/src/main/java/org/openecomp/sdc/be/ui/model/UiCombination.java b/catalog-model/src/main/java/org/openecomp/sdc/be/ui/model/UiCombination.java index 29fee14e97..c9a94ce77a 100644 --- a/catalog-model/src/main/java/org/openecomp/sdc/be/ui/model/UiCombination.java +++ b/catalog-model/src/main/java/org/openecomp/sdc/be/ui/model/UiCombination.java @@ -18,11 +18,17 @@ package org.openecomp.sdc.be.ui.model; +import com.google.common.annotations.VisibleForTesting; + public class UiCombination { String name; String description; + @VisibleForTesting + UiCombination() { + } + public UiCombination(String name, String description) { this.name = name; this.description = description; -- cgit 1.2.3-korg