Class ShowEUnitViewTestListener

java.lang.Object
org.eclipse.epsilon.eunit.dt.listener.ShowEUnitViewTestListener
All Implemented Interfaces:
EUnitTestListener

public class ShowEUnitViewTestListener extends 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
  • Constructor Details

    • ShowEUnitViewTestListener

      public ShowEUnitViewTestListener()
  • Method Details

    • beforeCase

      public void beforeCase(EUnitModule module, EUnitTest test)
      Description copied from interface: EUnitTestListener
      Notification sent before running a test case.
      Specified by:
      beforeCase in interface EUnitTestListener
      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 interface EUnitTestListener
      Parameters:
      module - EUnit module under execution.
      test - Test case, with its result set.