[Cppunit-devel] How to write to test System Calls
Brought to you by:
blep
From: CppUnit d. m. l. <cpp...@li...> - 2007-06-19 09:36:55
|
Hi all, This is Sandeep. I have developed some multi threaded application in which i am using CreateThread system call. I need to test this application with CppUnit but i don't know how to make a test for that System call. Now Suppose if i replace this system call implementation with my own written dummy implementation then it might clash with system dlls. Suppose if i don't replace this system call implementation with my own then it might be the case that every time it succeeds, then i can't be able to test my code for false cases also... Can any body helop me out. Thanks and Regards Sandeep |