FOSSology  3.2.0rc1
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 26 of file TestAbstractDb.php.

Member Function Documentation

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

Definition at line 141 of file TestAbstractDb.php.

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

Definition at line 114 of file TestAbstractDb.php.

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

Definition at line 132 of file TestAbstractDb.php.

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

Definition at line 49 of file TestAbstractDb.php.

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

import licenseRef.json

Definition at line 83 of file TestAbstractDb.php.

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

convert sql string to something the drive understands

Parameters
string$sql
Returns
string

Definition at line 78 of file TestAbstractDb.php.


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