import org.opendaylight.yangtools.yang.data.api.schema.xpath.XPathSchemaContext;
import org.opendaylight.yangtools.yang.model.api.SchemaContext;
import org.opendaylight.yangtools.yang.model.api.SchemaPath;
import org.opendaylight.yangtools.yang.data.api.schema.xpath.XPathSchemaContext;
import org.opendaylight.yangtools.yang.model.api.SchemaContext;
import org.opendaylight.yangtools.yang.model.api.SchemaPath;
@Before
public void setup() throws URISyntaxException, IOException, ParseException, XPathExpressionException,
@Before
public void setup() throws URISyntaxException, IOException, ParseException, XPathExpressionException,
return SchemaPath.create(true, rootQName, listAQName, leafAQName);
}
return SchemaPath.create(true, rootQName, listAQName, leafAQName);
}
- private SchemaContext createSchemaContext() throws IOException, URISyntaxException {
- return TestUtils.loadSchemaContext(getClass().getResource("/test/documentTest").toURI());
+ private SchemaContext createSchemaContext() throws IOException, URISyntaxException, ReactorException {
+ return TestUtils.loadModules("/test/documentTest");