How can I use something like mock objects when calling Win API functions like this?
Can't you write tests by putting a dedicated mail server on your system,
then send it real mail?
--
Phlip
http://www.c2.com/cgi/wiki?TestFirstUserInterfaces
View Full Version : Mocking Win32 API
The MyLounge.com forum is intended for informational use only and should not
be relied upon and is not a substitute for any advice. The information contained
on MyLounge.com are opinions and suggestions of members and is not a representation
of the opinions of MyLounge.com. MyLounge.com does not warrant or vouch for
the accuracy, completeness or usefulness of any postings or the qualifications
of any person responding. Please consult a expert or seek the services of an
attorney in your area for more accuracy on your specific situation. Please note
that our forums also serve as mirrors to Usenet newsgroups. Many posts you see
on our forums are made by newsgroup users who may not be members of MyLounge.com
Term of Service