Package 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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PluginAutomaticTestBuilder.OtherTests
-
Constructor Summary
Constructors Constructor Description PluginAutomaticTestBuilder()
InjectedTest
mistakenly callsbuild(java.util.Map<java.lang.String, ?>)
as an instance method, and uses this constructor.
-
-
-
Constructor Detail
-
PluginAutomaticTestBuilder
public PluginAutomaticTestBuilder()
InjectedTest
mistakenly callsbuild(java.util.Map<java.lang.String, ?>)
as an instance method, and uses this constructor.
-
-
Method Detail
-
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.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
-
-