public abstract class GitChangeLogCommandTckTest extends ChangeLogCommandTckTest
Modifier and Type | Field and Description |
---|---|
static long |
SLEEP_TIME_IN_MILLIS |
GMT_TIME_ZONE
testName
Constructor and Description |
---|
GitChangeLogCommandTckTest() |
Modifier and Type | Method and Description |
---|---|
protected CheckOutScmResult |
checkOut(File workingDirectory,
ScmRepository repository)
Convenience method to check out files from the repository
|
void |
initRepo()
Initialize repository at the
ScmTckTestCase.getScmUrl() location with the files in ScmTckTestCase.getScmFileNames() |
void |
testChangeLogCommandFromHeadAncestorAndHead() |
void |
testChangeLogCommandFromHeadToHead() |
void |
testChangeLogCommandFromHeadToStartOfRepository() |
void |
testChangeLogCommandFromUndefinedToHead() |
void |
testChangeLogCommandFromVersionToStartOfRepository() |
void |
testChangeLogCommandFromVersionToUndefined() |
void |
testChangeLogCommandFromVoneToVtwo() |
void |
testChangeLogCommandWithStartEndInBadOrder() |
isTagAnExtraCommit, testChangeLogCommand
addToWorkingTree, checkIn, checkScmPresence, edit, getScmFileNames, getScmProviderCommand, getScmRepository, getScmUrl, mapFilesByPath, remove, removeRepo, setUp, tearDown
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, setDebugExecute
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
public static final long SLEEP_TIME_IN_MILLIS
public GitChangeLogCommandTckTest()
public void initRepo() throws Exception
Initialize repository at the ScmTckTestCase.getScmUrl()
location with the files in ScmTckTestCase.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)
initRepo
in class ScmTckTestCase
Exception
- if anyprotected CheckOutScmResult checkOut(File workingDirectory, ScmRepository repository) throws Exception
ScmTckTestCase
checkOut
in class ScmTckTestCase
Exception
public void testChangeLogCommandFromHeadAncestorAndHead() throws Exception
Exception
public void testChangeLogCommandFromHeadToHead() throws Exception
Exception
public void testChangeLogCommandFromUndefinedToHead() throws Exception
Exception
public void testChangeLogCommandFromVersionToUndefined() throws Exception
Exception
public void testChangeLogCommandFromVoneToVtwo() throws Exception
Exception
public void testChangeLogCommandWithStartEndInBadOrder() throws Exception
Exception
public void testChangeLogCommandFromHeadToStartOfRepository() throws Exception
Exception
public void testChangeLogCommandFromVersionToStartOfRepository() throws Exception
Exception
Copyright © 2003–2024 The Apache Software Foundation. All rights reserved.