X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=yang%2Fyang-data-jaxen%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fyangtools%2Fyang%2Fdata%2Fjaxen%2FDerefXPathFunctionTest.java;h=47bc7226c17b2ae2f75d2516d6933909495abd27;hb=11f324d00534f75932df67ba737efe261271cb47;hp=782df967e71af178522ba1f52563dd1d38c4801e;hpb=9423cb72fe3b05c091efa74ea153632875a1552d;p=yangtools.git diff --git a/yang/yang-data-jaxen/src/test/java/org/opendaylight/yangtools/yang/data/jaxen/DerefXPathFunctionTest.java b/yang/yang-data-jaxen/src/test/java/org/opendaylight/yangtools/yang/data/jaxen/DerefXPathFunctionTest.java index 782df967e7..47bc7226c1 100644 --- a/yang/yang-data-jaxen/src/test/java/org/opendaylight/yangtools/yang/data/jaxen/DerefXPathFunctionTest.java +++ b/yang/yang-data-jaxen/src/test/java/org/opendaylight/yangtools/yang/data/jaxen/DerefXPathFunctionTest.java @@ -39,7 +39,7 @@ import org.opendaylight.yangtools.yang.data.impl.schema.Builders; import org.opendaylight.yangtools.yang.data.impl.schema.nodes.LazyLeafOperations; import org.opendaylight.yangtools.yang.data.jaxen.api.XPathDocument; import org.opendaylight.yangtools.yang.data.jaxen.api.XPathSchemaContext; -import org.opendaylight.yangtools.yang.model.api.SchemaContext; +import org.opendaylight.yangtools.yang.model.api.EffectiveModelContext; import org.opendaylight.yangtools.yang.test.util.YangParserTestUtils; public class DerefXPathFunctionTest { @@ -63,7 +63,7 @@ public class DerefXPathFunctionTest { @Test public void testDerefFunctionForInstanceIdentifier() throws Exception { - final SchemaContext schemaContext = YangParserTestUtils.parseYangResources(DerefXPathFunctionTest.class, + final EffectiveModelContext schemaContext = YangParserTestUtils.parseYangResources(DerefXPathFunctionTest.class, "/yang-xpath-functions-test/deref-function-iid/foo.yang"); assertNotNull(schemaContext); @@ -95,7 +95,7 @@ public class DerefXPathFunctionTest { @Test public void testDerefFunctionForLeafref() throws Exception { // tests absolute and relative leafref that references a leaf node - final SchemaContext schemaContext = YangParserTestUtils.parseYangResources(DerefXPathFunctionTest.class, + final EffectiveModelContext schemaContext = YangParserTestUtils.parseYangResources(DerefXPathFunctionTest.class, "/yang-xpath-functions-test/deref-function-leafref/foo.yang"); assertNotNull(schemaContext); @@ -137,7 +137,7 @@ public class DerefXPathFunctionTest { @Test public void testDerefFunctionForLeafref2() throws Exception { // tests leafref that references a leaf-list node - final SchemaContext schemaContext = YangParserTestUtils.parseYangResources(DerefXPathFunctionTest.class, + final EffectiveModelContext schemaContext = YangParserTestUtils.parseYangResources(DerefXPathFunctionTest.class, "/yang-xpath-functions-test/deref-function-leafref/foo.yang"); assertNotNull(schemaContext);