Closed scravy closed 5 years ago
The
result_*
variables read a bit unusual on a first sight, but looking at how they are used, the naming makes sense. ConceptACK.
Agree. As an active user of active chain mock, I find tip
, for example, is much more convenient. I don't have strong arguments against result_GetTip
tho, and most of them seems to make sense, but still.
Rebased
This moves the mocks from
proposer_tests
totest_unite_mocks
such that they can be re-used in other unit tests.It also streamlines the interface of the active chain mock to use the same patterns of
result_MethodName
,invocations_MethodName
, etc.Signed-off-by: Julian Fleischer julian@thirdhash.com