Class GitScmTestUtils
java.lang.Object
org.apache.maven.scm.provider.git.GitScmTestUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
deleteAllDirectories
(File startDirectory, String pattern) static String
static void
static void
static void
setDefaultUser
(File repositoryRootFile)
-
Constructor Details
-
GitScmTestUtils
private GitScmTestUtils()
-
-
Method Details
-
initRepo
public static void initRepo(File repository, File workingDirectory, File assertionDirectory) throws IOException - Throws:
IOException
-
initRepo
public static void initRepo(String source, File repository, File workingDirectory) throws IOException - Throws:
IOException
-
getScmUrl
public static String getScmUrl(File repositoryRootFile, String provider) throws org.codehaus.plexus.util.cli.CommandLineException - Throws:
org.codehaus.plexus.util.cli.CommandLineException
-
deleteAllDirectories
- Throws:
IOException
-
setDefaultUser
-