提交 06799471 编写于 作者: S Sam Brannen

Make TestContextManager.getTestContext() public

This commit changes the visibility of the getTestContext() method in
TestContextManager from 'protected' to 'public' in order to support
test method injection in JUnit 5 and similar use cases.

Issue: SPR-14011
上级 50bcd67f
......@@ -124,7 +124,7 @@ public class TestContextManager {
/**
* Get the {@link TestContext} managed by this {@code TestContextManager}.
*/
protected final TestContext getTestContext() {
public final TestContext getTestContext() {
return this.testContext;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册