public final class GitScmTestUtils extends Object
Modifier and Type | Method and Description |
---|---|
static void |
deleteAllDirectories(File startDirectory,
String pattern) |
static String |
getScmUrl(File repositoryRootFile,
String provider) |
static void |
initRepo(File repository,
File workingDirectory,
File assertionDirectory) |
static void |
initRepo(String source,
File repository,
File workingDirectory) |
static void |
setDefaultUser(File repositoryRootFile) |
public static void initRepo(File repository, File workingDirectory, File assertionDirectory) throws IOException
IOException
public static void initRepo(String source, File repository, File workingDirectory) throws IOException
IOException
public static String getScmUrl(File repositoryRootFile, String provider) throws org.codehaus.plexus.util.cli.CommandLineException
org.codehaus.plexus.util.cli.CommandLineException
public static void deleteAllDirectories(File startDirectory, String pattern) throws IOException
IOException
public static void setDefaultUser(File repositoryRootFile)
Copyright © 2003–2021 The Apache Software Foundation. All rights reserved.