Adjust to yangtools-2.0.0 changes
[mdsal.git] / binding2 / mdsal-binding2-java-api-generator / src / test / java / org / opendaylight / mdsal / binding / javav2 / java / api / generator / GeneratorJavaFileTest.java
index 57c7e8d95883367f3a1bf30cc6d36edea5083ecf..34f82e2ed860834a2d194a9a4ef56b7bf3656e51 100644 (file)
@@ -27,7 +27,7 @@ public class GeneratorJavaFileTest {
 
     @Test
     public void generatedFilesTest() throws Exception {
-        final SchemaContext context = YangParserTestUtils.parseYangSources("/base/with_import/");
+        final SchemaContext context = YangParserTestUtils.parseYangResourceDirectory("/base/with_import/");
         final BindingGenerator bindingGenerator = new BindingGeneratorImpl(true);
         final List<Type> types = bindingGenerator.generateTypes(context, context.getModules());
         final BuildContext buildContext = new DefaultBuildContext();