Class AbstractQuarkusTestWithContextExtension

    • Constructor Detail

      • AbstractQuarkusTestWithContextExtension

        public AbstractQuarkusTestWithContextExtension()
    • Method Detail

      • handleAfterAllMethodExecutionException

        public void handleAfterAllMethodExecutionException​(org.junit.jupiter.api.extension.ExtensionContext context,
                                                           Throwable throwable)
                                                    throws Throwable
        Specified by:
        handleAfterAllMethodExecutionException in interface org.junit.jupiter.api.extension.LifecycleMethodExecutionExceptionHandler
        Throws:
        Throwable
      • handleAfterEachMethodExecutionException

        public void handleAfterEachMethodExecutionException​(org.junit.jupiter.api.extension.ExtensionContext context,
                                                            Throwable throwable)
                                                     throws Throwable
        Specified by:
        handleAfterEachMethodExecutionException in interface org.junit.jupiter.api.extension.LifecycleMethodExecutionExceptionHandler
        Throws:
        Throwable
      • handleBeforeAllMethodExecutionException

        public void handleBeforeAllMethodExecutionException​(org.junit.jupiter.api.extension.ExtensionContext context,
                                                            Throwable throwable)
                                                     throws Throwable
        Specified by:
        handleBeforeAllMethodExecutionException in interface org.junit.jupiter.api.extension.LifecycleMethodExecutionExceptionHandler
        Throws:
        Throwable
      • handleBeforeEachMethodExecutionException

        public void handleBeforeEachMethodExecutionException​(org.junit.jupiter.api.extension.ExtensionContext context,
                                                             Throwable throwable)
                                                      throws Throwable
        Specified by:
        handleBeforeEachMethodExecutionException in interface org.junit.jupiter.api.extension.LifecycleMethodExecutionExceptionHandler
        Throws:
        Throwable
      • testFailed

        public void testFailed​(org.junit.jupiter.api.extension.ExtensionContext context,
                               Throwable cause)
        Specified by:
        testFailed in interface org.junit.jupiter.api.extension.TestWatcher
      • setState

        protected void setState​(org.junit.jupiter.api.extension.ExtensionContext context,
                                QuarkusTestExtensionState state)
      • getStoreFromContext

        protected org.junit.jupiter.api.extension.ExtensionContext.Store getStoreFromContext​(org.junit.jupiter.api.extension.ExtensionContext context)
      • markTestAsFailed

        protected void markTestAsFailed​(org.junit.jupiter.api.extension.ExtensionContext context,
                                        Throwable throwable)