类org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks源码实例Demo

下面列出了怎么用org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks的API类实例代码及写法,或者点击链接到github查看源代码。

/**
 * Wrap the {@link Statement} returned by the parent implementation with a
 * {@code RunAfterTestClassCallbacks} statement, thus preserving the default
 * JUnit functionality while adding support for the Spring TestContext Framework.
 * @see RunAfterTestClassCallbacks
 */
@Override
protected Statement withAfterClasses(Statement statement) {
	Statement junitAfterClasses = super.withAfterClasses(statement);
	return new RunAfterTestClassCallbacks(junitAfterClasses, getTestContextManager());
}
 
源代码2 项目: spring-analysis-note   文件: SpringClassRule.java
/**
 * Wrap the supplied {@link Statement} with a {@code RunAfterTestClassCallbacks} statement.
 * @see RunAfterTestClassCallbacks
 */
private Statement withAfterTestClassCallbacks(Statement next, TestContextManager testContextManager) {
	return new RunAfterTestClassCallbacks(next, testContextManager);
}
 
/**
 * Wrap the {@link Statement} returned by the parent implementation with a
 * {@code RunAfterTestClassCallbacks} statement, thus preserving the default
 * JUnit functionality while adding support for the Spring TestContext Framework.
 * @see RunAfterTestClassCallbacks
 */
@Override
protected Statement withAfterClasses(Statement statement) {
	Statement junitAfterClasses = super.withAfterClasses(statement);
	return new RunAfterTestClassCallbacks(junitAfterClasses, getTestContextManager());
}
 
源代码4 项目: java-technology-stack   文件: SpringClassRule.java
/**
 * Wrap the supplied {@link Statement} with a {@code RunAfterTestClassCallbacks} statement.
 * @see RunAfterTestClassCallbacks
 */
private Statement withAfterTestClassCallbacks(Statement next, TestContextManager testContextManager) {
	return new RunAfterTestClassCallbacks(next, testContextManager);
}
 
/**
 * Wrap the {@link Statement} returned by the parent implementation with a
 * {@code RunAfterTestClassCallbacks} statement, thus preserving the default
 * JUnit functionality while adding support for the Spring TestContext Framework.
 * @see RunAfterTestClassCallbacks
 */
@Override
protected Statement withAfterClasses(Statement statement) {
	Statement junitAfterClasses = super.withAfterClasses(statement);
	return new RunAfterTestClassCallbacks(junitAfterClasses, getTestContextManager());
}
 
源代码6 项目: spring4-understanding   文件: SpringClassRule.java
/**
 * Wrap the supplied {@code statement} with a {@code RunAfterTestClassCallbacks} statement.
 * @see RunAfterTestClassCallbacks
 */
private Statement withAfterTestClassCallbacks(Statement statement, TestContextManager testContextManager) {
	return new RunAfterTestClassCallbacks(statement, testContextManager);
}
 
 类方法
 同包方法