Package jadex.base.test.impl
Class GenericTestSuite
- java.lang.Object
-
- junit.framework.TestSuite
-
- jadex.base.test.impl.GenericTestSuite
-
- All Implemented Interfaces:
IAbortableTestSuite
,junit.framework.Test
public abstract class GenericTestSuite extends junit.framework.TestSuite implements IAbortableTestSuite
Suite that can run multiple test agents.
-
-
Constructor Summary
Constructors Constructor Description GenericTestSuite(boolean justStartComponents, java.lang.Class<?>... clazzes)
GenericTestSuite(boolean justStartComponents, java.lang.String... components)
GenericTestSuite(java.lang.Class<?>... clazzes)
GenericTestSuite(java.lang.String... components)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addTest(junit.framework.Test test)
boolean
isAborted()
void
run(junit.framework.TestResult result)
void
runTest(junit.framework.Test test, junit.framework.TestResult result)
void
setConfig(IPlatformConfiguration config)
-
-
-
Constructor Detail
-
GenericTestSuite
public GenericTestSuite(java.lang.Class<?>... clazzes)
-
GenericTestSuite
public GenericTestSuite(java.lang.String... components)
-
GenericTestSuite
public GenericTestSuite(boolean justStartComponents, java.lang.Class<?>... clazzes)
-
GenericTestSuite
public GenericTestSuite(boolean justStartComponents, java.lang.String... components)
-
-
Method Detail
-
setConfig
public void setConfig(IPlatformConfiguration config)
-
run
public void run(junit.framework.TestResult result)
- Specified by:
run
in interfacejunit.framework.Test
- Overrides:
run
in classjunit.framework.TestSuite
-
runTest
public void runTest(junit.framework.Test test, junit.framework.TestResult result)
- Overrides:
runTest
in classjunit.framework.TestSuite
-
isAborted
public boolean isAborted()
- Specified by:
isAborted
in interfaceIAbortableTestSuite
-
addTest
public void addTest(junit.framework.Test test)
- Overrides:
addTest
in classjunit.framework.TestSuite
-
-