import org.opendaylight.yangtools.yang.data.impl.schema.ImmutableNodes;
import org.opendaylight.yangtools.yang.model.api.SchemaContext;
import org.opendaylight.yangtools.yang.model.api.SchemaPath;
-import org.opendaylight.yangtools.yang.parser.spi.meta.ReactorException;
import org.opendaylight.yangtools.yang.test.util.YangParserTestUtils;
/**
private static SchemaContext schemaContext;
@BeforeClass
- public static void initialization() throws IOException, URISyntaxException, ReactorException {
- schemaContext = YangParserTestUtils.parseYangSources("/complexjson/yang");
+ public static void initialization() {
+ schemaContext = YangParserTestUtils.parseYangResourceDirectory("/complexjson/yang");
}
@Test