org.apache.maven.scm.provider.git.gitexe.command.info
Class GitInfoCommandTckTest

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.gitexe.command.info.GitInfoCommandTckTest
All Implemented Interfaces:
junit.framework.Test

public class GitInfoCommandTckTest
extends ScmTestCase

Author:
Olivier Lamy

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
GitInfoCommandTckTest()
           
 
Method Summary
protected  File getRepositoryRoot()
           
 String getScmUrl()
           
protected  File getWorkingCopy()
           
 void testInfoCommand()
           
 void testInfoCommandWithNegativeShortRevision()
           
 void testInfoCommandWithShortRevision()
           
 void testInfoCommandWithZeroShortRevision()
           
 
Methods inherited from class org.apache.maven.scm.ScmTestCase
assertCommandLine, assertFile, assertPath, assertResultIsSuccess, execute, getAssertionCopy, getDate, getDate, getDate, getModule, getRepository, getScmFileSet, getScmManager, getUpdatingCopy, getWorkingDirectory, isSystemCmd, makeDirectory, makeFile, makeFile, makeScmRepository, printOutputError, setDebugExecute, setUp
 
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

GitInfoCommandTckTest

public GitInfoCommandTckTest()
Method Detail

testInfoCommand

public void testInfoCommand()
                     throws Exception
Throws:
Exception

testInfoCommandWithShortRevision

public void testInfoCommandWithShortRevision()
                                      throws Exception
Throws:
Exception

testInfoCommandWithNegativeShortRevision

public void testInfoCommandWithNegativeShortRevision()
                                              throws Exception
Throws:
Exception

testInfoCommandWithZeroShortRevision

public void testInfoCommandWithZeroShortRevision()
                                          throws Exception
Throws:
Exception

getRepositoryRoot

protected File getRepositoryRoot()
Overrides:
getRepositoryRoot in class ScmTestCase

getScmUrl

public String getScmUrl()
                 throws Exception
Throws:
Exception

getWorkingCopy

protected File getWorkingCopy()
Overrides:
getWorkingCopy in class ScmTestCase


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