Package org.codehaus.cargo.sample.java
Class CargoTestSuite
- java.lang.Object
-
- junit.framework.TestSuite
-
- org.codehaus.cargo.sample.java.CargoTestSuite
-
- All Implemented Interfaces:
junit.framework.Test
public class CargoTestSuite extends junit.framework.TestSuite
Cargo test suite.
-
-
Field Summary
Fields Modifier and Type Field Description static String
SYSTEM_PROPERTY_CONTAINER_IDS
The system property for the container identifiers to run tests on.
-
Constructor Summary
Constructors Constructor Description CargoTestSuite(String suiteName)
Initialize with the given suite name.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addTestSuite(Class<? extends junit.framework.Test> testClass, Validator[] validators)
Add a given test suite.void
addTestSuite(Class<? extends junit.framework.Test> testClass, Validator[] validators, Set<String> excludedContainerIds)
Add a given test suite.
-
-
-
Field Detail
-
SYSTEM_PROPERTY_CONTAINER_IDS
public static final String SYSTEM_PROPERTY_CONTAINER_IDS
The system property for the container identifiers to run tests on.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CargoTestSuite
public CargoTestSuite(String suiteName)
Initialize with the given suite name.- Parameters:
suiteName
- Suite name.
-
-
Method Detail
-
addTestSuite
public void addTestSuite(Class<? extends junit.framework.Test> testClass, Validator[] validators)
Add a given test suite.- Parameters:
testClass
- Test class.validators
- List of validators, to check if tests should be run on a given container.
-
addTestSuite
public void addTestSuite(Class<? extends junit.framework.Test> testClass, Validator[] validators, Set<String> excludedContainerIds)
Add a given test suite.- Parameters:
testClass
- Test class.validators
- List of validators, to check if tests should be run on a given container.excludedContainerIds
- Containers to exclude.
-
-