mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-18 03:01:05 +01:00
execute CreateRepositoryITCase for git, subversion and mercurial
This commit is contained in:
@@ -76,8 +76,6 @@ public class CreateRepositoriesITCase extends AbstractAdminITCaseBase
|
|||||||
*/
|
*/
|
||||||
public CreateRepositoriesITCase(String repositoryType)
|
public CreateRepositoriesITCase(String repositoryType)
|
||||||
{
|
{
|
||||||
System.out.append("==> CreateRepositoriesITCase - ").println(
|
|
||||||
repositoryType);
|
|
||||||
this.repositoryType = repositoryType;
|
this.repositoryType = repositoryType;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -92,14 +90,14 @@ public class CreateRepositoriesITCase extends AbstractAdminITCaseBase
|
|||||||
@Parameters
|
@Parameters
|
||||||
public static Collection<String[]> createParameters()
|
public static Collection<String[]> createParameters()
|
||||||
{
|
{
|
||||||
Collection<String[]> params = new ArrayList<String[]>();
|
Collection<String[]> params = new ArrayList<>();
|
||||||
|
|
||||||
params.add(new String[] { "git" });
|
params.add(new String[] { "git" });
|
||||||
params.add(new String[] { "git" });
|
params.add(new String[] { "svn" });
|
||||||
|
|
||||||
if (IOUtil.search("hg") != null)
|
if (IOUtil.search("hg") != null)
|
||||||
{
|
{
|
||||||
params.add(new String[] { "git" });
|
params.add(new String[] { "hg" });
|
||||||
}
|
}
|
||||||
|
|
||||||
return params;
|
return params;
|
||||||
|
|||||||
Reference in New Issue
Block a user