X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fsal%2Fyang-prototype%2Fyang%2Fmaven-yang%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fyang2sources%2Fspi%2FCodeGeneratorTestImpl.java;fp=opendaylight%2Fsal%2Fyang-prototype%2Fyang%2Fmaven-yang%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fyang2sources%2Fspi%2FCodeGeneratorTestImpl.java;h=0000000000000000000000000000000000000000;hp=3103042f9970c4d2d24ab606f709322f8daa85e4;hb=e0e2b9f77ecf0bf2353dba9a448e1901194648d3;hpb=970fb91c60c15a9b57e078f81aab7dde903addb9 diff --git a/opendaylight/sal/yang-prototype/yang/maven-yang/src/test/java/org/opendaylight/controller/yang2sources/spi/CodeGeneratorTestImpl.java b/opendaylight/sal/yang-prototype/yang/maven-yang/src/test/java/org/opendaylight/controller/yang2sources/spi/CodeGeneratorTestImpl.java deleted file mode 100644 index 3103042f99..0000000000 --- a/opendaylight/sal/yang-prototype/yang/maven-yang/src/test/java/org/opendaylight/controller/yang2sources/spi/CodeGeneratorTestImpl.java +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v1.0 which accompanies this distribution, - * and is available at http://www.eclipse.org/legal/epl-v10.html - */ -package org.opendaylight.controller.yang2sources.spi; - -import java.io.File; -import java.util.Collection; -import java.util.Map; -import java.util.Set; - -import org.apache.maven.plugin.logging.Log; -import org.apache.maven.project.MavenProject; -import org.opendaylight.controller.yang.model.api.Module; -import org.opendaylight.controller.yang.model.api.SchemaContext; - -public class CodeGeneratorTestImpl implements CodeGenerator { - - private Log log; - - @Override - public Collection generateSources(SchemaContext context, - File outputBaseDir, Set currentModuleBuilders) { - if (log != null) { - log.debug(getClass().getCanonicalName() - + " generateSources:context: " + context); - log.debug(getClass().getCanonicalName() - + " generateSources:outputBaseDir: " + outputBaseDir); - log.debug(getClass().getCanonicalName() - + " generateSources:currentModuleBuilders: " - + currentModuleBuilders); - - } - return null; - } - - @Override - public void setLog(Log log) { - this.log = log; - } - - @Override - public void setAdditionalConfig(Map additionalConfiguration) { - if (log != null) - log.debug(getClass().getCanonicalName() + " additionalConfig: " - + additionalConfiguration); - } - - - @Override - public void setResourceBaseDir(File resourceBaseDir) { - if (log != null) - log.debug(getClass().getCanonicalName() + " resourceBaseDir: " - + resourceBaseDir); - } - - @Override - public void setMavenProject(MavenProject project) { - if (log != null) - log.debug(getClass().getCanonicalName() + " maven project: " - + project); - } - -}