Class RegistryResultListener

  • All Implemented Interfaces:
    org.junit.jupiter.api.extension.Extension, org.junit.jupiter.api.extension.TestWatcher

    public class RegistryResultListener
    extends Object
    implements org.junit.jupiter.api.extension.TestWatcher
    Class is used to monitor test results in order to provide ConditionalDisableExtension
    • Constructor Detail

      • RegistryResultListener

        public RegistryResultListener()
    • Method Detail

      • testDisabled

        public void testDisabled​(org.junit.jupiter.api.extension.ExtensionContext extensionContext,
                                 Optional<String> optional)
        Specified by:
        testDisabled in interface org.junit.jupiter.api.extension.TestWatcher
      • testSuccessful

        public void testSuccessful​(org.junit.jupiter.api.extension.ExtensionContext extensionContext)
        Specified by:
        testSuccessful in interface org.junit.jupiter.api.extension.TestWatcher
      • testAborted

        public void testAborted​(org.junit.jupiter.api.extension.ExtensionContext extensionContext,
                                Throwable throwable)
        Specified by:
        testAborted in interface org.junit.jupiter.api.extension.TestWatcher
      • testFailed

        public void testFailed​(org.junit.jupiter.api.extension.ExtensionContext extensionContext,
                               Throwable throwable)
        Specified by:
        testFailed in interface org.junit.jupiter.api.extension.TestWatcher