org.springframework.test.context.junit4.statements.ProfileValueChecker Java Examples

The following examples show how to use org.springframework.test.context.junit4.statements.ProfileValueChecker. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: SpringClassRule.java    From spring-analysis-note with MIT License 2 votes vote down vote up
/**
 * Wrap the supplied {@link Statement} with a {@code ProfileValueChecker} statement.
 * @see ProfileValueChecker
 */
private Statement withProfileValueCheck(Statement next, Class<?> testClass) {
	return new ProfileValueChecker(next, testClass, null);
}
 
Example #2
Source File: SpringMethodRule.java    From spring-analysis-note with MIT License 2 votes vote down vote up
/**
 * Wrap the supplied {@link Statement} with a {@code ProfileValueChecker} statement.
 * @see ProfileValueChecker
 */
private Statement withProfileValueCheck(Statement next, Method testMethod, Object testInstance) {
	return new ProfileValueChecker(next, testInstance.getClass(), testMethod);
}
 
Example #3
Source File: SpringClassRule.java    From java-technology-stack with MIT License 2 votes vote down vote up
/**
 * Wrap the supplied {@link Statement} with a {@code ProfileValueChecker} statement.
 * @see ProfileValueChecker
 */
private Statement withProfileValueCheck(Statement next, Class<?> testClass) {
	return new ProfileValueChecker(next, testClass, null);
}
 
Example #4
Source File: SpringMethodRule.java    From java-technology-stack with MIT License 2 votes vote down vote up
/**
 * Wrap the supplied {@link Statement} with a {@code ProfileValueChecker} statement.
 * @see ProfileValueChecker
 */
private Statement withProfileValueCheck(Statement next, Method testMethod, Object testInstance) {
	return new ProfileValueChecker(next, testInstance.getClass(), testMethod);
}
 
Example #5
Source File: SpringClassRule.java    From spring4-understanding with Apache License 2.0 2 votes vote down vote up
/**
 * Wrap the supplied {@code statement} with a {@code ProfileValueChecker} statement.
 * @see ProfileValueChecker
 */
private Statement withProfileValueCheck(Statement statement, Class<?> testClass) {
	return new ProfileValueChecker(statement, testClass, null);
}
 
Example #6
Source File: SpringMethodRule.java    From spring4-understanding with Apache License 2.0 2 votes vote down vote up
/**
 * Wrap the supplied {@link Statement} with a {@code ProfileValueChecker} statement.
 * @see ProfileValueChecker
 */
private Statement withProfileValueCheck(Statement statement, FrameworkMethod frameworkMethod, Object testInstance) {
	return new ProfileValueChecker(statement, testInstance.getClass(), frameworkMethod.getMethod());
}