<dzxzg>
Is the answer to only test "public" interfaces?
Cory8 has quit [Ping timeout: 250 seconds]
<dzxzg>
It just seems like esp. for peermanagerimpl, the scope of internal functions grows from a one-off utility to something with lots of users with various subtle expectations; to make it concrete, in the case of PeerManagerImpl::BlockRequested, would anyone object to continuing the approach of exporting stuff into the interface class just for the purpose of being used in unit tests?
Cory59 has joined #bitcoin-core-dev
Cory40 has quit [Ping timeout: 250 seconds]
<dzxzg>
maybe this is just an argument for breaking stuff out of PeerManImpl into smaller chunks
dzxzg has quit [Remote host closed the connection]
flooded has quit [Remote host closed the connection]
flooded has joined #bitcoin-core-dev
<sipa>
dzxzg: could make them protected, or make the test function/class a friend
conman has quit [Quit: Konversation terminated!]
conman has joined #bitcoin-core-dev
Cory59 has quit [Quit: Client closed]
Cory59 has joined #bitcoin-core-dev
flooded has quit [Remote host closed the connection]
flooded has joined #bitcoin-core-dev
afiore has quit [Remote host closed the connection]
afiore has joined #bitcoin-core-dev
Cory59 has quit [Quit: Client closed]
Cory59 has joined #bitcoin-core-dev
flooded has quit [Remote host closed the connection]
flooded has joined #bitcoin-core-dev
saturday- has joined #bitcoin-core-dev
Saturday7 has quit [Ping timeout: 240 seconds]
cmirror has quit [Remote host closed the connection]
cmirror has joined #bitcoin-core-dev
bcdarc has joined #bitcoin-core-dev
memset has quit [Remote host closed the connection]
memset has joined #bitcoin-core-dev
Cory89 has quit [Quit: Client closed]
Cory89 has joined #bitcoin-core-dev
Sjors[m]1 has quit [Ping timeout: 260 seconds]
sr_gi[m]1 has quit [Ping timeout: 260 seconds]
pinheadmz[m] has quit [Ping timeout: 260 seconds]
BlueMattTest1 has quit [Ping timeout: 260 seconds]
Murch[m] has quit [Ping timeout: 260 seconds]
Murch[m] has joined #bitcoin-core-dev
BlueMattTest1 has joined #bitcoin-core-dev
Sjors[m]1 has joined #bitcoin-core-dev
sr_gi[m]1 has joined #bitcoin-core-dev
pinheadmz[m] has joined #bitcoin-core-dev
l0rinc has quit [Ping timeout: 240 seconds]
l0rinc has joined #bitcoin-core-dev
_andrewtoth_ has quit [Remote host closed the connection]
_andrewtoth_ has joined #bitcoin-core-dev
l0rinc has quit [Ping timeout: 244 seconds]
_andrewtoth_ has quit [Remote host closed the connection]
_andrewtoth_ has joined #bitcoin-core-dev
memset has quit [Remote host closed the connection]
memset has joined #bitcoin-core-dev
memset has quit [Remote host closed the connection]