Re: Support for Windows Usernames

Jan Schneider <[email protected]> Fri, 6 Feb 2004 09:46:53 +0100
Newsgroups gmane.comp.horde.chora
Message-ID <[email protected]>
Zitat von Jon Parise <[email protected]>:

> On Thu, Feb 05, 2004 at 10:51:48PM -0500, [email protected] wrote:
>
>> > Also, I think it would be swell if you could provide some sort of
>> > brief unit test that verifies that the function you modified now
>> > accepts the full range of expected username formats.
>>
>> I'm not sure I understand this... Could you give an example?
>
> Ideally, you could provide a set of strings that would represent
> inputs to the processLog() function (i.e., possible values for $raw).
> You would then feed each through the function and then verify that
> each was parsed correctly (by checking the contents of $this->author).
>
> You can learn more about unit testing here:
>
>    http://www.extremeprogramming.org/rules/unittests.html

Also see http://cvsweb.horde.org/cvs.php/framework/Cipher/tests/ or
http://cvsweb.horde.org/cvs.php/framework/Util/tests/ for existing test.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - Neue Wege des Lernens
http://www.tip4all.de - Deine private Tippgemeinschaft
-- 
Chora mailing list - Join the hunt: http://horde.org/bounties/#chora
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]