接口 AotTestExecutionListener

所有超级接口:
TestExecutionListener
所有已知实现类:
SqlScriptsTestExecutionListener

public interface AotTestExecutionListener extends TestExecutionListener
AotTestExecutionListener is an extension of the TestExecutionListener SPI that allows a listener to optionally provide ahead-of-time (AOT) support.
从以下版本开始:
4.0
作者:
Sam Brannen, Harry Yang
  • 方法详细资料

    • processAheadOfTime

      void processAheadOfTime(cn.taketoday.aot.hint.RuntimeHints runtimeHints, Class<?> testClass, ClassLoader classLoader)
      Process the supplied test class ahead-of-time using the given RuntimeHints instance.

      If possible, implementations should use the specified ClassLoader to determine if hints have to be contributed.

      参数:
      runtimeHints - the RuntimeHints to use
      testClass - the test class to process
      classLoader - the classloader to use