import org.opendaylight.yangtools.yang.model.api.SchemaContext;
import org.opendaylight.yangtools.yang.parser.spi.meta.ReactorException;
import org.opendaylight.yangtools.yang.parser.spi.source.SourceException;
+import org.opendaylight.yangtools.yang.test.util.YangParserTestUtils;
public class GeneratedTypesStringTest {
- private final static List<File> testModels = new ArrayList<File>();
+ private final static List<File> testModels = new ArrayList<>();
@BeforeClass
public static void loadTestResources() throws URISyntaxException {
@Test
public void constantGenerationTest() throws IOException, SourceException, ReactorException {
- final SchemaContext context = TestUtils.parseYangSources(testModels);
+ final SchemaContext context = YangParserTestUtils.parseYangSources(testModels);
assertNotNull(context);
final BindingGenerator bindingGen = new BindingGeneratorImpl(true);