Convert parser extensions into JPMS modules
[yangtools.git] / parser / rfc6241-parser-support / src / test / java / org / opendaylight / yangtools / rfc6241 / parser / NetconfTest.java
index 450fc51ce79c54ba27ae118c7fb141d882fc2bfc..44f8b834ceac0536ee28166267b9ebdc88a007da 100644 (file)
@@ -34,9 +34,9 @@ class NetconfTest {
             .build();
         final var context = reactor.newBuild()
             .addLibSources(YangStatementStreamSource.create(
-                YangTextSchemaSource.forResource("/ietf-inet-types@2013-07-15.yang")))
+                YangTextSchemaSource.forResource(NetconfTest.class, "/ietf-inet-types@2013-07-15.yang")))
             .addSource(YangStatementStreamSource.create(
-                YangTextSchemaSource.forResource("/ietf-netconf@2011-06-01.yang")))
+                YangTextSchemaSource.forResource(NetconfTest.class, "/ietf-netconf@2011-06-01.yang")))
             .buildEffective();
 
         final var module = context.findModule(NetconfConstants.RFC6241_MODULE).orElseThrow();