Class GitCheckInCommandTckTest
- java.lang.Object
- 
- org.apache.maven.scm.PlexusJUnit4TestCase
- 
- org.apache.maven.scm.ScmTestCase
- 
- org.apache.maven.scm.ScmTckTestCase
- 
- org.apache.maven.scm.tck.command.checkin.CheckInCommandTckTest
- 
- org.apache.maven.scm.provider.git.command.checkin.GitCheckInCommandTckTest
 
 
 
 
 
- 
 public abstract class GitCheckInCommandTckTest extends CheckInCommandTckTest - Author:
- Mark Struberg
 
- 
- 
Field Summary- 
Fields inherited from class org.apache.maven.scm.ScmTestCaseGMT_TIME_ZONE
 - 
Fields inherited from class org.apache.maven.scm.PlexusJUnit4TestCasetestName
 
- 
 - 
Constructor SummaryConstructors Constructor Description GitCheckInCommandTckTest()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CheckOutScmResultcheckOut(File workingDirectory, ScmRepository repository)Convenience method to check out files from the repository.voidinitRepo()Initialize repository at theScmTckTestCase.getScmUrl()location with the files inScmTckTestCase.getScmFileNames()voidtestCommitNoVerify()voidtestCommitWithRejectingPreCommitHook()voidtestRejectedNonFastForwardPush()voidtestUpToDatePush()- 
Methods inherited from class org.apache.maven.scm.tck.command.checkin.CheckInCommandTckTesttestCheckInCommandFilesetWithBasedirOtherThanWorkingCopyRoot, testCheckInCommandPartialFileset, testCheckInCommandTest
 - 
Methods inherited from class org.apache.maven.scm.ScmTckTestCaseaddToWorkingTree, checkIn, checkScmPresence, edit, getScmFileNames, getScmProviderCommand, getScmRepository, getScmUrl, mapFilesByPath, remove, removeRepo, setUp, tearDown
 - 
Methods inherited from class org.apache.maven.scm.ScmTestCaseassertCommandLine, 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.PlexusJUnit4TestCasecustomizeComponentConfiguration, 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- 
GitCheckInCommandTckTestpublic GitCheckInCommandTckTest() 
 
- 
 - 
Method Detail- 
initRepopublic void initRepo() throws Exception 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:
- initRepoin class- ScmTckTestCase
- Throws:
- Exception- if any
 
 - 
checkOutprotected CheckOutScmResult checkOut(File workingDirectory, ScmRepository repository) throws Exception Description copied from class:ScmTckTestCaseConvenience method to check out files from the repository.- Overrides:
- checkOutin class- ScmTckTestCase
- Throws:
- Exception
 
 - 
testUpToDatePushpublic void testUpToDatePush() throws Exception - Throws:
- Exception
 
 - 
testRejectedNonFastForwardPushpublic void testRejectedNonFastForwardPush() throws Exception - Throws:
- Exception
 
 - 
testCommitWithRejectingPreCommitHookpublic void testCommitWithRejectingPreCommitHook() throws Exception - Throws:
- Exception
 
 - 
testCommitNoVerifypublic void testCommitNoVerify() throws Exception - Throws:
- Exception
 
 
- 
 
-