Unit tests for packet class

Hi all

I added the tests to the Testing directory….

The

#ifdef UNIT_TEST

protected:

#else

private:

#endif

idea is taken from Mike Feather’s book ;-)

— cheers atul

Attached Files:

Would you like to post a relpy?


This post starts a thread.
Follow-ups:
Re: Unit tests for packet class
Hi Atul, Thanks for the patch! Just committed it in revno 68. I decided to save a roundtrip and changed indentation (maybe you used tab size of 2), fixed a memory (more...)