Class ChangeLogCommandTckTest
- java.lang.Object
-
- org.apache.maven.scm.PlexusJUnit4TestCase
-
- org.apache.maven.scm.ScmTestCase
-
- org.apache.maven.scm.ScmTckTestCase
-
- org.apache.maven.scm.tck.command.changelog.ChangeLogCommandTckTest
-
- Direct Known Subclasses:
GitChangeLogCommandTckTest
public abstract class ChangeLogCommandTckTest extends ScmTckTestCase
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
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.StringCOMMIT_MSGprivate static java.lang.StringCOMMIT_TAG-
Fields inherited from class org.apache.maven.scm.ScmTestCase
GMT_TIME_ZONE
-
Fields inherited from class org.apache.maven.scm.PlexusJUnit4TestCase
testName
-
-
Constructor Summary
Constructors Constructor Description ChangeLogCommandTckTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisTagAnExtraCommit()In some SCMs (Hg) adding a tag creates an extra commit which offsets the expectations.voidtestChangeLogCommand()-
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, checkSystemCmdPresence, customizeContainerConfiguration, deleteDirectory, execute, getAssertionCopy, getDate, getDate, getDate, getRepository, getRepositoryRoot, getScmFileSet, getScmManager, getUpdatingCopy, getWorkingCopy, getWorkingDirectory, isSystemCmd, makeDirectory, makeFile, makeFile, makeScmRepository, printOutputError, setDebugExecute
-
Methods inherited from class org.apache.maven.scm.PlexusJUnit4TestCase
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 Detail
-
COMMIT_MSG
private static final java.lang.String COMMIT_MSG
- See Also:
- Constant Field Values
-
COMMIT_TAG
private static final java.lang.String COMMIT_TAG
- See Also:
- Constant Field Values
-
-
Method Detail
-
isTagAnExtraCommit
public boolean 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
public void testChangeLogCommand() throws java.lang.Exception- Throws:
java.lang.Exception
-
-