From 160aadf286293ff3d1f3e4be8b0f4052c09923e1 Mon Sep 17 00:00:00 2001 From: Anjali walsatwar Date: Fri, 5 Oct 2018 14:28:55 +0530 Subject: UT for catalog be datamodel UT for catalog be datamodel class Issue-ID: SDC-1775 Change-Id: I50650cae0ef0ef4fd77dced9f77311df66dcfd4e Signed-off-by: Anjali walsatwar --- .../sdc/be/datamodel/ForwardingPathsTest.java | 30 ++++++++++++++++++++++ .../openecomp/sdc/be/datamodel/NameIdPairTest.java | 30 ++++++++++++++++++++++ .../sdc/be/datamodel/NameIdPairWrapperTest.java | 30 ++++++++++++++++++++++ .../sdc/be/datamodel/ServiceRelationsTest.java | 30 ++++++++++++++++++++++ .../be/datamodel/UiComponentDataConverterTest.java | 30 ++++++++++++++++++++++ 5 files changed, 150 insertions(+) (limited to 'catalog-be') diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/datamodel/ForwardingPathsTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/datamodel/ForwardingPathsTest.java index ba5f4cb0a7..a63431a97f 100644 --- a/catalog-be/src/test/java/org/openecomp/sdc/be/datamodel/ForwardingPathsTest.java +++ b/catalog-be/src/test/java/org/openecomp/sdc/be/datamodel/ForwardingPathsTest.java @@ -1,3 +1,33 @@ +/* + + * Copyright (c) 2018 Huawei Intellectual Property. + + * + + * 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. + + */ + package org.openecomp.sdc.be.datamodel; import org.junit.Test; diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/datamodel/NameIdPairTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/datamodel/NameIdPairTest.java index cc6c03bdd5..4abeb51baf 100644 --- a/catalog-be/src/test/java/org/openecomp/sdc/be/datamodel/NameIdPairTest.java +++ b/catalog-be/src/test/java/org/openecomp/sdc/be/datamodel/NameIdPairTest.java @@ -1,3 +1,33 @@ +/* + + * Copyright (c) 2018 AT&T Intellectual Property. + + * + + * 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. + + */ + package org.openecomp.sdc.be.datamodel; import org.junit.Test; diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/datamodel/NameIdPairWrapperTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/datamodel/NameIdPairWrapperTest.java index 4f6e7cace4..35c11e5064 100644 --- a/catalog-be/src/test/java/org/openecomp/sdc/be/datamodel/NameIdPairWrapperTest.java +++ b/catalog-be/src/test/java/org/openecomp/sdc/be/datamodel/NameIdPairWrapperTest.java @@ -1,3 +1,33 @@ +/* + + * Copyright (c) 2018 AT&T Intellectual Property. + + * + + * 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. + + */ + package org.openecomp.sdc.be.datamodel; import org.junit.Test; diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/datamodel/ServiceRelationsTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/datamodel/ServiceRelationsTest.java index dc89f1ed37..547349beda 100644 --- a/catalog-be/src/test/java/org/openecomp/sdc/be/datamodel/ServiceRelationsTest.java +++ b/catalog-be/src/test/java/org/openecomp/sdc/be/datamodel/ServiceRelationsTest.java @@ -1,3 +1,33 @@ +/* + + * Copyright (c) 2018 Huawei Intellectual Property. + + * + + * 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. + + */ + package org.openecomp.sdc.be.datamodel; import org.junit.Test; diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/datamodel/UiComponentDataConverterTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/datamodel/UiComponentDataConverterTest.java index 127958b2b2..7ebb3ee2d1 100644 --- a/catalog-be/src/test/java/org/openecomp/sdc/be/datamodel/UiComponentDataConverterTest.java +++ b/catalog-be/src/test/java/org/openecomp/sdc/be/datamodel/UiComponentDataConverterTest.java @@ -1,3 +1,33 @@ +/* + + * Copyright (c) 2018 AT&T Intellectual Property. + + * + + * 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. + + */ + package org.openecomp.sdc.be.datamodel; import org.junit.Before; -- cgit 1.2.3-korg