This fixes synthetic bridge method issue.
Change-Id: I3766deed8b8ed8bab5e17dc81e5fb8711c0b62e6
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
<groupId>ch.vorburger</groupId>
<artifactId>xtendbeans</artifactId>
<scope>compile</scope>
<groupId>ch.vorburger</groupId>
<artifactId>xtendbeans</artifactId>
<scope>compile</scope>
- <version>1.3.1</version>
+ <version>1.3.2</version>
</dependency>
<dependency>
</dependency>
<dependency>
package org.opendaylight.mdsal.binding.testutils;
import ch.vorburger.xtendbeans.AssertBeans;
package org.opendaylight.mdsal.binding.testutils;
import ch.vorburger.xtendbeans.AssertBeans;
-import org.junit.Ignore;
import org.junit.Test;
import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.yangtools.test.union.rev150121.LowestLevel2;
import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.yangtools.test.union.rev150121.UnionTestType;
import org.junit.Test;
import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.yangtools.test.union.rev150121.LowestLevel2;
import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.yangtools.test.union.rev150121.UnionTestType;
* @author Michael Vorburger
*/
public class UnionTest {
* @author Michael Vorburger
*/
public class UnionTest {
-
- // Has random failures based on method order due to https://github.com/vorburger/xtendbeans/pull/33
- @Ignore
@Test
public void testUnionType() {
AssertBeans.assertEqualByText(
"new UnionTestType(new LowestLevel2(\"testValue\"))",
new UnionTestType(new LowestLevel2("testValue")));
}
@Test
public void testUnionType() {
AssertBeans.assertEqualByText(
"new UnionTestType(new LowestLevel2(\"testValue\"))",
new UnionTestType(new LowestLevel2("testValue")));
}