@Test
public void usesInGroupingDependenciesTest() throws IOException, SourceException, ReactorException {
List<File> testModels = loadTestResources("/uses-of-grouping/uses-of-grouping-dependencies.yang");
- final SchemaContext context = YangParserTestUtils.parseYangSources(testModels);
+ final SchemaContext context = YangParserTestUtils.parseYangFiles(testModels);
assertNotNull(context);
final BindingGenerator bindingGen = new BindingGeneratorImpl(true);
public void usesInCaseTest() throws IOException, SourceException, ReactorException {
List<File> testModels = loadTestResources("/uses-of-grouping/uses-of-grouping-case.yang");
- final SchemaContext context = YangParserTestUtils.parseYangSources(testModels);
+ final SchemaContext context = YangParserTestUtils.parseYangFiles(testModels);
assertNotNull(context);
final BindingGenerator bindingGen = new BindingGeneratorImpl(true);
public void usesInContainerTest() throws IOException, SourceException, ReactorException {
List<File> testModels = loadTestResources("/uses-of-grouping/uses-of-grouping-container.yang");
- final SchemaContext context = YangParserTestUtils.parseYangSources(testModels);
+ final SchemaContext context = YangParserTestUtils.parseYangFiles(testModels);
assertNotNull(context);
final BindingGenerator bindingGen = new BindingGeneratorImpl(true);
public void usesInGroupingTest() throws IOException, SourceException, ReactorException {
List<File> testModels = loadTestResources("/uses-of-grouping/uses-of-grouping-grouping.yang");
- final SchemaContext context = YangParserTestUtils.parseYangSources(testModels);
+ final SchemaContext context = YangParserTestUtils.parseYangFiles(testModels);
assertNotNull(context);
final BindingGenerator bindingGen = new BindingGeneratorImpl(true);
public void usesInListTest() throws IOException, SourceException, ReactorException {
List<File> testModels = loadTestResources("/uses-of-grouping/uses-of-grouping-list.yang");
- final SchemaContext context = YangParserTestUtils.parseYangSources(testModels);
+ final SchemaContext context = YangParserTestUtils.parseYangFiles(testModels);
assertNotNull(context);
final BindingGenerator bindingGen = new BindingGeneratorImpl(true);
public void usesInModulTest() throws IOException, SourceException, ReactorException {
List<File> testModels = loadTestResources("/uses-of-grouping/uses-of-grouping-modul.yang");
- final SchemaContext context = YangParserTestUtils.parseYangSources(testModels);
+ final SchemaContext context = YangParserTestUtils.parseYangFiles(testModels);
assertNotNull(context);
final BindingGenerator bindingGen = new BindingGeneratorImpl(true);
public void usesInRpcTest() throws IOException, SourceException, ReactorException {
List<File> testModels = loadTestResources("/uses-of-grouping/uses-of-grouping-rpc.yang");
- final SchemaContext context = YangParserTestUtils.parseYangSources(testModels);
+ final SchemaContext context = YangParserTestUtils.parseYangFiles(testModels);
assertNotNull(context);
final BindingGenerator bindingGen = new BindingGeneratorImpl(true);
public void usesInAugmentTest() throws IOException, SourceException, ReactorException {
List<File> testModels = loadTestResources("/uses-of-grouping/uses-of-grouping-augment.yang");
- final SchemaContext context = YangParserTestUtils.parseYangSources(testModels);
+ final SchemaContext context = YangParserTestUtils.parseYangFiles(testModels);
assertNotNull(context);
final BindingGenerator bindingGen = new BindingGeneratorImpl(true);
public void usesInNotification() throws IOException, SourceException, ReactorException {
List<File> testModels = loadTestResources("/uses-of-grouping/uses-of-grouping-notification.yang");
- final SchemaContext context = YangParserTestUtils.parseYangSources(testModels);
+ final SchemaContext context = YangParserTestUtils.parseYangFiles(testModels);
assertNotNull(context);
final BindingGenerator bindingGen = new BindingGeneratorImpl(true);