Add a dummy SmtpServer to talk to our SmtpClient in unit tests
authorRaja R Harinath <harinath@hurrynot.org>
Wed, 4 Aug 2010 02:40:08 +0000 (08:10 +0530)
committerRaja R Harinath <harinath@hurrynot.org>
Wed, 4 Aug 2010 04:27:08 +0000 (09:57 +0530)
commit57f8ebd654b19ce0bd6514a5e9dc437cd47fbfc2
treec65325eef9257f99c01043108e9c1f4ea9dff01c
parent0a1d58da93046d87e2277ceb58d8aaff4a718e47
Add a dummy SmtpServer to talk to our SmtpClient in unit tests

* SmtpServer.cs: New.
* SmtpClientTest.cs (Deliver): New.  Use it.
mcs/class/System/System_test.dll.sources
mcs/class/System/Test/System.Net.Mail/SmtpClientTest.cs
mcs/class/System/Test/System.Net.Mail/SmtpServer.cs [new file with mode: 0644]