[interfacekit] Re: CppUnit frustrations

I have CppUnit v1.5 compiling from a makefile with a bunch of sample 
tests for BLocker and BMessageQueue about this --><-- close to checking 
into CVS.  In the meantime, I have put this up for download:

http://www.windswept-iv.ca/openbeos/test.new.zip

Here are some quick instructions:

1. Use cvs to get the latest openbeos source.

2. Go to the app-kit directory and so a make to build the 
libopenbeos.so

3. Extract the test.new.zip archive into the app-kit directory.

4. Go to the test.new directory and do a make.  This should build 
everything you need and execute the BLocker and BMessageQueue 
testcases.

5. Go to the add-ons directory.  Here you will find the BLockerDir and 
BMessageQueueDir directories.  This is where all the source is for the 
existing tests.

I will be trying to adjust the directory hierarchy to better match the 
test directory we have right now.  Also, I will do my best to write 
some docs to help people to pick this stuff up as fast as possible.

Feel free to contact me if you have any questions or concerns about how 
this stuff works.  Hope this helps.

>I knew I'd have to break down and learn to use CppUnit, but I'm 
apparently 
>missing something - perhaps a clue or two - because I can't seem to 
figure 
>out how to get it to compile, even the sample code. I'd like to be 
able to 
>write some BHandler tests.
>
>--DW

--
Jeremy Rand
jrand@xxxxxxxx

Other related posts: