Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
Generic Testcase for Zend Framework related DbUnit Testing with PHPUnit
createDbRowset(
Zend_Db_Table_Rowset_Abstract $rowset, $tableName
=
null
)
:
Zend_Test_PHPUnit_Db_DataSet_DbRowsetCreate a data table based on a Zend_Db_Table_Rowset instance
DetailscreateDbTable(
Zend_Db_Table_Abstract $table, string $where
=
null, string $order
=
null, string $count
=
null, string $offset
=
null
)
:
Zend_Test_PHPUnit_Db_DataSet_DbTableCreate a table based on one Zend_Db_Table instance
DetailscreateDbTableDataSet(
array $tables
=
array
)
:
Zend_Test_PHPUnit_Db_DataSet_DbTableDataSetCreate a dataset based on multiple Zend_Db_Table instances
DetailscreateZendDbConnection(
Zend_Db_Adapter_Abstract $connection, string $schema
)
:
Zend_Test_PHPUnit_Db_ConnectionCreates a new Zend Database Connection using the given Adapter and database schema name.
DetailsgetAdapter(
)
:
Zend_Db_Adapter_AbstractConvenience function to get access to the database connection.
DetailsgetSetUpOperation(
)
:
PHPUnit_Extensions_Database_Operation_DatabaseOperationReturns the database operation executed in test setup.
DetailsgetTearDownOperation(
)
:
PHPUnit_Extensions_Database_Operation_DatabaseOperationReturns the database operation executed in test cleanup.
Details