org.apache.chemistry.opencmis.tck
Interface CmisTest

All Known Implementing Classes:
AbstractCmisTest, AbstractSessionTest, ACLSmokeTest, CheckedOutTest, ContentChangesSmokeTest, CopyTest, CreateAndDeleteDocumentTest, CreateAndDeleteFolderTest, CreateAndDeleteRelationshipTest, DeleteTreeTest, MoveTest, MultifilingTest, QuerySmokeTest, RepositoryInfoTest, RootFolderTest, SecurityTest, SetAndDeleteContentTest, TypesTest, UnfilingTest, UpdateSmokeTest, VersioningSmokeTest

public interface CmisTest

CMIS TCK Test.


Method Summary
 java.lang.String getDescription()
          Returns the description of the test group.
 java.lang.String getName()
          Returns the name of the test.
 java.util.List<CmisTestResult> getResults()
          Returns the results of the test after run() has be called.
 long getTime()
          Gets the time (in milliseconds) that the test took to run.
 void init(java.util.Map<java.lang.String,java.lang.String> parameters)
          Initializes the test with test parameters.
 boolean isEnabled()
          Returns if the test is enabled or not.
 void run()
          Runs the test.
 void setEnabled(boolean enabled)
          Enables or disables the test.
 

Method Detail

init

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

Throws:
java.lang.Exception

getName

java.lang.String getName()
Returns the name of the test.


getDescription

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


run

void run()
         throws java.lang.Exception
Runs the test.

Throws:
java.lang.Exception

isEnabled

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


setEnabled

void setEnabled(boolean enabled)
Enables or disables the test.


getResults

java.util.List<CmisTestResult> getResults()
Returns the results of the test after run() has be called.


getTime

long getTime()
Gets the time (in milliseconds) that the test took to run.



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