[Kde-pim] Review Request: Return error when email address ends with '.'
Thomas McGuire
mcguire at kde.org
Wed Aug 26 18:22:27 BST 2009
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.kde.org/r/1409/#review2155
-----------------------------------------------------------
Ship it!
I'd prefer the _data() method for unit tests, see http://techbase.kde.org/Development/Tutorials/Unittests#Tutorial_2:_Data_driven_testing_of_a_date_class
But since those are only unit tests, it doesn't matter much.
/trunk/KDE/kdepimlibs/kpimutils/email.cpp
<http://reviewboard.kde.org/r/1409/#comment1472>
coding style: missing whitespace :)
- Thomas
On 2009-08-26 11:57:12, Torgny Nyblom wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviewboard.kde.org/r/1409/
> -----------------------------------------------------------
>
> (Updated 2009-08-26 11:57:12)
>
>
> Review request for KDE PIM.
>
>
> Summary
> -------
>
> Check if an email address ends with '.'. If this is the case return an error.
> Add unit tests for this as well as for the "isValidAddressList()" function.
>
>
> This addresses bug 139477.
> https://bugs.kde.org/show_bug.cgi?id=139477
>
>
> Diffs
> -----
>
> /trunk/KDE/kdepimlibs/kpimutils/email.cpp 1015049
> /trunk/KDE/kdepimlibs/kpimutils/tests/testemail.cpp 1015049
>
> Diff: http://reviewboard.kde.org/r/1409/diff
>
>
> Testing
> -------
>
> Unit tests work.
> Sent email with correct and incorrect (returned error :)) address.
>
>
> Thanks,
>
> Torgny
>
>
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
More information about the kde-pim
mailing list