Class AbstractRemoteInfoCommandTckTest
- java.lang.Object
-
- org.apache.maven.scm.PlexusJUnit4TestCase
-
- org.apache.maven.scm.ScmTestCase
-
- org.apache.maven.scm.ScmTckTestCase
-
- org.apache.maven.scm.tck.command.remoteinfo.AbstractRemoteInfoCommandTckTest
-
public abstract class AbstractRemoteInfoCommandTckTest extends ScmTckTestCase
This test tests the remote info command.This test have to be subclassed. The expected result have to be implemented in sub class
- Author:
- Bertrand Paquet
-
-
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 AbstractRemoteInfoCommandTckTest()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract void
checkResult(RemoteInfoScmResult result)
protected abstract ScmProviderRepository
getScmProviderRepository()
void
testRemoteInfoCommand()
-
Methods inherited from class org.apache.maven.scm.ScmTckTestCase
addToWorkingTree, checkIn, checkOut, checkScmPresence, edit, getScmFileNames, getScmProviderCommand, getScmRepository, getScmUrl, initRepo, 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
-
AbstractRemoteInfoCommandTckTest
public AbstractRemoteInfoCommandTckTest()
-
-
Method Detail
-
checkResult
protected abstract void checkResult(RemoteInfoScmResult result)
-
getScmProviderRepository
protected abstract ScmProviderRepository getScmProviderRepository() throws Exception
- Throws:
Exception
-
testRemoteInfoCommand
public void testRemoteInfoCommand() throws Exception
- Throws:
Exception
-
-