[commits] Horde branch master updated. 8a7f6a0b48e43219cb9e918ed2155f078624786e

Jan Schneider jan at horde.org
Tue Sep 10 09:49:59 UTC 2013


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

from: 5e01d769ad8caac76549cb15d37abc5b9d86849c

498b913 Make execute() and select() abstract, deprecate execute().
8a7f6a0 Refactor unit tests (again).

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

commit 498b91344be19447dbab841aeedf2543250dcbc3
Author: Jan Schneider <jan at horde.org>
Date:   Mon Sep 9 17:41:45 2013 +0200

    Make execute() and select() abstract, deprecate execute().

 framework/Alarm/lib/Horde/Alarm/Sql.php               |    6 +-
 framework/Db/doc/Horde/Db/UPGRADING                   |   23 +++++++
 framework/Db/lib/Horde/Db/Adapter/Base.php            |   41 ++----------
 framework/Db/lib/Horde/Db/Adapter/Mysql.php           |    3 +
 framework/Db/lib/Horde/Db/Adapter/Mysqli.php          |    5 +-
 framework/Db/lib/Horde/Db/Adapter/Pdo/Base.php        |   59 +++++++++++++++++
 framework/Db/package.xml                              |   21 ++++---
 framework/Db/test/Horde/Db/Adapter/MysqlTest.php      |    8 --
 framework/Db/test/Horde/Db/Adapter/MysqliTest.php     |    8 --
 framework/Db/test/Horde/Db/Adapter/Pdo/MysqlTest.php  |    8 --
 framework/Db/test/Horde/Db/Adapter/Pdo/PgsqlTest.php  |    8 --
 framework/Db/test/Horde/Db/Adapter/Pdo/SqliteTest.php |    8 --
 framework/Group/lib/Horde/Group/Sql.php               |    2 +-
 kronolith/lib/Geo/Sql.php                             |   13 ++--
 ulaform/lib/Driver/Sql.php                            |   14 ++--
 15 files changed, 126 insertions(+), 101 deletions(-)
 create mode 100644 framework/Db/doc/Horde/Db/UPGRADING

http://git.horde.org/horde-git/-/commit/498b91344be19447dbab841aeedf2543250dcbc3

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

commit 8a7f6a0b48e43219cb9e918ed2155f078624786e
Author: Jan Schneider <jan at horde.org>
Date:   Tue Sep 10 11:47:41 2013 +0200

    Refactor unit tests (again).
    
    Centralize tests as much as possible to help with detecting differences between
    the implementations, and for easier code maintenance.

 framework/Db/lib/Horde/Db/Adapter/Base.php                        |   11 +
 framework/Db/lib/Horde/Db/Adapter/Pdo/Sqlite.php                  |   11 +
 framework/Db/package.xml                                          |   30 +-
 framework/Db/test/Horde/Db/Adapter/Mysql/TableDefinition.php      |    2 +-
 framework/Db/test/Horde/Db/Adapter/MysqlBase.php                  |  580 ++
 framework/Db/test/Horde/Db/Adapter/MysqlTest.php                  | 1594 +----
 framework/Db/test/Horde/Db/Adapter/MysqliTest.php                 | 1589 +----
 framework/Db/test/Horde/Db/Adapter/Pdo/MysqlTest.php              | 1581 +----
 framework/Db/test/Horde/Db/Adapter/Pdo/PgsqlBase.php              |   76 -
 framework/Db/test/Horde/Db/Adapter/Pdo/PgsqlTest.php              | 1047 +---
 framework/Db/test/Horde/Db/Adapter/Pdo/SqliteBase.php             |   63 -
 framework/Db/test/Horde/Db/Adapter/Pdo/SqliteTest.php             | 1015 +---
 .../Db/test/Horde/Db/Adapter/Postgresql/ColumnDefinition.php      |  106 +
 .../Db/test/Horde/Db/Adapter/Postgresql/ColumnDefinitionTest.php  |  112 -
 framework/Db/test/Horde/Db/Adapter/Postgresql/TableDefinition.php |   74 +
 .../Db/test/Horde/Db/Adapter/Postgresql/TableDefinitionTest.php   |   83 -
 framework/Db/test/Horde/Db/Adapter/Sqlite/ColumnDefinition.php    |  113 +
 .../Db/test/Horde/Db/Adapter/Sqlite/ColumnDefinitionTest.php      |  126 -
 framework/Db/test/Horde/Db/Adapter/Sqlite/TableDefinition.php     |   70 +
 framework/Db/test/Horde/Db/Adapter/Sqlite/TableDefinitionTest.php |   89 -
 framework/Db/test/Horde/Db/Adapter/TestBase.php                   |  910 +++
 21 files changed, 1983 insertions(+), 7299 deletions(-)
 create mode 100644 framework/Db/test/Horde/Db/Adapter/MysqlBase.php
 delete mode 100644 framework/Db/test/Horde/Db/Adapter/Pdo/PgsqlBase.php
 delete mode 100644 framework/Db/test/Horde/Db/Adapter/Pdo/SqliteBase.php
 create mode 100644 framework/Db/test/Horde/Db/Adapter/Postgresql/ColumnDefinition.php
 delete mode 100644 framework/Db/test/Horde/Db/Adapter/Postgresql/ColumnDefinitionTest.php
 create mode 100644 framework/Db/test/Horde/Db/Adapter/Postgresql/TableDefinition.php
 delete mode 100644 framework/Db/test/Horde/Db/Adapter/Postgresql/TableDefinitionTest.php
 create mode 100644 framework/Db/test/Horde/Db/Adapter/Sqlite/ColumnDefinition.php
 delete mode 100644 framework/Db/test/Horde/Db/Adapter/Sqlite/ColumnDefinitionTest.php
 create mode 100644 framework/Db/test/Horde/Db/Adapter/Sqlite/TableDefinition.php
 delete mode 100644 framework/Db/test/Horde/Db/Adapter/Sqlite/TableDefinitionTest.php
 create mode 100644 framework/Db/test/Horde/Db/Adapter/TestBase.php

http://git.horde.org/horde-git/-/commit/8a7f6a0b48e43219cb9e918ed2155f078624786e




More information about the commits mailing list