org.jvnet.hudson.test
Class PluginAutomaticTestBuilder
java.lang.Object
org.jvnet.hudson.test.PluginAutomaticTestBuilder
public class PluginAutomaticTestBuilder
- extends Object
Called by the code generated by maven-hpi-plugin to build tests for plugins.
- Author:
- Kohsuke Kawaguchi
Method Summary |
static junit.framework.TestSuite |
build(Map<String,?> params)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PluginAutomaticTestBuilder
public PluginAutomaticTestBuilder()
build
public static junit.framework.TestSuite build(Map<String,?> params)
throws Exception
- Parameters:
params
- Various information about the plugin that maven-hpi-plugin adds.
As of 1.52, this includes the followings:
basedir (String) : directory that contains pom.xml
artifactId (String) : artifact ID of the plugin
outputDirectory (String) : target/classes dir where class files and resources can be found
testOutputDirectory (String) : target/test-classes.
- Throws:
Exception
Copyright © 2004-2013. All Rights Reserved.