On Mon, Jan 3, 2011 at 10:32 AM, Daniel Stenberg <[email protected]> wrote:
> So when we want to unit test other functions we need another way to reach > them. > > Also, the existance of many static functions may force us to do a separate > build for unit tests anyway. Right, separate builds are necessary. By the way, I did not review all tests yet and only scratch the surface so far (to test my windows related changes :). But do you test internal libcurl functions (not exposed) as well? Or only the exposed APIs? If internals functions are tested as well, that's a kind of totally different tests case. Using obj or adding the required files to the build works just fine. Cheers, -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
