Test/PHPUnit/Db/SimpleTester.php

Show: PublicProtectedPrivateinherited
Table of Contents
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.
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Test  
Subpackage
PHPUnit  
Version
$Id$  

\Zend_Test_PHPUnit_Db_SimpleTester

Package: Zend_Test\PHPUnit
Simple Tester for Database Tests when the Abstract Test Case cannot be used.
Parent(s)
\PHPUnit_Extensions_Database_DefaultTester
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Uses
 

Methods

methodpublic__construct(\PHPUnit_Extensions_Database_DB_IDatabaseConnection $connection) : void

Creates a new default database tester using the given connection.

Parameters
NameTypeDescription
$connection\PHPUnit_Extensions_Database_DB_IDatabaseConnection
methodpublicsetUpDatabase(\PHPUnit_Extensions_Database_DataSet_IDataSet $dataSet) : void

Set Up the database using the given Dataset and the SetUp strategy "Truncate, then Insert"

Parameters
NameTypeDescription
$dataSet\PHPUnit_Extensions_Database_DataSet_IDataSet
Documentation was generated by phpDocumentor 2.2.0 .