[commits] Horde branch master updated. dd36e1abd2961826262ff3c3ee551347db057d5c
Ralf Lang
lang at b1-systems.de
Mon Jan 9 16:20:14 UTC 2012
The branch "master" has been updated.
The following is a summary of the commits.
from: 4023cd220eb6cddfa48945d3785a59a0cb2d05dd
dd36e1a Add some unit tests to Horde_Rdo testToOneRelationReturnsNullWhenKeyIsNotFound show to-one-relation returns null if referenced object id doesn't exist (shouldn't this throw exception?) testToOneRelationReturnsNullWhenKeyIsNull shows actually Rdo fetches the first entry of the relation type when a to one relation's key field is '' or null (should return null or throw exception)
-----------------------------------------------------------------------
commit dd36e1abd2961826262ff3c3ee551347db057d5c
Author: Ralf Lang <lang at b1-systems.de>
Date: Mon Jan 9 17:16:46 2012 +0100
Add some unit tests to Horde_Rdo
testToOneRelationReturnsNullWhenKeyIsNotFound show to-one-relation
returns null if referenced object id doesn't exist (shouldn't this throw
exception?)
testToOneRelationReturnsNullWhenKeyIsNull shows actually Rdo fetches the
first entry of the relation type when a to one relation's key field is
'' or null (should return null or throw exception)
see ticket #10880 [10880]
framework/Rdo/test/Horde/Rdo/Autoload.php | 28 ++
framework/Rdo/test/Horde/Rdo/Base.php | 19 ++
framework/Rdo/test/Horde/Rdo/Objects/RelatedThing.php | 5 +
framework/Rdo/test/Horde/Rdo/Objects/RelatedThingMapper.php | 8 +
framework/Rdo/test/Horde/Rdo/Objects/SomeBaseObject.php | 5 +
framework/Rdo/test/Horde/Rdo/Objects/SomeBaseObjectMapper.php | 13 +
framework/Rdo/test/Horde/Rdo/Sql/Base.php | 111 +++++++++
framework/Rdo/test/Horde/Rdo/Sql/Pdo/SqliteTest.php | 27 ++
framework/Rdo/test/Horde/Rdo/fixtures/unit_tests.sql | 14 +
framework/Rdo/test/Horde/Rdo/migration/sql.php | 25 ++
framework/Rdo/test/Horde/Rdo/phpunit.xml | 8 +
11 files changed, 263 insertions(+), 0 deletions(-)
create mode 100644 framework/Rdo/test/Horde/Rdo/Autoload.php
create mode 100644 framework/Rdo/test/Horde/Rdo/Base.php
create mode 100644 framework/Rdo/test/Horde/Rdo/Objects/RelatedThing.php
create mode 100644 framework/Rdo/test/Horde/Rdo/Objects/RelatedThingMapper.php
create mode 100644 framework/Rdo/test/Horde/Rdo/Objects/SomeBaseObject.php
create mode 100644 framework/Rdo/test/Horde/Rdo/Objects/SomeBaseObjectMapper.php
create mode 100644 framework/Rdo/test/Horde/Rdo/Sql/Base.php
create mode 100644 framework/Rdo/test/Horde/Rdo/Sql/Pdo/SqliteTest.php
create mode 100644 framework/Rdo/test/Horde/Rdo/fixtures/unit_tests.sql
create mode 100644 framework/Rdo/test/Horde/Rdo/migration/sql.php
create mode 100644 framework/Rdo/test/Horde/Rdo/phpunit.xml
http://git.horde.org/horde-git/-/commit/dd36e1abd2961826262ff3c3ee551347db057d5c
More information about the commits
mailing list