org.troublescope.evaluation
Class TestSuite

java.lang.Object
  |
  +--org.troublescope.evaluation.TestSuite

public class TestSuite
extends java.lang.Object

A test suite.


Constructor Summary
TestSuite()
          Create a new TestSuite.
 
Method Summary
 void addInitParameter(NameValuePair param)
          Add a parameter.
 junit.framework.TestSuite getActualSuite(ApplicationContext ctx)
          Returns the actual test suite.
 TestSuiteConfig getConfig()
          Returns a configuration for this suite.
 java.lang.String getDescription()
          Returns the description.
 java.util.Iterator getInitParameters()
          Returns a list of init parameters.
 java.lang.String getName()
          Returns the name.
 java.lang.String getResolutionName()
          Returns the result id.
 java.lang.String getTestSuiteClassName()
          Returns the test suite builder.
 void setDescription(java.lang.String aDescription)
          Sets the description.
 void setName(java.lang.String aName)
          Sets the name.
 void setResolutionName(java.lang.String aResolutionName)
          Set the result id.
 void setTestSuiteClassName(java.lang.String aClassName)
          Set the test suite builder.
 junit.framework.TestResult start(ApplicationContext ctx)
          Start the test suite.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestSuite

public TestSuite()
Create a new TestSuite.
Method Detail

getName

public java.lang.String getName()
Returns the name.

setName

public void setName(java.lang.String aName)
Sets the name.

getDescription

public java.lang.String getDescription()
Returns the description.

setDescription

public void setDescription(java.lang.String aDescription)
Sets the description.

getResolutionName

public java.lang.String getResolutionName()
Returns the result id.

setResolutionName

public void setResolutionName(java.lang.String aResolutionName)
Set the result id.

getInitParameters

public java.util.Iterator getInitParameters()
Returns a list of init parameters.

addInitParameter

public void addInitParameter(NameValuePair param)
Add a parameter.

getTestSuiteClassName

public java.lang.String getTestSuiteClassName()
Returns the test suite builder.

setTestSuiteClassName

public void setTestSuiteClassName(java.lang.String aClassName)
Set the test suite builder.

start

public junit.framework.TestResult start(ApplicationContext ctx)
                                 throws EvaluationException
Start the test suite.

getConfig

public TestSuiteConfig getConfig()
Returns a configuration for this suite.

getActualSuite

public junit.framework.TestSuite getActualSuite(ApplicationContext ctx)
                                         throws EvaluationException
Returns the actual test suite.


Copyright © 2002-2002 TroubleScope. All Rights Reserved.