org.apache.chemistry.opencmis.tck
Interface CmisTestGroup

All Known Implementing Classes:
AbstractCmisTestGroup, AbstractSessionTestGroup, BasicsTestGroup, ControlTestGroup, CRUDTestGroup, FilingTestGroup, QueryTestGroup, VersioningTestGroup, WrapperCmisTestGroup

public interface CmisTestGroup

CMIS TCK Test Group.


Method Summary
 String getDescription()
          Returns the description of the test group.
 String getName()
          Returns the name of the test group.
 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 run()
          Runs all enabled tests in this group.
 void setEnabled(boolean enabled)
          Enables or disables this test group.
 void setProgressMonitor(CmisTestProgressMonitor progressMonitor)
          Sets the progress monitor that should be used during a run.
 

Method Detail

init

void init(Map<String,String> parameters)
          throws Exception
Initializes the test group with test parameters.

Throws:
Exception

setProgressMonitor

void setProgressMonitor(CmisTestProgressMonitor progressMonitor)
Sets the progress monitor that should be used during a run.


getName

String getName()
Returns the name of the test group.


getDescription

String getDescription()
Returns the description of the test group.


getTests

List<CmisTest> getTests()
Returns the all tests in this group.


run

void run()
         throws Exception
Runs all enabled tests in this group.

Throws:
Exception

isEnabled

boolean isEnabled()
Returns if the test group is enabled or not.


setEnabled

void setEnabled(boolean enabled)
Enables or disables this test group.



Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.