public abstract class AbstractCmisTestGroup extends Object implements CmisTestGroup
| Constructor and Description |
|---|
AbstractCmisTestGroup() |
| Modifier and Type | Method and Description |
|---|---|
void |
addTest(CmisTest test) |
String |
getDescription()
Returns the description of the test group.
|
String |
getName()
Returns the name of the test group.
|
protected Map<String,String> |
getParameters() |
protected CmisTestProgressMonitor |
getProgressMonitor() |
List<CmisTest> |
getTests()
Returns the all tests in this group.
|
void |
init(Map<String,String> parameters)
Initializes the test group with test parameters.
|
boolean |
isEnabled()
Returns if the test group is enabled or not.
|
void |
junit() |
protected void |
postRun() |
protected void |
postTest(CmisTest test) |
protected void |
preRun() |
protected void |
preTest(CmisTest test) |
void |
run()
Runs all enabled tests in this group.
|
void |
setDescription(String description) |
void |
setEnabled(boolean enabled)
Enables or disables this test group.
|
void |
setName(String name) |
void |
setProgressMonitor(CmisTestProgressMonitor progressMonitor)
Sets the progress monitor that should be used during a run.
|
public void init(Map<String,String> parameters) throws Exception
CmisTestGroupinit in interface CmisTestGroupExceptionpublic String getName()
CmisTestGroupgetName in interface CmisTestGrouppublic void setName(String name)
public String getDescription()
CmisTestGroupgetDescription in interface CmisTestGrouppublic void setDescription(String description)
public List<CmisTest> getTests()
CmisTestGroupgetTests in interface CmisTestGrouppublic void setProgressMonitor(CmisTestProgressMonitor progressMonitor)
CmisTestGroupsetProgressMonitor in interface CmisTestGroupprotected CmisTestProgressMonitor getProgressMonitor()
public void run()
throws Exception
CmisTestGrouprun in interface CmisTestGroupExceptionprotected void preRun()
protected void postRun()
protected void preTest(CmisTest test)
protected void postTest(CmisTest test)
public boolean isEnabled()
CmisTestGroupisEnabled in interface CmisTestGrouppublic void setEnabled(boolean enabled)
CmisTestGroupsetEnabled in interface CmisTestGroupCopyright © 2009-2015 The Apache Software Foundation. All Rights Reserved.