[BUG] BFAV tests send useless email

Frank Shearar Frank.Shearar at rnid.org.uk
Tue Aug 17 07:51:57 UTC 2004


Harrumph *cough* yes. It's a feature that crept in the latest release.

We SHOULD have a mock BFAV infrastructure that we can test against. Something I've promised myself I'll get around to as a matter of urgency.

However, on a not-quite-BFAV note, we could have a mock MailSender, and in the #setUp we change the AppRegistry to point to this mock MailSender, and in #tearDown (which _is_ guaranteed to run, right?) we set the AppRegistry back to its original setting.

Either that, or we add a #useMailSender: method to allow us to specify which mail sending to use, and set that to a sensible default in DRNP's #initialize.

Comments? Offers of a ready-rolled mock SMTP client? :)

frank

> -----Original Message-----
> From: John Pfersich [mailto:jp1660 at att.net]
> Sent: 17 August 2004 05:57
> To: The general-purpose Squeak developers list
> Subject: Re: [BUG] BFAV tests send useless email
> 
> 
> Sounds like a 'feature' to me :^)


*******************************************************************
This email and any files transmitted with it are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. Any views or opinions expressed
are solely those of the author and do not necessarily represent
RNID policy.
If you are not the intended recipient you are advised that any
use, dissemination, forwarding, printing or copying of this
email is strictly prohibited.
If you have received this email in error please notify the RNID
Helpdesk by telephone on: +44 (0) 207 296 8282.
The Royal National Institute for Deaf People
Registered Office 19*23 Featherstone Street
London EC1Y 8SL No. 454169 (England)
Registered Charity No. 207720
********************************************************************




More information about the Squeak-dev mailing list