Class ChangeLogCommandTckTest
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
- Direct Known Subclasses:
GitChangeLogCommandTckTest
Test Changlog command.
1. Get initial log
2. Add one revision
3. Get the two logs
4. Get the last log based on date
5. Test last log for date and comment
1. Get initial log
2. Add one revision
3. Get the two logs
4. Get the last log based on date
5. Test last log for date and comment
- Author:
- Torbj�rn Eikli Sm�rgrav
-
Field Summary
Fields inherited from class org.apache.maven.scm.ScmTestCase
GMT_TIME_ZONE
Fields inherited from class org.apache.maven.scm.PlexusJUnit4TestSupport
testName
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
In some SCMs (Hg) adding a tag creates an extra commit which offsets the expectations.void
Methods inherited from class org.apache.maven.scm.ScmTckTestCase
addToWorkingTree, checkIn, checkOut, checkScmPresence, edit, getScmFileNames, getScmProviderCommand, getScmRepository, getScmUrl, initRepo, mapFilesByPath, remove, removeRepo, setUp, tearDown
Methods 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, setDebugExecute
Methods 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
-
Constructor Details
-
ChangeLogCommandTckTest
public ChangeLogCommandTckTest()
-
-
Method Details
-
isTagAnExtraCommit
In some SCMs (Hg) adding a tag creates an extra commit which offsets the expectations.- Returns:
- If an extra commit will be present for a tag.
-
testChangeLogCommand
- Throws:
Exception
-