Remove deprecated Yin/YangStatementSourceImpl
[yangtools.git] / yang / yang-model-export / src / test / java / org / opendaylight / yangtools / yang / model / export / test / SchemaContextEmitterTest.java
index 1b421f793f4d754065d361cffcf2608eca843e64..1ef59e0b9fdc2c4d416a60ac4519b32e7ec65c77 100644 (file)
@@ -36,7 +36,8 @@ public class SchemaContextEmitterTest {
     @Test
     public void testSchemaContextEmitter() throws ReactorException, IOException, URISyntaxException,
             XMLStreamException, SAXException {
-        final SchemaContext schemaContext = YangParserTestUtils.parseYangSources("/schema-context-emitter-test");
+        final SchemaContext schemaContext = YangParserTestUtils.parseYangResourceDirectory(
+            "/schema-context-emitter-test");
         assertNotNull(schemaContext);
         assertEquals(1, schemaContext.getModules().size());