接口 AotTestExecutionListener
- 所有超级接口:
TestExecutionListener
- 所有已知实现类:
SqlScriptsTestExecutionListener
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
-
方法概要
修饰符和类型方法说明voidprocessAheadOfTime(cn.taketoday.aot.hint.RuntimeHints runtimeHints, Class<?> testClass, ClassLoader classLoader) Process the supplied test class ahead-of-time using the givenRuntimeHintsinstance.从接口继承的方法 cn.taketoday.test.context.TestExecutionListener
afterTestClass, afterTestExecution, afterTestMethod, beforeTestClass, beforeTestExecution, beforeTestMethod, prepareTestInstance
-
方法详细资料
-
processAheadOfTime
void processAheadOfTime(cn.taketoday.aot.hint.RuntimeHints runtimeHints, Class<?> testClass, ClassLoader classLoader) Process the supplied test class ahead-of-time using the givenRuntimeHintsinstance.If possible, implementations should use the specified
ClassLoaderto determine if hints have to be contributed.- 参数:
runtimeHints- theRuntimeHintsto usetestClass- the test class to processclassLoader- the classloader to use
-