Fix broken tests according to yangtools changes
[mdsal.git] / binding / mdsal-binding-generator-impl / src / test / java / org / opendaylight / mdsal / binding / generator / impl / GenTypesSubSetTest.java
index e1d53a7dc8122598e850e9b0eab07f1a3b7f1446..4d907b044befe475a898bc67082ab8850ed1f7ff 100644 (file)
@@ -33,7 +33,7 @@ public class GenTypesSubSetTest {
         File ietfInetTypes = new File(getClass().getResource("/ietf/ietf-inet-types.yang").toURI());
         File ietfYangTypes = new File(getClass().getResource("/ietf/ietf-yang-types.yang").toURI());
 
-        final SchemaContext context = YangParserTestUtils.parseYangSources(abstractTopology, ietfInterfaces,
+        final SchemaContext context = YangParserTestUtils.parseYangFiles(abstractTopology, ietfInterfaces,
                 ietfInetTypes, ietfYangTypes);
         Set<Module> modules = context.getModules();
 
@@ -65,7 +65,7 @@ public class GenTypesSubSetTest {
         File ietfYangTypes = new File(getClass().getResource("/ietf/ietf-yang-types.yang").toURI());
         File ianaIfType = new File(getClass().getResource("/ietf/iana-if-type.yang").toURI());
 
-        final SchemaContext context = YangParserTestUtils.parseYangSources(abstractTopology, ietfInterfaces,
+        final SchemaContext context = YangParserTestUtils.parseYangFiles(abstractTopology, ietfInterfaces,
                 ietfInetTypes, ietfYangTypes, ianaIfType);
         assertNotNull("Schema Context is null", context);
         final Set<Module> modules = context.getModules();