/**
* Marks the {@link ApplicationContext application context} of the supplied {@link TestContext test context} as
* {@link TestContext#markApplicationContextDirty() dirty}, and sets the
* {@link DependencyInjectionTestExecutionListener#REINJECT_DEPENDENCIES_ATTRIBUTE REINJECT_DEPENDENCIES_ATTRIBUTE}
* in the test context to <code>true</code> .
*/
protected void reloadContext(TestContext testContext) {
testContext.markApplicationContextDirty();
testContext
.setAttribute(DependencyInjectionTestExecutionListener.REINJECT_DEPENDENCIES_ATTRIBUTE, Boolean.TRUE);
}
ReloadContextTestExecutionListener.java 文件源码
java
阅读 24
收藏 0
点赞 0
评论 0
项目:geomajas-project-server
作者:
评论列表
文章目录