Class SvnBlameCommandTckTest
- java.lang.Object
-
- org.apache.maven.scm.PlexusJUnit4TestCase
-
- org.apache.maven.scm.ScmTestCase
-
- org.apache.maven.scm.ScmTckTestCase
-
- org.apache.maven.scm.tck.command.blame.BlameCommandTckTest
-
- org.apache.maven.scm.provider.svn.command.blame.SvnBlameCommandTckTest
-
public abstract class SvnBlameCommandTckTest extends BlameCommandTckTest
- Author:
- Evgeny Mandrikov
-
-
Field Summary
-
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 SvnBlameCommandTckTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getScmUrl()
void
initRepo()
Initialize repository at theScmTckTestCase.getScmUrl()
location with the files inScmTckTestCase.getScmFileNames()
protected void
verifyResult(BlameScmResult result)
-
Methods inherited from class org.apache.maven.scm.tck.command.blame.BlameCommandTckTest
assertDateBetween, isTestDateTime, testBlameCommand
-
Methods inherited from class org.apache.maven.scm.ScmTckTestCase
addToWorkingTree, checkIn, checkOut, checkScmPresence, edit, getScmFileNames, getScmProviderCommand, getScmRepository, 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, 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
-
-
-
-
Constructor Detail
-
SvnBlameCommandTckTest
public SvnBlameCommandTckTest()
-
-
Method Detail
-
getScmUrl
public String getScmUrl() throws Exception
- Specified by:
getScmUrl
in classScmTckTestCase
- Returns:
- A provider specific and valid url for the repository
- Throws:
Exception
- if any
-
initRepo
public void initRepo() throws Exception
Description copied from class:ScmTckTestCase
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:
initRepo
in classScmTckTestCase
- Throws:
Exception
- if any
-
verifyResult
protected void verifyResult(BlameScmResult result)
- Specified by:
verifyResult
in classBlameCommandTckTest
-
-