[commits] Horde branch master updated. fd0c871b8b9a666b5e4ffb12c5b4350199948069

Gunnar Wrobel p at rdus.de
Wed Feb 16 08:24:42 UTC 2011


The branch "master" has been updated.
The following is a summary of the commits.

from: 431aa2fecadefdc4d1935203d4413a2948205390

fd0c871 Compare single permission settings rather than complete objects.

-----------------------------------------------------------------------

commit fd0c871b8b9a666b5e4ffb12c5b4350199948069
Author: Gunnar Wrobel <p at rdus.de>
Date:   Wed Feb 16 09:24:32 2011 +0100

    Compare single permission settings rather than complete objects.
    
    The Kolab permission backend is very different from the way this is
    handled with SQL as a backend. The old testing did compare complete
    permission objects but it is hard to get this to align for both
    backends. Unset permissions are not present for example and the
    permission object itself is not of type Horde_Perms_Permission but
    Horde_Perms_Permission_Kolab.
    
    Instead of comparing complete permission objects the tests now verify
    the expected permission settings one by one.

 framework/Share/test/Horde/Share/Base.php           |   63 ++++++++++---------
 framework/Share/test/Horde/Share/Kolab/MockTest.php |   55 ----------------
 2 files changed, 33 insertions(+), 85 deletions(-)

http://git.horde.org/horde-git/-/commit/fd0c871b8b9a666b5e4ffb12c5b4350199948069




More information about the commits mailing list