You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently s/s/m/j/o/s/m/w/MockPart.java from 5.x to 4.3.x is 5.x only
In 4.3.x there is MockHttpServletRequest.java#addPart(Part p), but no mock for Part
It'd be useful to be able to reuse MockPart in 4.3.x
Context : wrote a test case in a non Spring Web project (bare Servlets + Mockito) but used Spring Test mocks in test dependencies. Had to copy paste MockPart from 5.x without Nullable/Assert to get the mock.
Laurent Perez opened SPR-15854 and commented
Currently s/s/m/j/o/s/m/w/MockPart.java from 5.x to 4.3.x is 5.x only
In 4.3.x there is MockHttpServletRequest.java#addPart(Part p), but no mock for Part
It'd be useful to be able to reuse MockPart in 4.3.x
Context : wrote a test case in a non Spring Web project (bare Servlets + Mockito) but used Spring Test mocks in test dependencies. Had to copy paste MockPart from 5.x without Nullable/Assert to get the mock.
Affects: 4.3.10
Issue Links:
Referenced from: commits 87df393, ea01c41
The text was updated successfully, but these errors were encountered: