org.apache.chemistry.opencmis.tck.runner
Class AbstractRunner

java.lang.Object
  extended by org.apache.chemistry.opencmis.tck.runner.AbstractRunner
Direct Known Subclasses:
ConsoleRunner

public abstract class AbstractRunner
extends Object

Base class for runners.


Field Summary
static String DEFAULT_TCK_GROUPS
           
static String OVERRIDE_KEY
           
static String TCK_BUILD_TIMESTAMP
           
static String TCK_BUILD_TIMESTAMP_PARAMETER
           
 
Constructor Summary
AbstractRunner()
           
 
Method Summary
 void addGroup(CmisTestGroup group)
           
 void addGroup(String groupClass)
           
 void addGroups(String[] groupClasses)
           
 void cancel()
           
 List<CmisTestGroup> getGroups()
           
 Map<String,String> getParameters()
           
 boolean isCanceled()
           
 void loadDefaultTckGroups()
           
 void loadGroups(File file)
           
 void loadGroups(InputStream stream)
           
 void loadParameters(File file)
           
 void loadParameters(InputStream stream)
           
 void run(CmisTestProgressMonitor monitor)
          Runs all configured groups.
 void setParameters(Map<String,String> orgParameters)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OVERRIDE_KEY

public static final String OVERRIDE_KEY
See Also:
Constant Field Values

DEFAULT_TCK_GROUPS

public static final String DEFAULT_TCK_GROUPS
See Also:
Constant Field Values

TCK_BUILD_TIMESTAMP

public static final String TCK_BUILD_TIMESTAMP
See Also:
Constant Field Values

TCK_BUILD_TIMESTAMP_PARAMETER

public static final String TCK_BUILD_TIMESTAMP_PARAMETER
See Also:
Constant Field Values
Constructor Detail

AbstractRunner

public AbstractRunner()
Method Detail

setParameters

public void setParameters(Map<String,String> orgParameters)

loadParameters

public void loadParameters(File file)
                    throws Exception
Throws:
Exception

loadParameters

public void loadParameters(InputStream stream)
                    throws Exception
Throws:
Exception

getParameters

public Map<String,String> getParameters()

loadDefaultTckGroups

public void loadDefaultTckGroups()
                          throws Exception
Throws:
Exception

loadGroups

public void loadGroups(File file)
                throws Exception
Throws:
Exception

loadGroups

public void loadGroups(InputStream stream)
                throws Exception
Throws:
Exception

addGroups

public void addGroups(String[] groupClasses)
               throws Exception
Throws:
Exception

addGroup

public void addGroup(String groupClass)
              throws Exception
Throws:
Exception

addGroup

public void addGroup(CmisTestGroup group)
              throws Exception
Throws:
Exception

getGroups

public List<CmisTestGroup> getGroups()

run

public void run(CmisTestProgressMonitor monitor)
         throws Exception
Runs all configured groups.

Throws:
Exception

isCanceled

public boolean isCanceled()

cancel

public void cancel()


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