org.jvnet.hudson.test
Class PluginAutomaticTestBuilder

java.lang.Object
  extended by 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
static class PluginAutomaticTestBuilder.CliSanityTest
           
 
Constructor Summary
PluginAutomaticTestBuilder()
           
 
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
 

Constructor Detail

PluginAutomaticTestBuilder

public PluginAutomaticTestBuilder()
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.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.