Package io.hawt

Source Code of io.hawt.JsonSchemaGeneratorMojoTest

package io.hawt;

import io.hawt.jsonschema.maven.plugin.JsonSchemaGeneratorMojo;
import org.apache.maven.plugin.testing.AbstractMojoTestCase;

import java.io.File;

/**
* @author Stan Lewis
*/
public class JsonSchemaGeneratorMojoTest extends AbstractMojoTestCase {

    /*
    @Override
    protected void setUp() throws Exception {
        super.setUp();
    }
    */

    public void testMojoGoal()  throws Exception {
        File testPom = new File( getBasedir(), "/target/test-classes/test-pom.xml");
        JsonSchemaGeneratorMojo mojo = new JsonSchemaGeneratorMojo();
        configureMojo(mojo, "hawtio-json-schema-generator-plugin", testPom);
        mojo.execute();
    }

}
TOP

Related Classes of io.hawt.JsonSchemaGeneratorMojoTest

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.