|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.scm.command.AbstractCommand
org.apache.maven.scm.provider.jazz.command.JazzTckUtil
public class JazzTckUtil
Common utilities for Jazz TCK tests.
| Field Summary |
|---|
| Fields inherited from interface org.apache.maven.scm.command.Command |
|---|
ROLE |
| Constructor Summary | |
|---|---|
JazzTckUtil()
|
|
| Method Summary | |
|---|---|
protected ScmResult |
executeCommand(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters parameters)
|
void |
generateNewSystemTime()
If a TCK test case has more than one test case, it will need to generate a new workspace for each test. |
File |
getAssertionCopy()
|
String |
getScmUrl()
Return the URL used for this specific TCK test execution. |
String |
getSystemProperty(String name,
String defaultValue)
Get the specified system property. |
File |
getUpdatingCopy()
|
File |
getWorkingCopy()
|
void |
initRepo(ScmRepository repository)
Create a unique repository workspace using the system time, based upon a supplied snapshot. |
void |
removeRepo()
This method is available to those SCM clients that need to perform a cleanup at the end of the tests. |
| Methods inherited from class org.apache.maven.scm.command.AbstractCommand |
|---|
execute, getLogger, setLogger |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JazzTckUtil()
| Method Detail |
|---|
public String getSystemProperty(String name,
String defaultValue)
name - The name of the property to get.defaultValue - A default value if not found.
protected ScmResult executeCommand(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters parameters)
throws ScmException
executeCommand in class AbstractCommandScmExceptionpublic void generateNewSystemTime()
public void initRepo(ScmRepository repository)
throws Exception
ExceptionScmTckTestCase.initRepo()
public void removeRepo()
throws Exception
Exception
public String getScmUrl()
throws Exception
ExceptionScmTckTestCase.getScmUrl()public File getWorkingCopy()
ScmTestCase.getWorkingCopy()public File getAssertionCopy()
ScmTestCase.getAssertionCopy()public File getUpdatingCopy()
ScmTestCase.getUpdatingCopy()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||