[commits] Horde branch master updated. e84d4a3ee25b72031e0ca20c1331b31668b22607

Chuck Hagenbuch chuck at horde.org
Thu Jan 7 03:20:04 UTC 2010


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

from: cde8827eafea3e0308c342936f55a896975566ad

8ed5507 Remove static $verbose settings
11f2877 Default to being quiet instead of generating output (this should probably be done with a Logger anyway)
fc2e81f Use a Logger instance for communicating what happens during migrations, and pass the Logger from Migrator instances to Migration_Base instances.
115d0a7 Add consistent handling of the users test table to the Pdo adapter tests
d323a29 First pass moving tests that are testing adapter functionality, not migration functionality, to the adapter test suites.
6ef9cfc Better test table cleanup
838a9ff Rework pdo_pgsql tests to not re-connect to the database every time; this seems to inevitably overflow the max_connections setting, at least on a developer-tuned postgres install.
e84d4a3 Fix some typos found by the new tests. Yay tests!

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

commit 8ed5507a1e956e822c99bd0b0abb0b55a64d2dfa
Author: Chuck Hagenbuch <chuck at horde.org>
Date:   Sun Jan 3 20:33:39 2010 -0500

    Remove static $verbose settings

 framework/Db/test/Horde/Db/Migration/BaseTest.php     |    2 --
 framework/Db/test/Horde/Db/Migration/MigratorTest.php |    2 --
 2 files changed, 0 insertions(+), 4 deletions(-)

http://git.horde.org/diff.php/framework/Db/test/Horde/Db/Migration/BaseTest.php?rt=horde-git&r1=fd995c57318b3e536384cfa5c7a640feee7a91ba&r2=8ed5507a1e956e822c99bd0b0abb0b55a64d2dfa
http://git.horde.org/diff.php/framework/Db/test/Horde/Db/Migration/MigratorTest.php?rt=horde-git&r1=4d635d8956abce525ca406bcdb4d2fa41d87dfcd&r2=8ed5507a1e956e822c99bd0b0abb0b55a64d2dfa

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

commit 11f2877b5c1d3971b7ff9f68fc562b222428762b
Author: Chuck Hagenbuch <chuck at horde.org>
Date:   Sun Jan 3 22:00:41 2010 -0500

    Default to being quiet instead of generating output (this should probably be done with a Logger anyway)

 framework/Db/lib/Horde/Db/Migration/Base.php |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

http://git.horde.org/diff.php/framework/Db/lib/Horde/Db/Migration/Base.php?rt=horde-git&r1=997df1522b272355fb8a086516d2ef22dc0f73ff&r2=11f2877b5c1d3971b7ff9f68fc562b222428762b

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

commit fc2e81f57417302fcb5e653b90ee7d213af397ec
Author: Chuck Hagenbuch <chuck at horde.org>
Date:   Sun Jan 3 22:30:09 2010 -0500

    Use a Logger instance for communicating what happens during migrations, and pass
    the Logger from Migrator instances to Migration_Base instances.

 framework/Db/lib/Horde/Db/Migration/Base.php     |   38 ++++++++++++---------
 framework/Db/lib/Horde/Db/Migration/Migrator.php |    5 ++-
 2 files changed, 26 insertions(+), 17 deletions(-)

http://git.horde.org/diff.php/framework/Db/lib/Horde/Db/Migration/Base.php?rt=horde-git&r1=11f2877b5c1d3971b7ff9f68fc562b222428762b&r2=fc2e81f57417302fcb5e653b90ee7d213af397ec
http://git.horde.org/diff.php/framework/Db/lib/Horde/Db/Migration/Migrator.php?rt=horde-git&r1=7ed9e5f99bed130b23b446b9a00cf8ee549de863&r2=fc2e81f57417302fcb5e653b90ee7d213af397ec

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

