Some testing

Hi all! I’m trying to write a unit test for a Kad packet, but it’s being quite complicated. The class and namespace hierarchies are so complex that I can’t figure it out how to write the test…

Maybe I should spend some more time digging into the operation of PacketDriver’s macros…

Best regards,

David

Would you like to post a relpy?


This post starts a thread.
Follow-ups:
Re: Some testing
Hi David, The macros are just to make it easier to write template specializations for the functions readPayload() and writePayload(). If I remember correctly, the driver class extends the real packet (more...)