Detailed Description

DatabaseTestCase is the base class for test cases that need database support.

Author
ingo herwig ingo@.nosp@m.wemo.nosp@m.ve.co.nosp@m.m

Definition at line 21 of file DatabaseTestCase.php.

+ Inheritance diagram for DatabaseTestCase:

Public Member Functions

 getConnection ()
 
 run (\PHPUnit_Framework_TestResult $result=null)
 

Protected Member Functions

 setUp ()
 
 tearDown ()
 
 executeSql ($type, $sql, $parameters=[])
 

Member Function Documentation

◆ getConnection()

getConnection ( )
final

Definition at line 26 of file DatabaseTestCase.php.

◆ run()

run ( \PHPUnit_Framework_TestResult  $result = null)

Definition at line 35 of file DatabaseTestCase.php.

◆ setUp()

setUp ( )
protected

Reimplemented in SeleniumTestCase.

Definition at line 40 of file DatabaseTestCase.php.

◆ tearDown()

tearDown ( )
protected

Definition at line 49 of file DatabaseTestCase.php.

◆ executeSql()

executeSql (   $type,
  $sql,
  $parameters = [] 
)
protected

Definition at line 53 of file DatabaseTestCase.php.