Class AbstractTestWithCallbacksExtension

    • Constructor Detail

      • AbstractTestWithCallbacksExtension

        public AbstractTestWithCallbacksExtension()
    • Method Detail

      • isBeforeTestCallbacksEmpty

        protected boolean isBeforeTestCallbacksEmpty()
      • invokeBeforeTestExecutionCallbacks

        protected void invokeBeforeTestExecutionCallbacks​(Class<?> clazz,
                                                          Object classInstance)
                                                   throws Exception
        Throws:
        Exception
      • isAfterTestCallbacksEmpty

        protected boolean isAfterTestCallbacksEmpty()
      • invokeAfterTestExecutionCallbacks

        protected void invokeAfterTestExecutionCallbacks​(Class<?> clazz,
                                                         Object classInstance)
                                                  throws Exception
        Throws:
        Exception
      • invokeBeforeClassCallbacks

        protected void invokeBeforeClassCallbacks​(Class<?> classInstance)
                                           throws Exception
        Throws:
        Exception
      • invokeBeforeClassCallbacks

        protected void invokeBeforeClassCallbacks​(Class<?> clazz,
                                                  Object classInstance)
                                           throws Exception
        Throws:
        Exception
      • invokeAfterConstructCallbacks

        protected void invokeAfterConstructCallbacks​(Object testInstance)
                                              throws Exception
        Throws:
        Exception
      • invokeAfterConstructCallbacks

        protected void invokeAfterConstructCallbacks​(Class<?> clazz,
                                                     Object classInstance)
                                              throws Exception
        Throws:
        Exception
      • isBeforeEachCallbacksEmpty

        protected boolean isBeforeEachCallbacksEmpty()
      • invokeBeforeEachCallbacks

        protected void invokeBeforeEachCallbacks​(Class<?> clazz,
                                                 Object classInstance)
                                          throws Exception
        Throws:
        Exception
      • isAfterEachCallbacksEmpty

        protected boolean isAfterEachCallbacksEmpty()
      • invokeAfterEachCallbacks

        protected void invokeAfterEachCallbacks​(Class<?> clazz,
                                                Object classInstance)
                                         throws Exception
        Throws:
        Exception
      • isAfterAllCallbacksEmpty

        protected boolean isAfterAllCallbacksEmpty()