public class TestCenterPanel.TestSuite
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
TestCenterPanel.TestSuite.TestResultListener
Callback result listener for (local or remote) test results.
|
Modifier and Type | Field and Description |
---|---|
protected boolean |
aborted
Flag indicating that the test suite has been aborted.
|
protected jadex.commons.Tuple2<java.lang.String,jadex.bridge.IResourceIdentifier>[] |
names
The names of the testcases.
|
protected jadex.base.test.Testcase[] |
results
The results of the testcases.
|
protected boolean |
running
Flag indicating that the test suite is running.
|
protected long |
starttime
The timepoint when the test execution was started.
|
protected java.util.Map<jadex.commons.Tuple2<java.lang.String,jadex.bridge.IResourceIdentifier>,jadex.bridge.IComponentIdentifier> |
testcases
A set of running testcases to be destroyed on abort (name->cid).
|
Constructor and Description |
---|
TestSuite(jadex.commons.Tuple2<java.lang.String,jadex.bridge.IResourceIdentifier>[] names)
Create a new test suite for the given test cases.
|
Modifier and Type | Method and Description |
---|---|
void |
abort()
Abort the execution of the test suite.
|
protected jadex.commons.future.IFuture<java.lang.Void> |
abortTestcase(jadex.bridge.IComponentIdentifier testcase)
Abort a testcase.
|
long |
getStartTime()
Get the start time.
|
jadex.commons.Tuple2<java.lang.String,jadex.bridge.IResourceIdentifier>[] |
getTestcaseNames()
Get the testcase names array.
|
jadex.base.test.Testcase[] |
getTestcases()
Get the testcase array.
|
boolean |
isAborted()
Check if the test suite has been aborted.
|
boolean |
isRunning()
Check if the test suite is running.
|
void |
start()
Start the execution of the test suite.
|
protected void |
startNextTestcases()
Start the next testcases (if any).
|
protected jadex.commons.Tuple2<java.lang.String,jadex.bridge.IResourceIdentifier>[] names
protected jadex.base.test.Testcase[] results
protected java.util.Map<jadex.commons.Tuple2<java.lang.String,jadex.bridge.IResourceIdentifier>,jadex.bridge.IComponentIdentifier> testcases
protected boolean running
protected boolean aborted
protected long starttime
public TestSuite(jadex.commons.Tuple2<java.lang.String,jadex.bridge.IResourceIdentifier>[] names)
public boolean isRunning()
public boolean isAborted()
public jadex.commons.Tuple2<java.lang.String,jadex.bridge.IResourceIdentifier>[] getTestcaseNames()
public jadex.base.test.Testcase[] getTestcases()
public long getStartTime()
public void start()
public void abort()
protected void startNextTestcases()
protected jadex.commons.future.IFuture<java.lang.Void> abortTestcase(jadex.bridge.IComponentIdentifier testcase)