Fix broken tests according to yangtools changes
[mdsal.git] / binding / mdsal-binding-generator-impl / src / test / java / org / opendaylight / mdsal / binding / generator / impl / GeneratedTypesBitsTest.java
index 8146fd4bf487d4c035da6126a4dd6cf14f80df40..ed89c6add02717f4a22ae740988bf02f40914889 100644 (file)
@@ -33,7 +33,7 @@ public class GeneratedTypesBitsTest {
     public void testGeneretedTypesBitsTest() throws Exception {
         final URI yangTypesPath = getClass().getResource("/simple-bits-demo.yang").toURI();
 
-        final SchemaContext context = YangParserTestUtils.parseYangSources(new File(yangTypesPath));
+        final SchemaContext context = YangParserTestUtils.parseYangFiles(new File(yangTypesPath));
         assertTrue(context != null);
 
         final BindingGenerator bindingGen = new BindingGeneratorImpl(true);