org.apache.maven.scm.provider.git.repository
Class GitScmProviderRepositoryTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.codehaus.plexus.PlexusTestCase
              extended by org.apache.maven.scm.ScmTestCase
                  extended by org.apache.maven.scm.provider.git.repository.GitScmProviderRepositoryTest
All Implemented Interfaces:
junit.framework.Test

public class GitScmProviderRepositoryTest
extends ScmTestCase

Version:
$Id: GitScmProviderRepositoryTest.java 1241119 2012-02-06 19:17:32Z struberg $
Author:
Emmanuel Venisse

Field Summary
 
Fields inherited from class org.apache.maven.scm.ScmTestCase
GMT_TIME_ZONE
 
Fields inherited from class org.codehaus.plexus.PlexusTestCase
basedir, container
 
Constructor Summary
GitScmProviderRepositoryTest()
           
 
Method Summary
 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()
           
 
Methods inherited from class org.apache.maven.scm.ScmTestCase
assertCommandLine, assertFile, assertPath, assertResultIsSuccess, execute, getAssertionCopy, getDate, getDate, getDate, getModule, getRepository, getRepositoryRoot, getScmFileSet, getScmManager, getUpdatingCopy, getWorkingCopy, getWorkingDirectory, isSystemCmd, makeDirectory, makeFile, makeFile, makeScmRepository, printOutputError, setDebugExecute
 
Methods inherited from class org.codehaus.plexus.PlexusTestCase
createContainerInstance, customizeContext, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getContainer, getCustomConfiguration, getResourceAsStream, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, release, tearDown
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GitScmProviderRepositoryTest

public GitScmProviderRepositoryTest()
Method Detail

setUp

public void setUp()
           throws Exception
Overrides:
setUp in class ScmTestCase
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,
                          ScmRepositoryException
Throws:
Exception
ScmRepositoryException

testGitDevURLWIthPort

public void testGitDevURLWIthPort()
                           throws Exception,
                                  ScmRepositoryException
Throws:
Exception
ScmRepositoryException

testGitDevUrlWithNumberedRepoAndNoPort

public void testGitDevUrlWithNumberedRepoAndNoPort()
                                            throws Exception,
                                                   ScmRepositoryException
Throws:
Exception
ScmRepositoryException

testGitDevUrlWithNumberedRepoAndMinus

public void testGitDevUrlWithNumberedRepoAndMinus()
                                           throws Exception,
                                                  ScmRepositoryException
Throws:
Exception
ScmRepositoryException

testLegalGitPortUrl

public void testLegalGitPortUrl()
                         throws Exception
Throws:
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


Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.