Package jadex.tools.testcenter
Class TestCenterPanel.TestSuite.TestResultListener
- java.lang.Object
-
- jadex.tools.testcenter.TestCenterPanel.TestSuite.TestResultListener
-
- All Implemented Interfaces:
IFunctionalExceptionListener,IFunctionalResultListener<java.util.Map<java.lang.String,java.lang.Object>>,IRemoteResultListener<java.util.Map<java.lang.String,java.lang.Object>>,IResultListener<java.util.Map<java.lang.String,java.lang.Object>>,IRemotable
- Enclosing class:
- TestCenterPanel.TestSuite
public class TestCenterPanel.TestSuite.TestResultListener extends java.lang.Object implements IRemoteResultListener<java.util.Map<java.lang.String,java.lang.Object>>
Callback result listener for (local or remote) test results.
-
-
Field Summary
Fields Modifier and Type Field Description protected Tuple2<java.lang.String,IResourceIdentifier>nameThe testcase name.
-
Constructor Summary
Constructors Constructor Description TestResultListener(Tuple2<java.lang.String,IResourceIdentifier> name)Create a test result listener
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexceptionOccurred(java.lang.Exception exception)Exception during test execution.voidresultAvailable(java.util.Map<java.lang.String,java.lang.Object> result)Result of test execution.protected voidtestFinished(Testcase result)Cleanup after test is finished.
-
-
-
Field Detail
-
name
protected Tuple2<java.lang.String,IResourceIdentifier> name
The testcase name.
-
-
Constructor Detail
-
TestResultListener
public TestResultListener(Tuple2<java.lang.String,IResourceIdentifier> name)
Create a test result listener
-
-
Method Detail
-
exceptionOccurred
public void exceptionOccurred(java.lang.Exception exception)
Exception during test execution.- Specified by:
exceptionOccurredin interfaceIFunctionalExceptionListener- Parameters:
exception- The exception.
-
resultAvailable
public void resultAvailable(java.util.Map<java.lang.String,java.lang.Object> result)
Result of test execution.- Specified by:
resultAvailablein interfaceIFunctionalResultListener<java.util.Map<java.lang.String,java.lang.Object>>- Parameters:
result- The result.
-
testFinished
protected void testFinished(Testcase result)
Cleanup after test is finished.
-
-