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
CmisTestGroup
init
in interface CmisTestGroup
Exception
public String getName()
CmisTestGroup
getName
in interface CmisTestGroup
public void setName(String name)
public String getDescription()
CmisTestGroup
getDescription
in interface CmisTestGroup
public void setDescription(String description)
public List<CmisTest> getTests()
CmisTestGroup
getTests
in interface CmisTestGroup
public void setProgressMonitor(CmisTestProgressMonitor progressMonitor)
CmisTestGroup
setProgressMonitor
in interface CmisTestGroup
protected CmisTestProgressMonitor getProgressMonitor()
public void run() throws Exception
CmisTestGroup
run
in interface CmisTestGroup
Exception
protected void preRun()
protected void postRun()
protected void preTest(CmisTest test)
protected void postTest(CmisTest test)
public boolean isEnabled()
CmisTestGroup
isEnabled
in interface CmisTestGroup
public void setEnabled(boolean enabled)
CmisTestGroup
setEnabled
in interface CmisTestGroup
Copyright © 2009-2015 The Apache Software Foundation. All Rights Reserved.