|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.chemistry.opencmis.tck.impl.AbstractCmisTestGroup
public abstract class AbstractCmisTestGroup
Base class for test groups.
| Constructor Summary | |
|---|---|
AbstractCmisTestGroup()
|
|
| Method Summary | |
|---|---|
void |
addTest(CmisTest test)
|
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 |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractCmisTestGroup()
| Method Detail |
|---|
public void init(Map<String,String> parameters)
throws Exception
CmisTestGroup
init in interface CmisTestGroupExceptionprotected Map<String,String> getParameters()
public String getName()
CmisTestGroup
getName in interface CmisTestGrouppublic void setName(String name)
public List<CmisTest> getTests()
CmisTestGroup
getTests in interface CmisTestGroup
public void addTest(CmisTest test)
throws Exception
Exceptionpublic void setProgressMonitor(CmisTestProgressMonitor progressMonitor)
CmisTestGroup
setProgressMonitor in interface CmisTestGroupprotected CmisTestProgressMonitor getProgressMonitor()
public void run()
throws Exception
CmisTestGroup
run in interface CmisTestGroupExceptionpublic void junit()
protected void preRun()
protected void postRun()
protected void preTest(CmisTest test)
protected void postTest(CmisTest test)
public boolean isEnabled()
CmisTestGroup
isEnabled in interface CmisTestGrouppublic void setEnabled(boolean enabled)
CmisTestGroup
setEnabled in interface CmisTestGroup
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||