Class GitScmProviderRepositoryTest
- java.lang.Object
-
- org.apache.maven.scm.PlexusJUnit4TestCase
-
- org.apache.maven.scm.ScmTestCase
-
- org.apache.maven.scm.provider.git.repository.GitScmProviderRepositoryTest
-
public class GitScmProviderRepositoryTest extends ScmTestCase
- Author:
- Emmanuel Venisse
-
-
Field Summary
-
Fields inherited from class org.apache.maven.scm.ScmTestCase
GMT_TIME_ZONE
-
Fields inherited from class org.apache.maven.scm.PlexusJUnit4TestCase
testName
-
-
Constructor Summary
Constructors Constructor Description GitScmProviderRepositoryTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
nottestIllegalFileUrl()
void
setUp()
void
testGetParent()
void
testGitDevURL()
void
testGitDevUrlWithNumberedRepoAndMinus()
void
testGitDevUrlWithNumberedRepoAndNoPort()
void
testGitDevURLWIthPort()
void
testHttpFetchSshPushUrl()
void
testLegalFileHomeURL()
void
testLegalFileURL()
void
testLegalFileWindowsURL()
void
testLegalGitPortUrl()
void
testLegalGitURL()
void
testLegalHistnameFileURL()
void
testLegalHttpsURL()
void
testLegalHttpsURLWithUser()
void
testLegalHttpsURLWithUserPassword()
void
testLegalHttpURL()
void
testLegalHttpURLWithUser()
void
testLegalHttpURLWithUserPassword()
void
testLegalLocalhostFileURL()
void
testLegalSshHomeURL()
void
testLegalSshURLWithUser()
void
testLegalSshURLWithUserPassword()
void
testSpecialCharacters()
void
testUsernameWithAtAndPasswordInUrl()
-
Methods inherited from class org.apache.maven.scm.ScmTestCase
assertCommandLine, assertFile, assertPath, assertResultIsSuccess, checkSystemCmdPresence, customizeContainerConfiguration, deleteDirectory, execute, getAssertionCopy, getDate, getDate, getDate, getRepository, getRepositoryRoot, getScmFileSet, getScmManager, getUpdatingCopy, getWorkingCopy, getWorkingDirectory, isSystemCmd, makeDirectory, makeFile, makeFile, makeScmRepository, printOutputError, setDebugExecute
-
Methods inherited from class org.apache.maven.scm.PlexusJUnit4TestCase
customizeComponentConfiguration, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getConfigurationName, getContainer, getCustomConfigurationName, getCustomModules, getName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, lookupMap, release, setupContainer, tearDown
-
-
-
-
Constructor Detail
-
GitScmProviderRepositoryTest
public GitScmProviderRepositoryTest()
-
-
Method Detail
-
setUp
public void setUp() throws Exception
- Overrides:
setUp
in classScmTestCase
- Throws:
Exception
-
testLegalFileURL
public void testLegalFileURL() throws Exception
- Throws:
Exception
-
testLegalFileHomeURL
public void testLegalFileHomeURL() throws Exception
- Throws:
Exception
-
testLegalSshHomeURL
public void testLegalSshHomeURL() throws Exception
- Throws:
Exception
-
testLegalLocalhostFileURL
public void testLegalLocalhostFileURL() throws Exception
- Throws:
Exception
-
testLegalHistnameFileURL
public void testLegalHistnameFileURL() throws Exception
- Throws:
Exception
-
testLegalHttpURL
public void testLegalHttpURL() throws Exception
- Throws:
Exception
-
testLegalHttpURLWithUser
public void testLegalHttpURLWithUser() throws Exception
- Throws:
Exception
-
testLegalHttpURLWithUserPassword
public void testLegalHttpURLWithUserPassword() throws Exception
- Throws:
Exception
-
testLegalHttpsURL
public void testLegalHttpsURL() throws Exception
- Throws:
Exception
-
testLegalFileWindowsURL
public void testLegalFileWindowsURL() throws Exception
- Throws:
Exception
-
testLegalHttpsURLWithUser
public void testLegalHttpsURLWithUser() throws Exception
- Throws:
Exception
-
testLegalHttpsURLWithUserPassword
public void testLegalHttpsURLWithUserPassword() throws Exception
- Throws:
Exception
-
testLegalSshURLWithUser
public void testLegalSshURLWithUser() throws Exception
- Throws:
Exception
-
testLegalSshURLWithUserPassword
public void testLegalSshURLWithUserPassword() throws Exception
- Throws:
Exception
-
testLegalGitURL
public void testLegalGitURL() throws Exception
- Throws:
Exception
-
testGitDevURL
public void testGitDevURL() throws Exception, org.apache.maven.scm.repository.ScmRepositoryException
- Throws:
Exception
org.apache.maven.scm.repository.ScmRepositoryException
-
testGitDevURLWIthPort
public void testGitDevURLWIthPort() throws Exception, org.apache.maven.scm.repository.ScmRepositoryException
- Throws:
Exception
org.apache.maven.scm.repository.ScmRepositoryException
-
testGitDevUrlWithNumberedRepoAndNoPort
public void testGitDevUrlWithNumberedRepoAndNoPort() throws Exception, org.apache.maven.scm.repository.ScmRepositoryException
- Throws:
Exception
org.apache.maven.scm.repository.ScmRepositoryException
-
testGitDevUrlWithNumberedRepoAndMinus
public void testGitDevUrlWithNumberedRepoAndMinus() throws Exception, org.apache.maven.scm.repository.ScmRepositoryException
- Throws:
Exception
org.apache.maven.scm.repository.ScmRepositoryException
-
testSpecialCharacters
public void testSpecialCharacters() throws Exception
- Throws:
Exception
-
testLegalGitPortUrl
public void testLegalGitPortUrl() throws Exception
- Throws:
Exception
-
testUsernameWithAtAndPasswordInUrl
public void testUsernameWithAtAndPasswordInUrl() throws org.apache.maven.scm.repository.ScmRepositoryException, Exception
- Throws:
org.apache.maven.scm.repository.ScmRepositoryException
Exception
-
testHttpFetchSshPushUrl
public void testHttpFetchSshPushUrl() throws Exception
- Throws:
Exception
-
nottestIllegalFileUrl
public void nottestIllegalFileUrl() throws Exception
- Throws:
Exception
-
testGetParent
public void testGetParent() throws Exception
- Throws:
Exception
-
-