[commits] Horde branch master updated. 25c965a86f60a01eb3bff7cc945d8ed8c9a8ade4

Gunnar Wrobel p at rdus.de
Fri Sep 2 06:03:28 UTC 2011


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

from: a778445a9bcbf5d6589d30a6bceb4303879111df

9b3b273 Remove unused class.
ef616ff Merge branch 'master' of ssh://dev.horde.org/horde/git/horde
25c965a Add my idea of how we could prepare complex test setups for testing Horde applications.

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

commit 9b3b273f88749e47380028c5d3c72bb6638944f9
Author: Gunnar Wrobel <p at rdus.de>
Date:   Fri Sep 2 07:39:38 2011 +0200

    Remove unused class.

 framework/Test/lib/Horde/Test/Application.php |   25 -------------------------
 1 files changed, 0 insertions(+), 25 deletions(-)
 delete mode 100644 framework/Test/lib/Horde/Test/Application.php

http://git.horde.org/horde-git/-/commit/9b3b273f88749e47380028c5d3c72bb6638944f9

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

commit ef616ff998f118343c06120c90dfc7a556afac55
Merge: 9b3b273 a778445
Author: Gunnar Wrobel <p at rdus.de>
Date:   Fri Sep 2 08:01:22 2011 +0200

    Merge branch 'master' of ssh://dev.horde.org/horde/git/horde

 framework/Imap_Client/lib/Horde/Imap/Client.php                 |  136 +-
 framework/Imap_Client/lib/Horde/Imap/Client/Base.php            |  642 ++++---
 framework/Imap_Client/lib/Horde/Imap/Client/Cache.php           |   42 +-
 framework/Imap_Client/lib/Horde/Imap/Client/Cclient.php         |   40 +-
 framework/Imap_Client/lib/Horde/Imap/Client/Cclient/Pop3.php    |    8 +-
 framework/Imap_Client/lib/Horde/Imap/Client/Data/AclRights.php  |    4 +-
 framework/Imap_Client/lib/Horde/Imap/Client/Data/Fetch/Pop3.php |    2 +-
 framework/Imap_Client/lib/Horde/Imap/Client/Data/Thread.php     |    2 +-
 framework/Imap_Client/lib/Horde/Imap/Client/DateTime.php        |    7 +-
 framework/Imap_Client/lib/Horde/Imap/Client/Exception.php       |    2 +-
 framework/Imap_Client/lib/Horde/Imap/Client/Fetch/Query.php     |    2 +-
 framework/Imap_Client/lib/Horde/Imap/Client/Ids.php             |    2 +-
 framework/Imap_Client/lib/Horde/Imap/Client/Search/Query.php    |   22 +-
 framework/Imap_Client/lib/Horde/Imap/Client/Socket.php          |   38 +-
 framework/Imap_Client/lib/Horde/Imap/Client/Socket/Pop3.php     |   16 +-
 framework/Imap_Client/lib/Horde/Imap/Client/Sort.php            |   25 +-
 framework/Imap_Client/lib/Horde/Imap/Client/Utf7imap.php        |    5 +-
 framework/Imap_Client/lib/Horde/Imap/Client/Utils.php           |   73 +-
 18 files changed, 526 insertions(+), 542 deletions(-)

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

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

commit 25c965a86f60a01eb3bff7cc945d8ed8c9a8ade4
Author: Gunnar Wrobel <p at rdus.de>
Date:   Fri Sep 2 08:03:20 2011 +0200

    Add my idea of how we could prepare complex test setups for testing Horde applications.
    
    Right now the test suite for each application is responsible of
    generating its own test setup. A lot of the basic elements required by
    each application (injector, registry, preferences, permissions, db
    etc.) are being setup in each test suite. This obviously duplicates
    code and gets complex as some of those basic building blocks need
    extensive setup routines/factories.
    
    I think it is easiest to centralize the setup routines in
    Horde_Test. Horde_Test_Setup has been added for this. It is a
    Horde_Injector based approach. The class accepts a configuration which
    defines factories/methods/parameters that will be used to create the
    test services. These will then be registered to the injector and can
    also be exported to globals.
    
    While the factories are being defined in Horde_Test they should always
    check that the prerequisite package is actually available. If not the
    factory needs to error out so that the test suite can pick up the
    error and skip tests that don't meet the required prerequisites. This
    should allow to add a Horde_Test factory that deals with a
    hypothetical package Horde_Xyz without adding a dependency on
    Horde_Xyz to Horde_Test (not even an optional one).

 framework/Test/lib/Horde/Test/Setup.php |  169 +++++++++++++++++++++++++++++++
 1 files changed, 169 insertions(+), 0 deletions(-)
 create mode 100644 framework/Test/lib/Horde/Test/Setup.php

http://git.horde.org/horde-git/-/commit/25c965a86f60a01eb3bff7cc945d8ed8c9a8ade4




More information about the commits mailing list