commit 115d0a7531c7aa32b453d06f29b8ec492a0c3351
Author: Chuck Hagenbuch <chuck at horde.org>
Date:   Tue Jan 5 14:24:37 2010 -0500

    Add consistent handling of the users test table to the Pdo adapter tests

 framework/Db/test/Horde/Db/Adapter/Pdo/MysqlTest.php  |   21 ++++++++++++++++-
 framework/Db/test/Horde/Db/Adapter/Pdo/PgsqlTest.php  |   18 ++++++++++++++
 framework/Db/test/Horde/Db/Adapter/Pdo/SqliteTest.php |   15 ++++++++++++
 3 files changed, 53 insertions(+), 1 deletions(-)

http://git.horde.org/diff.php/framework/Db/test/Horde/Db/Adapter/Pdo/MysqlTest.php?rt=horde-git&r1=19af8e71006960646727860f6ab0408eec9b5c86&r2=115d0a7531c7aa32b453d06f29b8ec492a0c3351
http://git.horde.org/diff.php/framework/Db/test/Horde/Db/Adapter/Pdo/PgsqlTest.php?rt=horde-git&r1=88d53154ceef52271f08ae81cd3daee311a4fa0a&r2=115d0a7531c7aa32b453d06f29b8ec492a0c3351
http://git.horde.org/diff.php/framework/Db/test/Horde/Db/Adapter/Pdo/SqliteTest.php?rt=horde-git&r1=88d53154ceef52271f08ae81cd3daee311a4fa0a&r2=115d0a7531c7aa32b453d06f29b8ec492a0c3351

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

commit d323a29c43a63555e33e239f9c8271676c5f3848
Author: Chuck Hagenbuch <chuck at horde.org>
Date:   Wed Jan 6 14:12:09 2010 -0500

    First pass moving tests that are testing adapter functionality, not migration
    functionality, to the adapter test suites.
    
    Also adding a few checks to make sure that tables are renamed, not copied.

 framework/Db/test/Horde/Db/Adapter/MysqliTest.php     |  300 ++++++++++++++
 framework/Db/test/Horde/Db/Adapter/Pdo/MysqlTest.php  |  301 ++++++++++++++
 framework/Db/test/Horde/Db/Adapter/Pdo/PgsqlTest.php  |  302 ++++++++++++++-
 framework/Db/test/Horde/Db/Adapter/Pdo/SqliteTest.php |  295 +++++++++++++-
 framework/Db/test/Horde/Db/Migration/BaseTest.php     |  369 +----------------
 5 files changed, 1215 insertions(+), 352 deletions(-)

http://git.horde.org/diff.php/framework/Db/test/Horde/Db/Adapter/MysqliTest.php?rt=horde-git&r1=19af8e71006960646727860f6ab0408eec9b5c86&r2=d323a29c43a63555e33e239f9c8271676c5f3848
http://git.horde.org/diff.php/framework/Db/test/Horde/Db/Adapter/Pdo/MysqlTest.php?rt=horde-git&r1=115d0a7531c7aa32b453d06f29b8ec492a0c3351&r2=d323a29c43a63555e33e239f9c8271676c5f3848
http://git.horde.org/diff.php/framework/Db/test/Horde/Db/Adapter/Pdo/PgsqlTest.php?rt=horde-git&r1=115d0a7531c7aa32b453d06f29b8ec492a0c3351&r2=d323a29c43a63555e33e239f9c8271676c5f3848
http://git.horde.org/diff.php/framework/Db/test/Horde/Db/Adapter/Pdo/SqliteTest.php?rt=horde-git&r1=115d0a7531c7aa32b453d06f29b8ec492a0c3351&r2=d323a29c43a63555e33e239f9c8271676c5f3848
http://git.horde.org/diff.php/framework/Db/test/Horde/Db/Migration/BaseTest.php?rt=horde-git&r1=8ed5507a1e956e822c99bd0b0abb0b55a64d2dfa&r2=d323a29c43a63555e33e239f9c8271676c5f3848

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

