public class JazzTckUtil extends AbstractCommand
Constructor and Description |
---|
JazzTckUtil() |
Modifier and Type | Method and Description |
---|---|
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.
|
execute, getLogger, setLogger
public JazzTckUtil()
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 AbstractCommand
ScmException
public void generateNewSystemTime()
public void initRepo(ScmRepository repository) throws Exception
Exception
ScmTckTestCase.initRepo()
public void removeRepo() throws Exception
Exception
public String getScmUrl() throws Exception
Exception
ScmTckTestCase.getScmUrl()
public File getWorkingCopy()
ScmTestCase.getWorkingCopy()
public File getAssertionCopy()
ScmTestCase.getAssertionCopy()
public File getUpdatingCopy()
ScmTestCase.getUpdatingCopy()
Copyright © 2003–2015 The Apache Software Foundation. All rights reserved.