X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=yang%2Fyang-parser-impl%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fyangtools%2Fyang%2Fparser%2Fimpl%2FUsesAugmentTest.java;h=48ce134171e557d0571b6e689460b1de731dba07;hb=63391074baa84256f2e66fcef0ce02a686a960ea;hp=d221e7c218b52c0a2b6e1c5aebf170b7ddbeed01;hpb=ed534459faf147c1a876b36d475ec48936e08fe0;p=yangtools.git diff --git a/yang/yang-parser-impl/src/test/java/org/opendaylight/yangtools/yang/parser/impl/UsesAugmentTest.java b/yang/yang-parser-impl/src/test/java/org/opendaylight/yangtools/yang/parser/impl/UsesAugmentTest.java index d221e7c218..48ce134171 100644 --- a/yang/yang-parser-impl/src/test/java/org/opendaylight/yangtools/yang/parser/impl/UsesAugmentTest.java +++ b/yang/yang-parser-impl/src/test/java/org/opendaylight/yangtools/yang/parser/impl/UsesAugmentTest.java @@ -27,7 +27,7 @@ import java.util.Set; import org.junit.Before; import org.junit.Test; import org.opendaylight.yangtools.yang.common.QName; -import org.opendaylight.yangtools.yang.model.api.ChoiceNode; +import org.opendaylight.yangtools.yang.model.api.ChoiceSchemaNode; import org.opendaylight.yangtools.yang.model.api.ContainerSchemaNode; import org.opendaylight.yangtools.yang.model.api.DataSchemaNode; import org.opendaylight.yangtools.yang.model.api.LeafSchemaNode; @@ -111,6 +111,8 @@ public class UsesAugmentTest { * |-- |-- leaf ignore (U) * * U = added by uses A = added by augment + * + * @throws Exception if exception occurs */ @Test public void testAugmentInUses() throws Exception { @@ -406,7 +408,7 @@ public class UsesAugmentTest { assertEquals(expectedPath, box.getPath()); assertTrue(box.isAddedByUses()); // * |-- |-- |-- |-- |-- choice address-family - ChoiceNode af = (ChoiceNode) endpoints.getDataChildByName("address-family"); + ChoiceSchemaNode af = (ChoiceSchemaNode) endpoints.getDataChildByName("address-family"); assertNotNull(af); expectedQName = QName.create(UG_NS, UG_REV, "address-family"); assertEquals(expectedQName, af.getQName());