commit 6ef9cfc1f53bbdf28e847f106867642f0aac9bda
Author: Chuck Hagenbuch <chuck at horde.org>
Date:   Wed Jan 6 14:25:48 2010 -0500

    Better test table cleanup

 framework/Db/test/Horde/Db/Adapter/MysqliTest.php    |   42 +++++++----------
 framework/Db/test/Horde/Db/Adapter/Pdo/MysqlTest.php |   44 +++++++-----------
 framework/Db/test/Horde/Db/Adapter/Pdo/PgsqlTest.php |   42 +++++++----------
 3 files changed, 51 insertions(+), 77 deletions(-)

http://git.horde.org/diff.php/framework/Db/test/Horde/Db/Adapter/MysqliTest.php?rt=horde-git&r1=d323a29c43a63555e33e239f9c8271676c5f3848&r2=6ef9cfc1f53bbdf28e847f106867642f0aac9bda
http://git.horde.org/diff.php/framework/Db/test/Horde/Db/Adapter/Pdo/MysqlTest.php?rt=horde-git&r1=d323a29c43a63555e33e239f9c8271676c5f3848&r2=6ef9cfc1f53bbdf28e847f106867642f0aac9bda
http://git.horde.org/diff.php/framework/Db/test/Horde/Db/Adapter/Pdo/PgsqlTest.php?rt=horde-git&r1=d323a29c43a63555e33e239f9c8271676c5f3848&r2=6ef9cfc1f53bbdf28e847f106867642f0aac9bda

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

commit 838a9ffd259a69e8c77d96e1e2d7251583e25cf3
Author: Chuck Hagenbuch <chuck at horde.org>
Date:   Wed Jan 6 21:45:57 2010 -0500

    Rework pdo_pgsql tests to not re-connect to the database every time; this seems
    to inevitably overflow the max_connections setting, at least on a
    developer-tuned postgres install.

 framework/Db/test/Horde/Db/Adapter/Pdo/PgsqlSuite.php             |    7 +++-
 framework/Db/test/Horde/Db/Adapter/Pdo/PgsqlTest.php              |    3 --
 .../Db/test/Horde/Db/Adapter/Postgresql/ColumnDefinitionTest.php  |    7 -----
 .../Db/test/Horde/Db/Adapter/Postgresql/TableDefinitionTest.php   |    6 ----
 4 files changed, 5 insertions(+), 18 deletions(-)

http://git.horde.org/diff.php/framework/Db/test/Horde/Db/Adapter/Pdo/PgsqlSuite.php?rt=horde-git&r1=d01128614f077c6ab8a732db42f3af90640fc1cc&r2=838a9ffd259a69e8c77d96e1e2d7251583e25cf3
http://git.horde.org/diff.php/framework/Db/test/Horde/Db/Adapter/Pdo/PgsqlTest.php?rt=horde-git&r1=6ef9cfc1f53bbdf28e847f106867642f0aac9bda&r2=838a9ffd259a69e8c77d96e1e2d7251583e25cf3
http://git.horde.org/diff.php/framework/Db/test/Horde/Db/Adapter/Postgresql/ColumnDefinitionTest.php?rt=horde-git&r1=ade14ad8c30f81919099eee8be4874937c544b1c&r2=838a9ffd259a69e8c77d96e1e2d7251583e25cf3
http://git.horde.org/diff.php/framework/Db/test/Horde/Db/Adapter/Postgresql/TableDefinitionTest.php?rt=horde-git&r1=67d66158c228dd6ba6691092332bacf9c6a8fd57&r2=838a9ffd259a69e8c77d96e1e2d7251583e25cf3

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

commit e84d4a3ee25b72031e0ca20c1331b31668b22607
Author: Chuck Hagenbuch <chuck at horde.org>
Date:   Wed Jan 6 22:19:32 2010 -0500

    Fix some typos found by the new tests. Yay tests!

 framework/Db/lib/Horde/Db/Adapter/Postgresql/Schema.php |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

http://git.horde.org/diff.php/framework/Db/lib/Horde/Db/Adapter/Postgresql/Schema.php?rt=horde-git&r1=5950629d8f5cd7784c57609509449b176f73aa0a&r2=e84d4a3ee25b72031e0ca20c1331b31668b22607




More information about the commits mailing list