Open Journal Systems  3.3.0
DBConnectionTest Class Reference
Inheritance diagram for DBConnectionTest:
DatabaseTestCase PKPTestCase

Public Member Functions

 testInitCustomDBConnection ()
 
 testInitDefaultDBConnection ()
 
 testInitPostgresDBConnection ()
 
- Public Member Functions inherited from PKPTestCase
 getActualOutput ()
 

Data Fields

const CONFIG_PGSQL = 'pgsql'
 
- Data Fields inherited from PKPTestCase
 $mockedRegistryKeys = array()
 
 $registryBackup = array()
 

Additional Inherited Members

- Protected Member Functions inherited from DatabaseTestCase
 getAffectedTables ()
 
 setUp ()
 
 tearDown ()
 
- Protected Member Functions inherited from PKPTestCase
 getMockedDAOs ()
 
 getMockedRegistryKeys ()
 
 mockRequest ($path='index/test-page/test-op', $userId=null)
 
 setTestConfiguration ($config, $configPath='config')
 

Detailed Description

Tests for the DBConnectionTest class.

See also
DBConnection

Definition at line 20 of file DBConnectionTest.php.

Member Function Documentation

◆ testInitCustomDBConnection()

DBConnectionTest::testInitCustomDBConnection ( )

◆ testInitDefaultDBConnection()

DBConnectionTest::testInitDefaultDBConnection ( )

◆ testInitPostgresDBConnection()

DBConnectionTest::testInitPostgresDBConnection ( )
See also
DBConnection::__construct
DBConnection::initDefaultDBConnection
DBConnection::initConn
AdodbPostgres7Compat::AdodbPostgres7Compat

Definition at line 67 of file DBConnectionTest.php.

References PKPTestCase\setTestConfiguration().

Field Documentation

◆ CONFIG_PGSQL

const DBConnectionTest::CONFIG_PGSQL = 'pgsql'

Definition at line 21 of file DBConnectionTest.php.


The documentation for this class was generated from the following file: