Fix broken tests according to yangtools changes
[mdsal.git] / binding / mdsal-binding-generator-impl / src / test / java / org / opendaylight / mdsal / binding / generator / impl / GenerateInnerClassForBitsAndUnionInLeavesTest.java
index 624b0a4b897ff4789a76e1e2ab90b0fe486fa9a1..fb0b51fcb5011ab7f75c7f613b2b2883a848b3c7 100644 (file)
@@ -28,7 +28,7 @@ public class GenerateInnerClassForBitsAndUnionInLeavesTest {
     public void testInnerClassCreationForBitsAndUnionsInLeafes() throws Exception {
         final URI yangTypesPath = getClass().getResource("/bit_and_union_in_leaf.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);