Package org.apache.axiom.testutils.suite
Class MatrixTestSuiteBuilder
- java.lang.Object
-
- org.apache.axiom.testutils.suite.MatrixTestSuiteBuilder
-
public abstract class MatrixTestSuiteBuilder extends Object
Builds a matrix test suite. This is an abstract class. Subclasses are expected to implement theaddTests()method to generate a set ofMatrixTestCaseinstances. For each type ofMatrixTestCase, theaddTests()method should add instances for all allowed parameter values. The resulting set can then be filtered using LDAP filter expressions.
-
-
Constructor Summary
Constructors Constructor Description MatrixTestSuiteBuilder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidaddTest(MatrixTestCase test)protected abstract voidaddTests()junit.framework.TestSuitebuild()voidexclude(Class<? extends MatrixTestCase> testClass)voidexclude(Class<? extends MatrixTestCase> testClass, String filter)voidexclude(String filter)
-
-
-
Method Detail
-
exclude
public final void exclude(Class<? extends MatrixTestCase> testClass, String filter)
-
exclude
public final void exclude(Class<? extends MatrixTestCase> testClass)
-
exclude
public final void exclude(String filter)
-
addTests
protected abstract void addTests()
-
build
public final junit.framework.TestSuite build()
-
addTest
protected final void addTest(MatrixTestCase test)
-
-