X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fmessagebus-util%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fmessagebus%2Fapp%2Futil%2FTopicDOMNotificationTest.java;fp=opendaylight%2Fmd-sal%2Fmessagebus-util%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fmessagebus%2Fapp%2Futil%2FTopicDOMNotificationTest.java;h=be11b1014a147c4879d2068edc13cfec48234204;hp=a366c6963f27cff58795dfb5e268da5ead16cf65;hb=1d0370feb32b84119bf4c570b9e6e9abbe8d9511;hpb=c355a5b632433b9d2a54107d24e644e68610f270 diff --git a/opendaylight/md-sal/messagebus-util/src/test/java/org/opendaylight/controller/messagebus/app/util/TopicDOMNotificationTest.java b/opendaylight/md-sal/messagebus-util/src/test/java/org/opendaylight/controller/messagebus/app/util/TopicDOMNotificationTest.java index a366c6963f..be11b1014a 100644 --- a/opendaylight/md-sal/messagebus-util/src/test/java/org/opendaylight/controller/messagebus/app/util/TopicDOMNotificationTest.java +++ b/opendaylight/md-sal/messagebus-util/src/test/java/org/opendaylight/controller/messagebus/app/util/TopicDOMNotificationTest.java @@ -17,7 +17,7 @@ import org.junit.BeforeClass; import org.junit.Test; import org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.messagebus.eventaggregator.rev141202.TopicNotification; import org.opendaylight.yangtools.yang.data.api.schema.ContainerNode; -import org.opendaylight.yangtools.yang.model.api.SchemaPath; +import org.opendaylight.yangtools.yang.model.api.stmt.SchemaNodeIdentifier.Absolute; public class TopicDOMNotificationTest { @@ -43,8 +43,8 @@ public class TopicDOMNotificationTest { @Test public void getTypeTest() { - SchemaPath topicNotificationId = SchemaPath.create(true, TopicNotification.QNAME); - assertEquals("Type has not been created correctly.", topicNotificationId, topicDOMNotification.getType()); + assertEquals("Type has not been created correctly.", Absolute.of(TopicNotification.QNAME), + topicDOMNotification.getType()); } @Test