spring-framework / org.springframework.test.context.junit4.statements / RunAfterTestClassCallbacks / evaluate

evaluate

open fun evaluate(): Unit

Evaluate the next Statement in the execution chain (typically an instance of org.junit.internal.runners.statements.RunAfters), catching any exceptions thrown, and then invoke TestContextManager#afterTestClass().

If the invocation of afterTestClass() throws an exception, it will also be tracked. Multiple exceptions will be combined into a MultipleFailureException.