Class SvnMkdirCommandTckTest
java.lang.Object
org.apache.maven.scm.PlexusJUnit4TestCase
org.apache.maven.scm.ScmTestCase
org.apache.maven.scm.ScmTckTestCase
org.apache.maven.scm.tck.command.mkdir.MkdirCommandTckTest
org.apache.maven.scm.provider.svn.command.mkdir.SvnMkdirCommandTckTest
-
Field Summary
Fields inherited from class ScmTestCase
GMT_TIME_ZONEFields inherited from class PlexusJUnit4TestCase
testName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinitRepo()Initialize repository at theScmTckTestCase.getScmUrl()location with the files inScmTckTestCase.getScmFileNames()voidvoidMethods inherited from class MkdirCommandTckTest
getMissingDirectory, testMkdirCommandMkdirLocalMethods inherited from class ScmTckTestCase
addToWorkingTree, checkIn, checkOut, checkScmPresence, edit, getScmFileNames, getScmProviderCommand, getScmRepository, mapFilesByPath, remove, removeRepo, setUp, tearDownMethods inherited from class ScmTestCase
assertCommandLine, assertFile, assertPath, assertResultIsSuccess, checkSystemCmdPresence, customizeContainerConfiguration, deleteDirectory, execute, getAssertionCopy, getDate, getDate, getDate, getRepository, getRepositoryRoot, getScmFileSet, getScmManager, getUpdatingCopy, getWorkingCopy, getWorkingDirectory, isSystemCmd, makeDirectory, makeFile, makeFile, makeScmRepository, printOutputError, setDebugExecuteMethods inherited from class 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 Details
-
SvnMkdirCommandTckTest
public SvnMkdirCommandTckTest()
-
-
Method Details
-
getScmUrl
- Specified by:
getScmUrlin classScmTckTestCase- Returns:
- a provider specific and valid url for the repository
- Throws:
Exception- if any
-
initRepo
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 classScmTckTestCase- Throws:
Exception- if any
-
testMkdirCommandMkdirUrl
-
testMkdirCommandDirAlreadyAdded
-