summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Dürre <michael.duerre@highstreet-technologies.com>2020-07-10 04:51:09 +0200
committerMichael Dürre <michael.duerre@highstreet-technologies.com>2020-07-10 04:51:26 +0200
commit15230a31a18642f615f3d2ab61e6ad15e4a1b3a1 (patch)
tree73841c45afdbd50cfbde4f91c298bfa72480abd8
parent95cf22da1854a991c756e46240cbab52a33eaa84 (diff)
upgrade core to sodium
fixed unit test due changes in sodium Issue-ID: CCSDK-2543 Signed-off-by: Michael Dürre <michael.duerre@highstreet-technologies.com> Change-Id: I65b725686b480554cec974c05a6b2814901d1d5e
-rwxr-xr-xsli/provider/src/test/java/org/onap/ccsdk/sli/core/sli/provider/MdsalHelperTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/sli/provider/src/test/java/org/onap/ccsdk/sli/core/sli/provider/MdsalHelperTest.java b/sli/provider/src/test/java/org/onap/ccsdk/sli/core/sli/provider/MdsalHelperTest.java
index 5f8c4c22c..93d9931d0 100755
--- a/sli/provider/src/test/java/org/onap/ccsdk/sli/core/sli/provider/MdsalHelperTest.java
+++ b/sli/provider/src/test/java/org/onap/ccsdk/sli/core/sli/provider/MdsalHelperTest.java
@@ -63,6 +63,7 @@ import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.
import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Prefix;
import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber;
import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Uri;
+import org.opendaylight.yangtools.yang.common.Empty;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import junit.framework.TestCase;
@@ -433,7 +434,7 @@ public class MdsalHelperTest extends TestCase {
public void testToPropertiesWithEmpty() throws Exception {
SampleContainerBuilder sampleBuilder = new SampleContainerBuilder();
- Boolean isEmpty = true;
+ Empty isEmpty = Empty.getInstance();
sampleBuilder.setSampleEmpty(isEmpty);
Properties props = new Properties();
MdsalHelper.toProperties(props, sampleBuilder);