aboutsummaryrefslogtreecommitdiffstats
path: root/mso-api-handlers/mso-api-handler-infra/src/test/java/org/openecomp/mso/apihandlerinfra/networkbeans/NetworkOutputsTest.java
diff options
context:
space:
mode:
authorSindhu A <arcot.sindhuri@huawei.com>2018-03-22 06:10:03 +0000
committerSeshu Kumar M <seshu.kumar.m@huawei.com>2018-03-22 10:12:21 +0000
commitfbdba83be5d7b10eb613e31c32a2d2af4565b1ab (patch)
tree4ad9745e70276a208af2b038bd05400b6344c892 /mso-api-handlers/mso-api-handler-infra/src/test/java/org/openecomp/mso/apihandlerinfra/networkbeans/NetworkOutputsTest.java
parent27dbf11dba8bdd5ac9466119213729c313bcf7c8 (diff)
UT Coverage for SO
Changed folder name from taskbean to tasksbean Issue-ID: SO-369 Change-Id: I2e0d81b2ec4714e8f499bf1ba4639b4c9be1d5e8 Signed-off-by: Sindhu A <arcot.sindhuri@huawei.com>
Diffstat (limited to 'mso-api-handlers/mso-api-handler-infra/src/test/java/org/openecomp/mso/apihandlerinfra/networkbeans/NetworkOutputsTest.java')
-rw-r--r--mso-api-handlers/mso-api-handler-infra/src/test/java/org/openecomp/mso/apihandlerinfra/networkbeans/NetworkOutputsTest.java50
1 files changed, 50 insertions, 0 deletions
diff --git a/mso-api-handlers/mso-api-handler-infra/src/test/java/org/openecomp/mso/apihandlerinfra/networkbeans/NetworkOutputsTest.java b/mso-api-handlers/mso-api-handler-infra/src/test/java/org/openecomp/mso/apihandlerinfra/networkbeans/NetworkOutputsTest.java
new file mode 100644
index 0000000000..3920094dc6
--- /dev/null
+++ b/mso-api-handlers/mso-api-handler-infra/src/test/java/org/openecomp/mso/apihandlerinfra/networkbeans/NetworkOutputsTest.java
@@ -0,0 +1,50 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ONAP - SO
+ * ================================================================================
+ * Copyright (C) 2018 Huawei 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.mso.apihandlerinfra.networkbeans;
+
+import org.junit.Test;
+
+public class NetworkOutputsTest {
+ // TODO: currently test case is done for coverage
+ // later, it should be modified properly.
+
+ NetworkOutputs test = new NetworkOutputs();
+
+ @Test
+ public void getNetworkIdTest() throws Exception {
+ test.getNetworkId();
+ }
+
+ @Test
+ public void setNetworkIdTest() throws Exception {
+ test.setNetworkId("id");
+ }
+
+ @Test
+ public void getNetworkNameTest() throws Exception {
+ test.getNetworkName();
+ }
+
+ @Test
+ public void setNetworkNameTest() throws Exception {
+ test.setNetworkName("name");
+ }
+}