FOSSology  4.4.0
Open Source License Compliance by Open Source Software
Fossology\Lib\Test\TestPgDb Class Reference
Inheritance diagram for Fossology\Lib\Test\TestPgDb:
Inheritance graph
Collaboration diagram for Fossology\Lib\Test\TestPgDb:
Collaboration graph

Public Member Functions

 __construct ($dbName=null, $sysConf=null)
 
 getFossSysConf ()
 
 fullDestruct ()
 
 isInFossyGroup ()
 
 createPlainTables ($tableList, $invert=false)
 
 resetSequenceAsMaxOf ($sequenceName, $tableName, $columnName)
 
 createSequences ($seqList, $invert=FALSE)
 
 createConstraints ($cList, $invert=FALSE)
 
 createInheritedTables ($tableList=array())
 
 createInheritedArsTables ($agents)
 
 setupSysconfig ()
 
- Public Member Functions inherited from Fossology\Lib\Test\TestAbstractDb
 insertData ($tableList, $invert=FALSE, $dataFile=null)
 
 insertData_license_ref ($limit=140)
 
 createViews ($viewList, $invert=FALSE)
 
 alterTables ($tableList, $invert=FALSE)
 
getDbManager ()
 

Private Member Functions

 dropAllTables ()
 
 dropAllSequences ()
 

Private Attributes

 $dbName
 
 $logFileName
 
 $connection
 
 $sys_conf
 

Additional Inherited Members

- Protected Member Functions inherited from Fossology\Lib\Test\TestAbstractDb
 dirnameRec ($path, $depth=1)
 
 queryConverter ($sql)
 convert sql string to something the drive understands More...
 
 applySchema ($type, $elementList, $invert=false)
 
- Protected Attributes inherited from Fossology\Lib\Test\TestAbstractDb
 $dbManager
 

Detailed Description

Definition at line 20 of file TestPgDb.php.

Member Function Documentation

◆ createConstraints()

Fossology\Lib\Test\TestPgDb::createConstraints (   $cList,
  $invert = FALSE 
)
Parameters
array$cList
bool$invert

Definition at line 159 of file TestPgDb.php.

◆ createInheritedTables()

Fossology\Lib\Test\TestPgDb::createInheritedTables (   $tableList = array())
Parameters
string[]$tableListarray of table names or empty for all tables

Definition at line 167 of file TestPgDb.php.

◆ createPlainTables()

Fossology\Lib\Test\TestPgDb::createPlainTables (   $tableList,
  $invert = false 
)
Parameters
array$tableList
bool$invert

Reimplemented from Fossology\Lib\Test\TestAbstractDb.

Definition at line 122 of file TestPgDb.php.

◆ createSequences()

Fossology\Lib\Test\TestPgDb::createSequences (   $seqList,
  $invert = FALSE 
)
Parameters
array$seqList
bool$invert

Definition at line 150 of file TestPgDb.php.

◆ setupSysconfig()

Fossology\Lib\Test\TestPgDb::setupSysconfig ( )

Populate sysconfig table.

Definition at line 198 of file TestPgDb.php.


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