aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/test/java/org/onap/vid/asdc/beans
diff options
context:
space:
mode:
Diffstat (limited to 'vid-app-common/src/test/java/org/onap/vid/asdc/beans')
-rw-r--r--vid-app-common/src/test/java/org/onap/vid/asdc/beans/ArtifactTest.java22
-rw-r--r--vid-app-common/src/test/java/org/onap/vid/asdc/beans/SecureServicesTest.java22
-rw-r--r--vid-app-common/src/test/java/org/onap/vid/asdc/beans/ServiceTest.java20
-rw-r--r--vid-app-common/src/test/java/org/onap/vid/asdc/beans/SubResourceTest.java22
-rw-r--r--vid-app-common/src/test/java/org/onap/vid/asdc/beans/tosca/GroupTest.java22
-rw-r--r--vid-app-common/src/test/java/org/onap/vid/asdc/beans/tosca/ImportTest.java22
-rw-r--r--vid-app-common/src/test/java/org/onap/vid/asdc/beans/tosca/NodeTemplateTest.java22
-rw-r--r--vid-app-common/src/test/java/org/onap/vid/asdc/beans/tosca/SchemaTest.java22
-rw-r--r--vid-app-common/src/test/java/org/onap/vid/asdc/beans/tosca/TopologyTemplateTest.java22
-rw-r--r--vid-app-common/src/test/java/org/onap/vid/asdc/beans/tosca/ToscaMetadataTest.java22
-rw-r--r--vid-app-common/src/test/java/org/onap/vid/asdc/beans/tosca/ToscaModelTest.java22
11 files changed, 230 insertions, 10 deletions
diff --git a/vid-app-common/src/test/java/org/onap/vid/asdc/beans/ArtifactTest.java b/vid-app-common/src/test/java/org/onap/vid/asdc/beans/ArtifactTest.java
index 04944120a..24cb1cc83 100644
--- a/vid-app-common/src/test/java/org/onap/vid/asdc/beans/ArtifactTest.java
+++ b/vid-app-common/src/test/java/org/onap/vid/asdc/beans/ArtifactTest.java
@@ -1,3 +1,23 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * VID
+ * ================================================================================
+ * Copyright (C) 2017 - 2019 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.onap.vid.asdc.beans;
import org.junit.Test;
@@ -274,4 +294,4 @@ public class ArtifactTest {
testSubject = createTestSubject();
result = testSubject.equals(o);
}
-} \ No newline at end of file
+}
diff --git a/vid-app-common/src/test/java/org/onap/vid/asdc/beans/SecureServicesTest.java b/vid-app-common/src/test/java/org/onap/vid/asdc/beans/SecureServicesTest.java
index 3cd84af5f..b0ee25709 100644
--- a/vid-app-common/src/test/java/org/onap/vid/asdc/beans/SecureServicesTest.java
+++ b/vid-app-common/src/test/java/org/onap/vid/asdc/beans/SecureServicesTest.java
@@ -1,3 +1,23 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * VID
+ * ================================================================================
+ * Copyright (C) 2017 - 2019 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.onap.vid.asdc.beans;
import java.util.Collection;
@@ -49,4 +69,4 @@ public class SecureServicesTest {
testSubject = createTestSubject();
testSubject.setReadOnly(readOnly);
}
-} \ No newline at end of file
+}
diff --git a/vid-app-common/src/test/java/org/onap/vid/asdc/beans/ServiceTest.java b/vid-app-common/src/test/java/org/onap/vid/asdc/beans/ServiceTest.java
index 4fb38a6b6..21b858a10 100644
--- a/vid-app-common/src/test/java/org/onap/vid/asdc/beans/ServiceTest.java
+++ b/vid-app-common/src/test/java/org/onap/vid/asdc/beans/ServiceTest.java
@@ -1,3 +1,23 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * VID
+ * ================================================================================
+ * Copyright (C) 2017 - 2019 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.onap.vid.asdc.beans;
import static org.junit.Assert.*;
diff --git a/vid-app-common/src/test/java/org/onap/vid/asdc/beans/SubResourceTest.java b/vid-app-common/src/test/java/org/onap/vid/asdc/beans/SubResourceTest.java
index e1672b71e..b26fcf2a5 100644
--- a/vid-app-common/src/test/java/org/onap/vid/asdc/beans/SubResourceTest.java
+++ b/vid-app-common/src/test/java/org/onap/vid/asdc/beans/SubResourceTest.java
@@ -1,3 +1,23 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * VID
+ * ================================================================================
+ * Copyright (C) 2017 - 2019 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.onap.vid.asdc.beans;
import java.util.Collection;
@@ -164,4 +184,4 @@ public class SubResourceTest {
testSubject = createTestSubject();
testSubject.setArtifacts(artifacts);
}
-} \ No newline at end of file
+}
diff --git a/vid-app-common/src/test/java/org/onap/vid/asdc/beans/tosca/GroupTest.java b/vid-app-common/src/test/java/org/onap/vid/asdc/beans/tosca/GroupTest.java
index 3692a15b9..000ebcd75 100644
--- a/vid-app-common/src/test/java/org/onap/vid/asdc/beans/tosca/GroupTest.java
+++ b/vid-app-common/src/test/java/org/onap/vid/asdc/beans/tosca/GroupTest.java
@@ -1,3 +1,23 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * VID
+ * ================================================================================
+ * Copyright (C) 2017 - 2019 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.onap.vid.asdc.beans.tosca;
import java.util.Collection;
@@ -121,4 +141,4 @@ public class GroupTest {
testSubject = createTestSubject();
testSubject.setProperties(properties);
}
-} \ No newline at end of file
+}
diff --git a/vid-app-common/src/test/java/org/onap/vid/asdc/beans/tosca/ImportTest.java b/vid-app-common/src/test/java/org/onap/vid/asdc/beans/tosca/ImportTest.java
index 7b72fcc94..29f93cad7 100644
--- a/vid-app-common/src/test/java/org/onap/vid/asdc/beans/tosca/ImportTest.java
+++ b/vid-app-common/src/test/java/org/onap/vid/asdc/beans/tosca/ImportTest.java
@@ -1,3 +1,23 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * VID
+ * ================================================================================
+ * Copyright (C) 2017 - 2019 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.onap.vid.asdc.beans.tosca;
import org.junit.Test;
@@ -27,4 +47,4 @@ public class ImportTest {
testSubject = createTestSubject();
testSubject.setFile(file);
}
-} \ No newline at end of file
+}
diff --git a/vid-app-common/src/test/java/org/onap/vid/asdc/beans/tosca/NodeTemplateTest.java b/vid-app-common/src/test/java/org/onap/vid/asdc/beans/tosca/NodeTemplateTest.java
index 678a5102d..cc6c380b5 100644
--- a/vid-app-common/src/test/java/org/onap/vid/asdc/beans/tosca/NodeTemplateTest.java
+++ b/vid-app-common/src/test/java/org/onap/vid/asdc/beans/tosca/NodeTemplateTest.java
@@ -1,3 +1,23 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * VID
+ * ================================================================================
+ * Copyright (C) 2017 - 2019 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.onap.vid.asdc.beans.tosca;
import java.util.Map;
@@ -89,4 +109,4 @@ public class NodeTemplateTest {
testSubject = createTestSubject();
testSubject.setRequirements(requirements);
}
-} \ No newline at end of file
+}
diff --git a/vid-app-common/src/test/java/org/onap/vid/asdc/beans/tosca/SchemaTest.java b/vid-app-common/src/test/java/org/onap/vid/asdc/beans/tosca/SchemaTest.java
index 198e12809..eb1cf5188 100644
--- a/vid-app-common/src/test/java/org/onap/vid/asdc/beans/tosca/SchemaTest.java
+++ b/vid-app-common/src/test/java/org/onap/vid/asdc/beans/tosca/SchemaTest.java
@@ -1,3 +1,23 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * VID
+ * ================================================================================
+ * Copyright (C) 2017 - 2019 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.onap.vid.asdc.beans.tosca;
import org.junit.Test;
@@ -27,4 +47,4 @@ public class SchemaTest {
testSubject = createTestSubject();
testSubject.setType(type);
}
-} \ No newline at end of file
+}
diff --git a/vid-app-common/src/test/java/org/onap/vid/asdc/beans/tosca/TopologyTemplateTest.java b/vid-app-common/src/test/java/org/onap/vid/asdc/beans/tosca/TopologyTemplateTest.java
index 8392d926c..70c3d9b5d 100644
--- a/vid-app-common/src/test/java/org/onap/vid/asdc/beans/tosca/TopologyTemplateTest.java
+++ b/vid-app-common/src/test/java/org/onap/vid/asdc/beans/tosca/TopologyTemplateTest.java
@@ -1,3 +1,23 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * VID
+ * ================================================================================
+ * Copyright (C) 2017 - 2019 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.onap.vid.asdc.beans.tosca;
import java.util.Map;
@@ -98,4 +118,4 @@ public class TopologyTemplateTest {
testSubject = createTestSubject();
testSubject.setGroups(groups);
}
-} \ No newline at end of file
+}
diff --git a/vid-app-common/src/test/java/org/onap/vid/asdc/beans/tosca/ToscaMetadataTest.java b/vid-app-common/src/test/java/org/onap/vid/asdc/beans/tosca/ToscaMetadataTest.java
index 2c91d9621..4df117867 100644
--- a/vid-app-common/src/test/java/org/onap/vid/asdc/beans/tosca/ToscaMetadataTest.java
+++ b/vid-app-common/src/test/java/org/onap/vid/asdc/beans/tosca/ToscaMetadataTest.java
@@ -1,3 +1,23 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * VID
+ * ================================================================================
+ * Copyright (C) 2017 - 2019 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.onap.vid.asdc.beans.tosca;
import org.junit.Test;
@@ -440,4 +460,4 @@ public class ToscaMetadataTest {
testSubject = createTestSubject();
result = testSubject.getVfModuleModelCustomizationUUID();
}
-} \ No newline at end of file
+}
diff --git a/vid-app-common/src/test/java/org/onap/vid/asdc/beans/tosca/ToscaModelTest.java b/vid-app-common/src/test/java/org/onap/vid/asdc/beans/tosca/ToscaModelTest.java
index ee5463744..b9207ec2c 100644
--- a/vid-app-common/src/test/java/org/onap/vid/asdc/beans/tosca/ToscaModelTest.java
+++ b/vid-app-common/src/test/java/org/onap/vid/asdc/beans/tosca/ToscaModelTest.java
@@ -1,3 +1,23 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * VID
+ * ================================================================================
+ * Copyright (C) 2017 - 2019 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.onap.vid.asdc.beans.tosca;
import java.util.Collection;
@@ -143,4 +163,4 @@ public class ToscaModelTest {
testSubject = createTestSubject();
testSubject.setnode_types(node_types);
}
-} \ No newline at end of file
+}