Package org.jvnet.hudson.test
Class PluginAutomaticTestBuilder
java.lang.Object
org.jvnet.hudson.test.PluginAutomaticTestBuilder
Called by the code generated by maven-hpi-plugin to build tests for plugins.
- Author:
- Kohsuke Kawaguchi
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionInjectedTest
mistakenly callsbuild(java.util.Map<java.lang.String, ?>)
as an instance method, and uses this constructor. -
Method Summary
-
Constructor Details
-
PluginAutomaticTestBuilder
public PluginAutomaticTestBuilder()InjectedTest
mistakenly callsbuild(java.util.Map<java.lang.String, ?>)
as an instance method, and uses this constructor.
-
-
Method Details
-
build
- Parameters:
params
- Various information about the plugin that maven-hpi-plugin adds. As of 1.119, this includes the followings: basedir (String) : directory that contains pom.xml artifactId (String) : artifact ID from the pom.xml packaging (String) : packaging of from the pom.xml (used to determine if the pom is a plugin or not) outputDirectory (String) : target/classes dir where class files and resources can be found testOutputDirectory (String) : target/test-classes. requirePI (String) : eithertrue
to verify that all the jelly scripts have the Jelly XSS PI in them orfalse
to ignore any missing ones.- Throws:
Exception
-