API Documentation

Test/PHPUnit/Db/SimpleTester.php

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-2011 Zend Technologies USA Inc. (http://www.zend.com)  
license
New BSD License  
package
Zend_Test  
subpackage
PHPUnit  
version
$Id: SimpleTester.php 23775 2011-03-01 17:25:24Z ralph $  

\Zend_Test_PHPUnit_Db_SimpleTester

Simple Tester for Database Tests when the Abstract Test Case cannot be used.

Extends from
\PHPUnit_Extensions_Database_DefaultTester
category
Zend  
copyright
Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)  
license
New BSD License  
package
Zend_Test  
subpackage
PHPUnit  
uses
\PHPUnit_Extensions_Database_DefaultTester  

Methods

methodpublic__construct( \PHPUnit_Extensions_Database_DB_IDatabaseConnection $connection ) : void

Creates a new default database tester using the given connection.

Parameters
Name Type Description
$connection \PHPUnit_Extensions_Database_DB_IDatabaseConnection
methodpubliccloseConnection( ) : void

Inherited from:
methodpublicgetConnection( ) : void

Inherited from:
methodpublicgetDataSet( ) : void

Inherited from:
methodprotectedgetSchema( ) : void

Inherited from:
methodprotectedgetSetUpOperation( ) : void

Inherited from:
methodprotectedgetTearDownOperation( ) : void

Inherited from:
methodpubliconSetUp( ) : void

Inherited from:
methodpubliconTearDown( ) : void

Inherited from:
methodpublicsetDataSet( ) : void

Inherited from:
methodpublicsetSchema( ) : void

Inherited from:
methodpublicsetSetUpOperation( ) : void

Inherited from:
methodpublicsetTearDownOperation( ) : void

Inherited from:
methodpublicsetUpDatabase( \PHPUnit_Extensions_Database_DataSet_IDataSet $dataSet ) : void

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

Parameters
Name Type Description
$dataSet \PHPUnit_Extensions_Database_DataSet_IDataSet
Documentation was generated by DocBlox 0.13.3.