org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks Java Examples
The following examples show how to use
org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.
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: SpringJUnit4ClassRunner.java From spring-analysis-note with MIT License | 2 votes |
/** * Wrap the {@link Statement} returned by the parent implementation with a * {@code RunBeforeTestClassCallbacks} statement, thus preserving the * default JUnit functionality while adding support for the Spring TestContext * Framework. * @see RunBeforeTestClassCallbacks */ @Override protected Statement withBeforeClasses(Statement statement) { Statement junitBeforeClasses = super.withBeforeClasses(statement); return new RunBeforeTestClassCallbacks(junitBeforeClasses, getTestContextManager()); }
Example #2
Source File: SpringClassRule.java From spring-analysis-note with MIT License | 2 votes |
/** * Wrap the supplied {@link Statement} with a {@code RunBeforeTestClassCallbacks} statement. * @see RunBeforeTestClassCallbacks */ private Statement withBeforeTestClassCallbacks(Statement next, TestContextManager testContextManager) { return new RunBeforeTestClassCallbacks(next, testContextManager); }
Example #3
Source File: SpringJUnit4ClassRunner.java From java-technology-stack with MIT License | 2 votes |
/** * Wrap the {@link Statement} returned by the parent implementation with a * {@code RunBeforeTestClassCallbacks} statement, thus preserving the * default JUnit functionality while adding support for the Spring TestContext * Framework. * @see RunBeforeTestClassCallbacks */ @Override protected Statement withBeforeClasses(Statement statement) { Statement junitBeforeClasses = super.withBeforeClasses(statement); return new RunBeforeTestClassCallbacks(junitBeforeClasses, getTestContextManager()); }
Example #4
Source File: SpringClassRule.java From java-technology-stack with MIT License | 2 votes |
/** * Wrap the supplied {@link Statement} with a {@code RunBeforeTestClassCallbacks} statement. * @see RunBeforeTestClassCallbacks */ private Statement withBeforeTestClassCallbacks(Statement next, TestContextManager testContextManager) { return new RunBeforeTestClassCallbacks(next, testContextManager); }
Example #5
Source File: SpringJUnit4ClassRunner.java From spring4-understanding with Apache License 2.0 | 2 votes |
/** * Wrap the {@link Statement} returned by the parent implementation with a * {@code RunBeforeTestClassCallbacks} statement, thus preserving the * default JUnit functionality while adding support for the Spring TestContext * Framework. * @see RunBeforeTestClassCallbacks */ @Override protected Statement withBeforeClasses(Statement statement) { Statement junitBeforeClasses = super.withBeforeClasses(statement); return new RunBeforeTestClassCallbacks(junitBeforeClasses, getTestContextManager()); }
Example #6
Source File: SpringClassRule.java From spring4-understanding with Apache License 2.0 | 2 votes |
/** * Wrap the supplied {@code statement} with a {@code RunBeforeTestClassCallbacks} statement. * @see RunBeforeTestClassCallbacks */ private Statement withBeforeTestClassCallbacks(Statement statement, TestContextManager testContextManager) { return new RunBeforeTestClassCallbacks(statement, testContextManager); }