The underlying bug was fixed long time ago, but the corresponding
test was not activated. Fix that.
Change-Id: I97a31722a4cf5145f6f3c6a1ef3eba5f1f213d25
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
-import java.io.FileNotFoundException;
-import java.net.URISyntaxException;
-import org.junit.Ignore;
import org.junit.Test;
import org.opendaylight.mdsal.binding.model.api.Enumeration;
import org.opendaylight.mdsal.binding.model.api.GeneratedType;
import org.opendaylight.mdsal.binding.model.api.Type;
import org.opendaylight.yangtools.yang.model.api.SchemaContext;
import org.junit.Test;
import org.opendaylight.mdsal.binding.model.api.Enumeration;
import org.opendaylight.mdsal.binding.model.api.GeneratedType;
import org.opendaylight.mdsal.binding.model.api.Type;
import org.opendaylight.yangtools.yang.model.api.SchemaContext;
-import org.opendaylight.yangtools.yang.parser.spi.meta.ReactorException;
import org.opendaylight.yangtools.yang.test.util.YangParserTestUtils;
public class Bug6135Test {
import org.opendaylight.yangtools.yang.test.util.YangParserTestUtils;
public class Bug6135Test {
- public void bug6135Test() throws FileNotFoundException, ReactorException, URISyntaxException {
+ public void bug6135Test() {
final SchemaContext context = YangParserTestUtils.parseYangResource("/bug-6135/foo.yang");
assertNotNull(context);
final SchemaContext context = YangParserTestUtils.parseYangResource("/bug-6135/foo.yang");
assertNotNull(context);