ConvertToHash test I2PAppContext part
1 unresolved thread
1 unresolved thread
Building upon @zlatinb's MR !14 (closed) , it makes it possible to replace the global context with a TestContext
.
By using @InjectMocks
it's possible to replace the fields of a TestContext
object with mocks.
This is done in a separate MR in order not to pollute !13 (merged) with I2PAppContext
specific code.
Edited by zzz
Merge request reports
Activity
added 1 commit
- 44c3d8cc - ConvertToHashMockTest: Clean up after using TestContext
assigned to @zzz
mentioned in commit 4776080c
mentioned in merge request !14 (closed)
mentioned in merge request !18 (closed)
Please register or sign in to reply