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:
redsolo committed 2008-09-20 07:29:44 +00:00
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.
*/