X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=restconf%2Fsal-rest-connector%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsal%2Frestconf%2Fimpl%2Ftest%2FXmlAndJsonToCnSnLeafRefTest.java;h=df13bb86c6f0ff36719350d682e683a5862b6a7f;hb=6b2e2722172148449f7c50666543e065a919c790;hp=e2e19c25dea23fc4280f5023ca19f93e4296d72c;hpb=4c0c091813aea131d32dc70c5121a450eb9b7291;p=netconf.git diff --git a/restconf/sal-rest-connector/src/test/java/org/opendaylight/controller/sal/restconf/impl/test/XmlAndJsonToCnSnLeafRefTest.java b/restconf/sal-rest-connector/src/test/java/org/opendaylight/controller/sal/restconf/impl/test/XmlAndJsonToCnSnLeafRefTest.java index e2e19c25de..df13bb86c6 100644 --- a/restconf/sal-rest-connector/src/test/java/org/opendaylight/controller/sal/restconf/impl/test/XmlAndJsonToCnSnLeafRefTest.java +++ b/restconf/sal-rest-connector/src/test/java/org/opendaylight/controller/sal/restconf/impl/test/XmlAndJsonToCnSnLeafRefTest.java @@ -7,20 +7,22 @@ */ package org.opendaylight.controller.sal.restconf.impl.test; +import java.io.FileNotFoundException; import org.junit.BeforeClass; import org.opendaylight.yangtools.yang.common.QName; +import org.opendaylight.yangtools.yang.parser.spi.meta.ReactorException; public class XmlAndJsonToCnSnLeafRefTest extends YangAndXmlAndDataSchemaLoader { final QName refContQName = QName.create("referenced:module", "2014-04-17", "cont"); - final QName refLf1QName = QName.create(refContQName, "lf1"); + final QName refLf1QName = QName.create(this.refContQName, "lf1"); final QName contQName = QName.create("leafref:module", "2014-04-17", "cont"); - final QName lf1QName = QName.create(contQName, "lf1"); - final QName lf2QName = QName.create(contQName, "lf2"); - final QName lf3QName = QName.create(contQName, "lf3"); + final QName lf1QName = QName.create(this.contQName, "lf1"); + final QName lf2QName = QName.create(this.contQName, "lf2"); + final QName lf3QName = QName.create(this.contQName, "lf3"); @BeforeClass - public static void initialize() { + public static void initialize() throws FileNotFoundException, ReactorException { dataLoad("/leafref/yang", 2, "leafref-module", "cont"); }