接口的使用
cn.taketoday.framework.test.context.runner.ContextConsumer
使用ContextConsumer的程序包
程序包
说明
Test utilities to run application contexts for testing.
-
cn.taketoday.framework.test.context.runner中ContextConsumer的使用
修饰符和类型方法说明default ContextConsumer<C>ContextConsumer.andThen(ContextConsumer<? super C> after) Returns a composedContextConsumerthat performs, in sequence, this operation followed by theafteroperation.修饰符和类型方法说明private voidAbstractApplicationContextRunner.accept(ContextConsumer<? super A> consumer, A context) default ContextConsumer<C>ContextConsumer.andThen(ContextConsumer<? super C> after) Returns a composedContextConsumerthat performs, in sequence, this operation followed by theafteroperation.private voidAbstractApplicationContextRunner.consumeAssertableContext(boolean refresh, ContextConsumer<? super A> consumer) AbstractApplicationContextRunner.prepare(ContextConsumer<? super A> consumer) Prepare a newApplicationContextbased on the current state of this loader.AbstractApplicationContextRunner.run(ContextConsumer<? super A> consumer) Create and refresh a newApplicationContextbased on the current state of this loader.