Class SvnBlameCommandTckTest
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- org.codehaus.plexus.PlexusTestCase
-
- 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
-
- All Implemented Interfaces:
junit.framework.Test
public abstract class SvnBlameCommandTckTest extends BlameCommandTckTest
-
-
Field Summary
-
Fields inherited from class org.apache.maven.scm.ScmTestCase
GMT_TIME_ZONE
-
-
Constructor Summary
Constructors Constructor Description SvnBlameCommandTckTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.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, edit, getScmFileNames, getScmRepository, mapFilesByPath, removeRepo, setUp, tearDown
-
Methods inherited from class org.apache.maven.scm.ScmTestCase
assertCommandLine, assertFile, assertPath, assertResultIsSuccess, deleteDirectory, execute, getAssertionCopy, getDate, getDate, getDate, getRepository, getRepositoryRoot, getScmFileSet, getScmManager, getSecDispatcher, getUpdatingCopy, getWorkingCopy, getWorkingDirectory, isSystemCmd, makeDirectory, makeFile, makeFile, makeScmRepository, printOutputError, printSystemCmdUnavail, setDebugExecute
-
Methods inherited from class org.codehaus.plexus.PlexusTestCase
customizeContainerConfiguration, customizeContext, getBasedir, getClassLoader, getConfigurationName, getContainer, getCustomConfigurationName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release, setupContainer, teardownContainer
-
Methods inherited from class junit.framework.TestCase
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
-
-
-
-
Method Detail
-
getScmUrl
public java.lang.String getScmUrl() throws java.lang.Exception
- Specified by:
getScmUrl
in classScmTckTestCase
- Returns:
- A provider specific and valid url for the repository
- Throws:
java.lang.Exception
- if any
-
initRepo
public void initRepo() throws java.lang.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:
java.lang.Exception
- if any
-
verifyResult
protected void verifyResult(BlameScmResult result)
- Specified by:
verifyResult
in classBlameCommandTckTest
-
-