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

Public Member Functions

 createPlainTables ($tableList, $invert=false)
 
 insertData ($tableList, $invert=FALSE, $dataFile=null)
 
 insertData_license_ref ($limit=140)
 
 createViews ($viewList, $invert=FALSE)
 
 alterTables ($tableList, $invert=FALSE)
 
getDbManager ()
 

Protected Member Functions

 dirnameRec ($path, $depth=1)
 
 queryConverter ($sql)
 convert sql string to something the drive understands More...
 
 applySchema ($type, $elementList, $invert=false)
 

Protected Attributes

 $dbManager
 

Detailed Description

Definition at line 15 of file TestAbstractDb.php.

Member Function Documentation

◆ alterTables()

Fossology\Lib\Test\TestAbstractDb::alterTables (   $tableList,
  $invert = FALSE 
)
Parameters
array$tableList
bool$invert

Definition at line 152 of file TestAbstractDb.php.

◆ applySchema()

Fossology\Lib\Test\TestAbstractDb::applySchema (   $type,
  $elementList,
  $invert = false 
)
protected
Parameters
string$type
array$elementList
bool$invert

Definition at line 125 of file TestAbstractDb.php.

◆ createPlainTables()

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

Reimplemented in Fossology\Lib\Test\TestPgDb, and Fossology\Lib\Test\TestLiteDb.

◆ createViews()

Fossology\Lib\Test\TestAbstractDb::createViews (   $viewList,
  $invert = FALSE 
)
Parameters
array$viewList
bool$invert

Definition at line 143 of file TestAbstractDb.php.

◆ insertData()

Fossology\Lib\Test\TestAbstractDb::insertData (   $tableList,
  $invert = FALSE,
  $dataFile = null 
)
Parameters
array$tableList
bool$invert

Definition at line 38 of file TestAbstractDb.php.

◆ insertData_license_ref()

Fossology\Lib\Test\TestAbstractDb::insertData_license_ref (   $limit = 140)

import licenseRef.json

Definition at line 72 of file TestAbstractDb.php.

◆ queryConverter()

Fossology\Lib\Test\TestAbstractDb::queryConverter (   $sql)
protected

convert sql string to something the drive understands

Parameters
string$sql
Returns
string

Reimplemented in Fossology\Lib\Test\TestLiteDb.

Definition at line 67 of file TestAbstractDb.php.


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