Class PlatformRunListener

java.lang.Object
org.junit.runner.notification.RunListener
de.hybris.platform.testframework.runlistener.PlatformRunListener

public class PlatformRunListener extends org.junit.runner.notification.RunListener
RunListener assuring the test platform is available while test execution. Has to be called at first before other listeners will access the platform.
Since:
3.0-u3
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.junit.runner.notification.RunListener

    org.junit.runner.notification.RunListener.ThreadSafe
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected JaloSession
    Reference to current session.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    testFinished(org.junit.runner.Description description)
     
    void
    testRunStarted(org.junit.runner.Description description)
     
    void
    testStarted(org.junit.runner.Description description)
     

    Methods inherited from class org.junit.runner.notification.RunListener

    testAssumptionFailure, testFailure, testIgnored, testRunFinished, testSuiteFinished, testSuiteStarted

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • jaloSession

      protected JaloSession jaloSession
      Reference to current session.
  • Constructor Details

    • PlatformRunListener

      public PlatformRunListener()
  • Method Details

    • testRunStarted

      public void testRunStarted(org.junit.runner.Description description) throws Exception
      Overrides:
      testRunStarted in class org.junit.runner.notification.RunListener
      Throws:
      Exception
    • testStarted

      public void testStarted(org.junit.runner.Description description) throws Exception
      Overrides:
      testStarted in class org.junit.runner.notification.RunListener
      Throws:
      Exception
    • testFinished

      public void testFinished(org.junit.runner.Description description) throws Exception
      Overrides:
      testFinished in class org.junit.runner.notification.RunListener
      Throws:
      Exception