Bump to odlparent-8.0.0/yangtools-8.0.0-SNAPSHOT
[mdsal.git] / binding / maven-sal-api-gen-plugin / src / test / java / org / opendaylight / mdsal / binding / yang / unified / doc / generator / maven / YangModuleInfoCompilationTest.java
index cee5dfd251256aa84143c71b86bb4eaf2087d351..fbb4da42118ecb3ea381c434b254c5d8961dc70b 100644 (file)
@@ -149,7 +149,7 @@ public class YangModuleInfoCompilationTest {
         CodeGeneratorImpl codegen = new CodeGeneratorImpl();
         codegen.setBuildContext(new DefaultBuildContext());
         codegen.generateSources(context, sourcesOutputDir, Set.copyOf(context.getModules()),
-            module -> Optional.of(resourceDirPath + File.separator + module.getName()
+            (module, representation) -> Optional.of(resourceDirPath + File.separator + module.getName()
             + YangConstants.RFC6020_YANG_FILE_EXTENSION));
     }
 
@@ -163,7 +163,7 @@ public class YangModuleInfoCompilationTest {
         codegen.setMavenProject(new MavenProject());
         codegen.setAdditionalConfig(ImmutableMap.of("test", "test"));
         Collection<File> files = codegen.generateSources(context, null, Set.copyOf(context.getModules()),
-            module -> Optional.of(module.getName()));
+            (module, representation) -> Optional.of(module.getName()));
         assertFalse(files.isEmpty());
         files.forEach(file -> {
             deleteTestDir(file);