X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fsal%2Fyang-prototype%2Fcode-generator%2Fbinding-generator-impl%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsal%2Fbinding%2Fgenerator%2Fimpl%2FGeneratedTypesBitsTest.java;h=c98f8bfeae4b70bae858006d752f23b815409b65;hp=af08ac2d0a279eaf9cb0757391a5d43f512cd8b0;hb=3c8c7171aa9a2fdf322b85cf104ae551665aa0d8;hpb=a954bf75193626833a2bd8b7395514a8b1aec032 diff --git a/opendaylight/sal/yang-prototype/code-generator/binding-generator-impl/src/test/java/org/opendaylight/controller/sal/binding/generator/impl/GeneratedTypesBitsTest.java b/opendaylight/sal/yang-prototype/code-generator/binding-generator-impl/src/test/java/org/opendaylight/controller/sal/binding/generator/impl/GeneratedTypesBitsTest.java index af08ac2d0a..c98f8bfeae 100644 --- a/opendaylight/sal/yang-prototype/code-generator/binding-generator-impl/src/test/java/org/opendaylight/controller/sal/binding/generator/impl/GeneratedTypesBitsTest.java +++ b/opendaylight/sal/yang-prototype/code-generator/binding-generator-impl/src/test/java/org/opendaylight/controller/sal/binding/generator/impl/GeneratedTypesBitsTest.java @@ -1,8 +1,6 @@ package org.opendaylight.controller.sal.binding.generator.impl; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertNotNull; -import static org.junit.Assert.assertTrue; +import static org.junit.Assert.*; import java.io.File; import java.util.ArrayList; @@ -134,10 +132,8 @@ public class GeneratedTypesBitsTest { assertTrue(getByteLeafMethodFound); assertEquals(nameReturnParamType,"ByteType"); - assertTrue(setByteLeafMethodFound); - assertEquals(setByteLeafMethodParamNum,1); - assertEquals(nameMethodeParamType,"ByteType"); - + assertFalse(setByteLeafMethodFound); + assertEquals(0, setByteLeafMethodParamNum); } } \ No newline at end of file