提交 22b34f5d 编写于 作者: K kohsuke

added one more convenience method

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@13183 71c3de6d-444a-0410-be80-ed276b4c234a
上级 c16b0e91
......@@ -23,6 +23,7 @@ import hudson.tasks.Mailer;
import hudson.Launcher.LocalLauncher;
import hudson.util.StreamTaskListener;
import hudson.util.ProcessTreeKiller;
import hudson.maven.MavenModuleSet;
import junit.framework.TestCase;
import org.jvnet.hudson.test.HudsonHomeLoader.CopyExisting;
import org.jvnet.hudson.test.recipes.Recipe;
......@@ -221,6 +222,10 @@ public abstract class HudsonTestCase extends TestCase {
return (MatrixProject)hudson.createProject(MatrixProject.DESCRIPTOR,name);
}
protected MavenModuleSet createMavenProject(String name) throws IOException {
return (MavenModuleSet)hudson.createProject(MavenModuleSet.DESCRIPTOR,name);
}
/**
* Creates {@link LocalLauncher}. Useful for launching processes.
*/
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册