Class EventDefault

    • Method Detail

      • beforeTest

        public void beforeTest()
        Description copied from interface: Event
        Called before the test run starts. You can for instance cleanup the test environment and/or restart the server under test.
        Specified by:
        beforeTest in interface Event
        Overrides:
        beforeTest in class EventAdapter<EventContext>
      • check

        public EventCheck check()
        Description copied from interface: Event
        Called to check test results (for example the requirements are checked). Can be used to have a test run fail or succeed in continuous integration setups.
        Specified by:
        check in interface Event
        Overrides:
        check in class EventAdapter<EventContext>
        Returns:
        even check that indicated a failed or successful run for this event.
      • customEvent

        public void customEvent​(CustomEvent scheduleEvent)
        Description copied from interface: Event
        Called for each custom event, according to the custom even schedule.
        Specified by:
        customEvent in interface Event
        Overrides:
        customEvent in class EventAdapter<EventContext>
        Parameters:
        scheduleEvent - the custom event, use to execute specific behaviour in the event handler