From 9bde099b78c44d7f1aca2fcae857de403a1fb6cf Mon Sep 17 00:00:00 2001 From: "prakash.e" Date: Fri, 9 Aug 2019 23:51:26 +0530 Subject: Test case added for code coverage Updated test MDSALUtil class by adding unused classes Issue-ID: SDNC-840 Signed-off-by: prakash.e Change-Id: I238e9b05c2bc6169364e5f36ab6a7a59cf599deb --- .../org/onap/sdnc/northbound/util/MDSALUtil.java | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'generic-resource-api/provider/src/test/java/org/onap') 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(); } -- cgit 1.2.3-korg