SPR-12031 Support @ContextConfiguration at method level#1255
SPR-12031 Support @ContextConfiguration at method level#1255fdesu wants to merge 1 commit intospring-projects:masterfrom
Conversation
a8bb1f2 to
4f7aed0
Compare
sbrannen
left a comment
There was a problem hiding this comment.
Please apply the requested changes in order to reduce the amount of noise in this commit.
Thanks!
There was a problem hiding this comment.
In general, contributors are required to adhere to the Spring Framework Code Style. So please familiarize yourself with that and rework your PR.
For example, you need to undo all changes to import ordering and static imports throughout all changed classes.
There was a problem hiding this comment.
It appears that you formatted code that you have not authored or modified, which is not permissible according to Spring's coding guidelines.
Also, it appears you may be using the wrong indentation settings.
There was a problem hiding this comment.
Production code is not allowed to use static imports.
|
@sbrannen |
It's definitely forbidden in production code. In test code, I think there are few places where that style is used. But I don't want that in the Thanks |
4f7aed0 to
e3d8c85
Compare
Prior Spring TestContext Framework had not supported @ContextConfiguration annotation on the method-level. This commit enables @ContextConfiguration and @ContextHierarchy to be the method-level annotations. Now TCF will emit fully configured throw-away TestContext for the particular test method. Issue: SPR-12031
e3d8c85 to
ae37c63
Compare
|
@sbrannen |
Prior Spring TestContext Framework had not supported
@ContextConfiguration annotation on the method-level.
This commit enables @ContextConfiguration and
@ContextHierarchy to be the method-level annotations.
Now TCF will emit fully configured throw-away
TestContext for the particular test method.
Issue: SPR-12031