Class BlameCommandTckTest
- 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
-
- All Implemented Interfaces:
junit.framework.Test
- Direct Known Subclasses:
GitBlameCommandTckTest
,SvnBlameCommandTckTest
public abstract class BlameCommandTckTest extends ScmTckTestCase
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.String
COMMIT_MSG
-
Fields inherited from class org.apache.maven.scm.ScmTestCase
GMT_TIME_ZONE
-
-
Constructor Summary
Constructors Constructor Description BlameCommandTckTest()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
assertDateBetween(java.util.Date start, java.util.Date end, java.util.Date actual)
protected boolean
isTestDateTime()
void
testBlameCommand()
protected abstract void
verifyResult(BlameScmResult result)
-
Methods inherited from class org.apache.maven.scm.ScmTckTestCase
addToWorkingTree, checkIn, checkOut, edit, getScmFileNames, getScmRepository, getScmUrl, initRepo, 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
-
-
-
-
Field Detail
-
COMMIT_MSG
private static final java.lang.String COMMIT_MSG
- See Also:
- Constant Field Values
-
-
Method Detail
-
testBlameCommand
public void testBlameCommand() throws java.lang.Exception
- Throws:
java.lang.Exception
-
isTestDateTime
protected boolean isTestDateTime()
-
assertDateBetween
protected void assertDateBetween(java.util.Date start, java.util.Date end, java.util.Date actual)
-
verifyResult
protected abstract void verifyResult(BlameScmResult result)
-
-