I2P Address: [http://i2pgit.org]

Skip to content

ConvertToHash test I2PAppContext part

LoveIsGrief requested to merge loveisgrief/i2p.i2p:test-context into master

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