mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-20 07:22:32 +00:00
Added convenience method
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@12247 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
700ac88485
commit
32392b0037
1 file changed
+8
@@ -205,6 +205,14 @@ public abstract class HudsonTestCase extends TestCase {
|
||||
return (FreeStyleProject)hudson.createProject(FreeStyleProject.DESCRIPTOR,name);
|
||||
}
|
||||
|
||||
protected MatrixProject createMatrixProject() throws IOException {
|
||||
return createMatrixProject("test");
|
||||
}
|
||||
|
||||
protected MatrixProject createMatrixProject(String name) throws IOException {
|
||||
return (MatrixProject)hudson.createProject(MatrixProject.DESCRIPTOR,name);
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates {@link LocalLauncher}. Useful for launching processes.
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user