Class ShowEUnitViewTestListener
java.lang.Object
org.eclipse.epsilon.eunit.dt.listener.ShowEUnitViewTestListener
- All Implemented Interfaces:
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 -
Method Summary
Modifier and TypeMethodDescriptionvoid
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.
-
Constructor Details
-
ShowEUnitViewTestListener
public ShowEUnitViewTestListener()
-
-
Method Details
-
beforeCase
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
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.
-