Class ShowEUnitViewTestListener
- java.lang.Object
-
- org.eclipse.epsilon.eunit.dt.listener.ShowEUnitViewTestListener
-
- All Implemented Interfaces:
EUnitTestListener
public class ShowEUnitViewTestListener extends java.lang.Object implements EUnitTestListener
Simple test listener which is responsible for displaying the EUnit view. After setting it up and activating the view, this listener delegates all notifications to the view. This test listener is also responsible for adding launches to the EUnit history: we can't add them from the EUnitPlugin launch listener, as it'd try to record all Ant launches, regardless of whether EUnit was run or not.- Version:
- 1.0
- Author:
- Antonio García-Domínguez
-
-
Field Summary
-
Fields inherited from interface org.eclipse.epsilon.eunit.EUnitTestListener
EXTENSION_POINT_ID
-
-
Constructor Summary
Constructors Constructor Description ShowEUnitViewTestListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterCase(EUnitModule module, EUnitTest test)
Notification sent after running a test case.void
beforeCase(EUnitModule module, EUnitTest test)
Notification sent before running a test case.
-
-
-
Method Detail
-
beforeCase
public void beforeCase(EUnitModule module, EUnitTest test)
Description copied from interface:EUnitTestListener
Notification sent before running a test case.- Specified by:
beforeCase
in interfaceEUnitTestListener
- Parameters:
module
- EUnit module under execution.test
- Description of the test case: its result has not been set yet.
-
afterCase
public void afterCase(EUnitModule module, EUnitTest test)
Description copied from interface:EUnitTestListener
Notification sent after running a test case.- Specified by:
afterCase
in interfaceEUnitTestListener
- Parameters:
module
- EUnit module under execution.test
- Test case, with its result set.
-
-