Class GitChangeLogCommandTckTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.codehaus.plexus.PlexusTestCase
org.apache.maven.scm.ScmTestCase
org.apache.maven.scm.ScmTckTestCase
org.apache.maven.scm.tck.command.changelog.ChangeLogCommandTckTest
org.apache.maven.scm.provider.git.command.changelog.GitChangeLogCommandTckTest
- All Implemented Interfaces:
junit.framework.Test
-
Field Summary
FieldsFields inherited from class org.apache.maven.scm.ScmTestCase
GMT_TIME_ZONE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CheckOutScmResult
checkOut
(File workingDirectory, ScmRepository repository) Convenience method to check out files from the repositoryvoid
initRepo()
Initialize repository at theScmTckTestCase.getScmUrl()
location with the files inScmTckTestCase.getScmFileNames()
void
void
void
void
void
void
void
void
Methods inherited from class org.apache.maven.scm.tck.command.changelog.ChangeLogCommandTckTest
testChangeLogCommand
Methods inherited from class org.apache.maven.scm.ScmTckTestCase
addToWorkingTree, checkIn, edit, getScmFileNames, getScmRepository, getScmUrl, mapFilesByPath, removeRepo, setUp, tearDown
Methods inherited from class org.apache.maven.scm.ScmTestCase
assertCommandLine, assertFile, assertPath, assertResultIsSuccess, deleteDirectory, execute, getAssertionCopy, getDate, getDate, getDate, getRepository, getRepositoryRoot, getScmFileSet, getScmManager, getSecDispatcher, getUpdatingCopy, getWorkingCopy, getWorkingDirectory, isSystemCmd, makeDirectory, makeFile, makeFile, makeScmRepository, printOutputError, printSystemCmdUnavail, setDebugExecute
Methods inherited from class org.codehaus.plexus.PlexusTestCase
customizeContainerConfiguration, customizeContext, getBasedir, getClassLoader, getConfigurationName, getContainer, getCustomConfigurationName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release, setupContainer, teardownContainer
Methods inherited from class junit.framework.TestCase
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
-
Field Details
-
SLEEP_TIME_IN_MILLIS
public static final long SLEEP_TIME_IN_MILLIS- See Also:
-
-
Constructor Details
-
GitChangeLogCommandTckTest
public GitChangeLogCommandTckTest()
-
-
Method Details
-
initRepo
Initialize repository at theScmTckTestCase.getScmUrl()
location with the files inScmTckTestCase.getScmFileNames()
The setup is also asserting on the existence of these files.
This should only be used by this class (thus do not call this method from derived classes) Note: 'svnadmin' should be a system command.- Specified by:
initRepo
in classScmTckTestCase
- Throws:
Exception
- if any
-
checkOut
protected CheckOutScmResult checkOut(File workingDirectory, ScmRepository repository) throws Exception Description copied from class:ScmTckTestCase
Convenience method to check out files from the repository- Overrides:
checkOut
in classScmTckTestCase
- Throws:
Exception
-
testChangeLogCommandFromHeadAncestorAndHead
- Throws:
Exception
-
testChangeLogCommandFromHeadToHead
- Throws:
Exception
-
testChangeLogCommandFromUndefinedToHead
- Throws:
Exception
-
testChangeLogCommandFromVersionToUndefined
- Throws:
Exception
-
testChangeLogCommandFromVoneToVtwo
- Throws:
Exception
-
testChangeLogCommandWithStartEndInBadOrder
- Throws:
Exception
-
testChangeLogCommandFromHeadToStartOfRepository
- Throws:
Exception
-
testChangeLogCommandFromVersionToStartOfRepository
- Throws:
Exception
-