X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=yang%2Fyang-parser-impl%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fyangtools%2Fyang%2Fstmt%2FDeviationStmtTest.java;h=7adc4f9595fefc7398cb56011a708ec472b3fab6;hb=5079ec96bfeeb7a6ff66e71a114033c7d6c5c7a3;hp=a7f9658595508362108b508268ff40e0dffb7a9a;hpb=4f1692c802228d396f60fa2374646024781c1c12;p=yangtools.git diff --git a/yang/yang-parser-impl/src/test/java/org/opendaylight/yangtools/yang/stmt/DeviationStmtTest.java b/yang/yang-parser-impl/src/test/java/org/opendaylight/yangtools/yang/stmt/DeviationStmtTest.java index a7f9658595..7adc4f9595 100644 --- a/yang/yang-parser-impl/src/test/java/org/opendaylight/yangtools/yang/stmt/DeviationStmtTest.java +++ b/yang/yang-parser-impl/src/test/java/org/opendaylight/yangtools/yang/stmt/DeviationStmtTest.java @@ -34,12 +34,14 @@ import org.opendaylight.yangtools.yang.parser.stmt.rfc6020.YangInferencePipeline public class DeviationStmtTest { private static final StatementStreamSource FOO_MODULE = sourceForResource("/deviation-stmt-test/foo.yang"); + private static final StatementStreamSource FOO_IMP_MODULE = sourceForResource("/deviation-stmt-test/foo-imp.yang"); private static final StatementStreamSource BAR_MODULE = sourceForResource("/deviation-stmt-test/bar.yang"); + private static final StatementStreamSource BAR_IMP_MODULE = sourceForResource("/deviation-stmt-test/bar-imp.yang"); @Test public void testDeviationAndDeviate() throws ReactorException, ParseException { final CrossSourceStatementReactor.BuildAction reactor = YangInferencePipeline.RFC6020_REACTOR.newBuild(); - reactor.addSources(FOO_MODULE, BAR_MODULE); + reactor.addSources(FOO_MODULE, FOO_IMP_MODULE, BAR_MODULE, BAR_IMP_MODULE); final SchemaContext schemaContext = reactor.buildEffective(); assertNotNull(schemaContext);