Package 

Class TestRunCompositeWatcherInterceptor

    • Method Detail

      • onTestStarted

         Unit onTestStarted(TestInfo testInfo)

        Called on the whole test starts, delegates the interception to watcherInterceptors.

        Parameters:
        testInfo - the test info to pass to watcherInterceptors.
      • onBeforeSectionStarted

         Unit onBeforeSectionStarted(TestInfo testInfo)

        Called on "before" section starts, delegates the interception to watcherInterceptors.

        Parameters:
        testInfo - the test info to pass to watcherInterceptors.
      • onBeforeSectionFinishedSuccess

         Unit onBeforeSectionFinishedSuccess(TestInfo testInfo)

        Called on "before" section finishes with success, delegates the interception to watcherInterceptors.

        Parameters:
        testInfo - the test info to pass to watcherInterceptors.
      • onBeforeSectionFinishedFailed

         Unit onBeforeSectionFinishedFailed(TestInfo testInfo, Throwable throwable)

        Called on "before" section finishes with failure, delegates the interception to watcherInterceptors.

        Parameters:
        testInfo - the test info to pass to watcherInterceptors.
        throwable - the error occured to pass to watcherInterceptors.
      • onMainSectionStarted

         Unit onMainSectionStarted(TestInfo testInfo)

        Called on "main" section starts, delegates the interception to watcherInterceptors.

        Parameters:
        testInfo - the test info to pass to watcherInterceptors.
      • onMainSectionFinishedSuccess

         Unit onMainSectionFinishedSuccess(TestInfo testInfo)

        Called on "main" section finishes with success, delegates the interception to watcherInterceptors.

        Parameters:
        testInfo - the test info to pass to watcherInterceptors.
      • onMainSectionFinishedFailed

         Unit onMainSectionFinishedFailed(TestInfo testInfo, Throwable throwable)

        Called on "main" section finishes with failure, delegates the interception to watcherInterceptors.

        Parameters:
        testInfo - the test info to pass to watcherInterceptors.
        throwable - the error occured to pass to watcherInterceptors.
      • onAfterSectionStarted

         Unit onAfterSectionStarted(TestInfo testInfo)

        Called on "after" section starts, delegates the interception to watcherInterceptors.

        Parameters:
        testInfo - the test info to pass to watcherInterceptors.
      • onAfterSectionFinishedSuccess

         Unit onAfterSectionFinishedSuccess(TestInfo testInfo)

        Called on "after" section finishes with success, delegates the interception to watcherInterceptors.

        Parameters:
        testInfo - the test info to pass to watcherInterceptors.
      • onAfterSectionFinishedFailed

         Unit onAfterSectionFinishedFailed(TestInfo testInfo, Throwable throwable)

        Called on "after" section finishes with failure, delegates the interception to watcherInterceptors.

        Parameters:
        testInfo - the test info to pass to watcherInterceptors.
        throwable - the error occured to pass to watcherInterceptors.
      • onTestFinished

         Unit onTestFinished(TestInfo testInfo, Boolean success)

        Called on the whole test finishes, delegates the interception to watcherInterceptors.

        Parameters:
        testInfo - the test info to pass to watcherInterceptors.
        success - the while test was finished successfully or not, to pass to watcherInterceptors.