Class CustomSpockRunner

java.lang.Object
org.junit.runner.Runner
org.junit.platform.runner.JUnitPlatform
de.hybris.platform.searchservices.support.CustomSpockRunner
All Implemented Interfaces:
UnifiedHybrisTestRunner, org.junit.runner.Describable, org.junit.runner.manipulation.Filterable

public class CustomSpockRunner extends org.junit.platform.runner.JUnitPlatform implements UnifiedHybrisTestRunner
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    filter(org.junit.runner.manipulation.Filter filter)
     
     
    org.junit.runner.Description
     
    void
    run(org.junit.runner.notification.RunNotifier notifier)
     
    void
    superFilter(org.junit.runner.manipulation.Filter filter)
    Calls super#filter(org.junit.runner.manipulation.Filter)
    void
    superRun(org.junit.runner.notification.RunNotifier notifier)
    Calls super#run(org.junit.runner.notification.RunNotifier)

    Methods inherited from class org.junit.runner.Runner

    testCount

    Methods inherited from class java.lang.Object

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

    • CustomSpockRunner

      public CustomSpockRunner(Class<?> clazz) throws org.junit.runners.model.InitializationError
      Throws:
      org.junit.runners.model.InitializationError
  • Method Details

    • filter

      public void filter(org.junit.runner.manipulation.Filter filter) throws org.junit.runner.manipulation.NoTestsRemainException
      Specified by:
      filter in interface org.junit.runner.manipulation.Filterable
      Overrides:
      filter in class org.junit.platform.runner.JUnitPlatform
      Throws:
      org.junit.runner.manipulation.NoTestsRemainException
    • run

      public void run(org.junit.runner.notification.RunNotifier notifier)
      Overrides:
      run in class org.junit.platform.runner.JUnitPlatform
    • getCurrentTestClass

      public Class getCurrentTestClass()
      Specified by:
      getCurrentTestClass in interface UnifiedHybrisTestRunner
    • getDescription

      public org.junit.runner.Description getDescription()
      Specified by:
      getDescription in interface org.junit.runner.Describable
      Overrides:
      getDescription in class org.junit.platform.runner.JUnitPlatform
    • superFilter

      public void superFilter(org.junit.runner.manipulation.Filter filter) throws org.junit.runner.manipulation.NoTestsRemainException
      Description copied from interface: UnifiedHybrisTestRunner
      Calls super#filter(org.junit.runner.manipulation.Filter)
      Specified by:
      superFilter in interface UnifiedHybrisTestRunner
      Throws:
      org.junit.runner.manipulation.NoTestsRemainException
    • superRun

      public void superRun(org.junit.runner.notification.RunNotifier notifier)
      Description copied from interface: UnifiedHybrisTestRunner
      Calls super#run(org.junit.runner.notification.RunNotifier)
      Specified by:
      superRun in interface UnifiedHybrisTestRunner