18 Sep
2008
18 Sep
'08
3:16 p.m.
M. Siebeneicher writes:
I tried to test protected/private class methods by declaring the test-case-class as a friend of the class-to-test.
Here's what we do to unit test our classes: #define private public #define protected public #include <common/Blob.hpp> This makes our unit testing much easier! ;-) Cheers, -- Robert