org.apache.maven.scm.provider.integrity.repository
Class IntegrityScmProviderRepositoryTest

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.integrity.repository.IntegrityScmProviderRepositoryTest
All Implemented Interfaces:
junit.framework.Test

public class IntegrityScmProviderRepositoryTest
extends ScmTestCase

IntegrityScmProviderRepositoryTest

Version:
$Id: IntegrityScmProviderRepositoryTest.java 1.1 2011/08/29 00:30:11EDT Cletus D'Souza (dsouza) Exp $
Author:
Cletus D'Souza

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
IntegrityScmProviderRepositoryTest()
           
 
Method Summary
 void setUp()
          Initialize our ScmManager object
 void testMinimumUrlString()
          Executes a test with the bare minimum required for the Integrity Scm URL String
 void testWithHostAndPort()
          Executes a test with only the hostname and port specified
 void testWithHostname()
          Executes a test with only the hostname specified
 void testWithUser()
          Executes a test with only the username specified
 void testWithUserAndHost()
          Executes a test with the username and hostname specified
 void testWithUserAndHostPort()
          Executes a test with the username and hostname plus port specified
 void testWithUserAndPassword()
          Executes a test with the username and password specified
 void testWithUserPasswordAndHost()
          Executes a test with the username and password plus hostname specified
 void testWithWholeURL()
          Executes a test with all the components of the SCM URL string specified
 
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

IntegrityScmProviderRepositoryTest

public IntegrityScmProviderRepositoryTest()
Method Detail

setUp

public void setUp()
           throws Exception
Initialize our ScmManager object

Overrides:
setUp in class ScmTestCase
Throws:
Exception

testMinimumUrlString

public void testMinimumUrlString()
                          throws Exception
Executes a test with the bare minimum required for the Integrity Scm URL String

Throws:
Exception

testWithHostname

public void testWithHostname()
                      throws Exception
Executes a test with only the hostname specified

Throws:
Exception

testWithHostAndPort

public void testWithHostAndPort()
                         throws Exception
Executes a test with only the hostname and port specified

Throws:
Exception

testWithUser

public void testWithUser()
                  throws Exception
Executes a test with only the username specified

Throws:
Exception

testWithUserAndPassword

public void testWithUserAndPassword()
                             throws Exception
Executes a test with the username and password specified

Throws:
Exception

testWithUserAndHost

public void testWithUserAndHost()
                         throws Exception
Executes a test with the username and hostname specified

Throws:
Exception

testWithUserAndHostPort

public void testWithUserAndHostPort()
                             throws Exception
Executes a test with the username and hostname plus port specified

Throws:
Exception

testWithUserPasswordAndHost

public void testWithUserPasswordAndHost()
                                 throws Exception
Executes a test with the username and password plus hostname specified

Throws:
Exception

testWithWholeURL

public void testWithWholeURL()
                      throws Exception
Executes a test with all the components of the SCM URL string specified

Throws:
Exception


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