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%2FBug3595Test.java;h=81d3570d14bc8323688c43c47b7add6811174008;hb=6b2e2722172148449f7c50666543e065a919c790;hp=8505afc0202e4c51a708bc3c7c20610eedd25367;hpb=a656b5f9eaffaeb255e6bf539264bab20253c4e1;p=netconf.git diff --git a/restconf/sal-rest-connector/src/test/java/org/opendaylight/controller/sal/restconf/impl/test/Bug3595Test.java b/restconf/sal-rest-connector/src/test/java/org/opendaylight/controller/sal/restconf/impl/test/Bug3595Test.java index 8505afc020..81d3570d14 100644 --- a/restconf/sal-rest-connector/src/test/java/org/opendaylight/controller/sal/restconf/impl/test/Bug3595Test.java +++ b/restconf/sal-rest-connector/src/test/java/org/opendaylight/controller/sal/restconf/impl/test/Bug3595Test.java @@ -19,6 +19,7 @@ import org.opendaylight.yangtools.yang.common.QName; import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier; import org.opendaylight.yangtools.yang.model.api.Module; import org.opendaylight.yangtools.yang.model.api.SchemaContext; +import org.opendaylight.yangtools.yang.parser.spi.meta.ReactorException; public class Bug3595Test { @@ -30,8 +31,8 @@ public class Bug3595Test { private static ControllerContext controllerContext = ControllerContext.getInstance(); @BeforeClass - public static void initialize() throws FileNotFoundException { - SchemaContext schemaContext = TestUtils.loadSchemaContext("/leafref/yang"); + public static void initialize() throws FileNotFoundException, ReactorException { + final SchemaContext schemaContext = TestUtils.loadSchemaContext("/leafref/yang"); Module module = TestUtils.findModule(schemaContext.getModules(), "leafref-module"); assertNotNull(module); module = TestUtils.findModule(schemaContext.getModules(), "referenced-module");