Class GitChangeLogCommandTckTest
java.lang.Object
org.apache.maven.scm.PlexusJUnit4TestSupport
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
- Author:
- Mark Struberg
-
Field Summary
FieldsFields inherited from class org.apache.maven.scm.ScmTestCase
GMT_TIME_ZONEFields inherited from class org.apache.maven.scm.PlexusJUnit4TestSupport
testName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CheckOutScmResultcheckOut(File workingDirectory, ScmRepository repository) Convenience method to check out files from the repositoryvoidinitRepo()Initialize repository at theScmTckTestCase.getScmUrl()location with the files inScmTckTestCase.getScmFileNames()voidvoidvoidvoidvoidvoidvoidvoidMethods inherited from class org.apache.maven.scm.tck.command.changelog.ChangeLogCommandTckTest
isTagAnExtraCommit, testChangeLogCommandMethods inherited from class org.apache.maven.scm.ScmTckTestCase
addToWorkingTree, checkIn, checkScmPresence, edit, getScmFileNames, getScmProviderCommand, getScmRepository, getScmUrl, mapFilesByPath, remove, removeRepo, setUp, tearDownMethods inherited from class org.apache.maven.scm.ScmTestCase
assertCommandLine, assertFile, assertPath, assertResultIsSuccess, checkScmPresence, customizeContainerConfiguration, deleteDirectory, execute, getAssertionCopy, getDate, getDate, getDate, getRepository, getRepositoryRoot, getScmFileSet, getScmManager, getUpdatingCopy, getWorkingCopy, getWorkingDirectory, isSystemCmd, makeDirectory, makeFile, makeFile, makeScmRepository, printOutputError, printSystemCmdUnavail, setDebugExecuteMethods inherited from class org.apache.maven.scm.PlexusJUnit4TestSupport
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
-
Field Details
-
SLEEP_TIME_IN_MILLIS
- See Also:
-
-
Constructor Details
-
GitChangeLogCommandTckTest
public GitChangeLogCommandTckTest()
-
-
Method Details
-
initRepo
Initialize repository at the
ScmTckTestCase.getScmUrl()location with the files inScmTckTestCase.getScmFileNames()The setup is also asserting on the existence of these files.
Note: 'svnadmin' should be a system command.
This should only be used by this class (thus do not call this method from derived classes)- Specified by:
initRepoin classScmTckTestCase- Throws:
Exception- if any
-
checkOut
protected CheckOutScmResult checkOut(File workingDirectory, ScmRepository repository) throws Exception Description copied from class:ScmTckTestCaseConvenience method to check out files from the repository- Overrides:
checkOutin 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
-