aboutsummaryrefslogtreecommitdiffstats
path: root/generic-resource-api/provider
diff options
context:
space:
mode:
authorprakash.e <prakash.e@huawei.com>2019-08-09 23:51:26 +0530
committerprakash.e <prakash.e@huawei.com>2019-08-09 23:51:26 +0530
commit9bde099b78c44d7f1aca2fcae857de403a1fb6cf (patch)
treefaae181844f9724c409f3938a917a3d590fcf1d2 /generic-resource-api/provider
parent163008c4770de406175e1ebe9f049beee7ba7cd2 (diff)
Test case added for code coverage
Updated test MDSALUtil class by adding unused classes Issue-ID: SDNC-840 Signed-off-by: prakash.e <prakash.e@huawei.com> Change-Id: I238e9b05c2bc6169364e5f36ab6a7a59cf599deb
Diffstat (limited to 'generic-resource-api/provider')
-rw-r--r--generic-resource-api/provider/src/test/java/org/onap/sdnc/northbound/util/MDSALUtil.java28
1 files changed, 28 insertions, 0 deletions
diff --git a/generic-resource-api/provider/src/test/java/org/onap/sdnc/northbound/util/MDSALUtil.java b/generic-resource-api/provider/src/test/java/org/onap/sdnc/northbound/util/MDSALUtil.java
index a6300d6a..840b4228 100644
--- a/generic-resource-api/provider/src/test/java/org/onap/sdnc/northbound/util/MDSALUtil.java
+++ b/generic-resource-api/provider/src/test/java/org/onap/sdnc/northbound/util/MDSALUtil.java
@@ -40,6 +40,18 @@ import org.opendaylight.yang.gen.v1.org.onap.sdnc.northbound.generic.resource.re
import org.opendaylight.yang.gen.v1.org.onap.sdnc.northbound.generic.resource.rev170824.GenericConfigurationTopologyOperationInputBuilder;
import org.opendaylight.yang.gen.v1.org.onap.sdnc.northbound.generic.resource.rev170824.GenericConfigurationTopologyOperationOutputBuilder;
+import org.opendaylight.yang.gen.v1.org.onap.sdnc.northbound.generic.resource.rev170824.GenericConfigurationNotificationInputBuilder;
+import org.opendaylight.yang.gen.v1.org.onap.sdnc.northbound.generic.resource.rev170824.GenericConfigurationNotificationOutputBuilder;
+
+import org.opendaylight.yang.gen.v1.org.onap.sdnc.northbound.generic.resource.rev170824.GetpathsegmentTopologyOperationInputBuilder;
+import org.opendaylight.yang.gen.v1.org.onap.sdnc.northbound.generic.resource.rev170824.GetpathsegmentTopologyOperationOutputBuilder;
+
+import org.opendaylight.yang.gen.v1.org.onap.sdnc.northbound.generic.resource.rev170824.PolicyUpdateNotifyOperationInputBuilder;
+import org.opendaylight.yang.gen.v1.org.onap.sdnc.northbound.generic.resource.rev170824.PolicyUpdateNotifyOperationOutputBuilder;
+
+import org.opendaylight.yang.gen.v1.org.onap.sdnc.northbound.generic.resource.rev170824.PortMirrorTopologyOperationInputBuilder;
+import org.opendaylight.yang.gen.v1.org.onap.sdnc.northbound.generic.resource.rev170824.PortMirrorTopologyOperationOutputBuilder;
+
import org.opendaylight.yang.gen.v1.org.onap.sdnc.northbound.generic.resource.rev170824.SecurityZoneTopologyOperationInputBuilder;
import org.opendaylight.yang.gen.v1.org.onap.sdnc.northbound.generic.resource.rev170824.SecurityZoneTopologyOperationOutputBuilder;
import org.opendaylight.yang.gen.v1.org.onap.sdnc.northbound.generic.resource.rev170824.ServiceTopologyOperationInputBuilder;
@@ -119,6 +131,22 @@ public class MDSALUtil {
return new GenericConfigurationTopologyOperationInputBuilder();
}
+ public static GenericConfigurationNotificationInputBuilder GenericConfigurationNotificationInput() {
+ return new GenericConfigurationNotificationInputBuilder();
+ }
+
+ public static GetpathsegmentTopologyOperationInputBuilder GetpathsegmentTopologyOperationInput() {
+ return new GetpathsegmentTopologyOperationInputBuilder();
+ }
+
+ public static PolicyUpdateNotifyOperationInputBuilder PolicyUpdateNotifyOperationInput() {
+ return new PolicyUpdateNotifyOperationInputBuilder();
+ }
+
+ public static PortMirrorTopologyOperationInputBuilder PortMirrorTopologyOperationInput() {
+ return new PortMirrorTopologyOperationInputBuilder();
+ }
+
public static PreloadVfModuleTopologyOperationOutputBuilder preloadVfModuleTopologyOperationOutput() {
return new PreloadVfModuleTopologyOperationOutputBuilder();
}