PHP Class phpbb_database_test_case

Inheritance: extends PHPUnit_Extensions_Database_TestCase
Afficher le fichier Open project: phpbb/phpbb Class Usage Examples

Protected Properties

Свойство Type Description
$fixture_xml_data
$install_schema_file
$phpbb_schema_copy
$schema_file
$test_case_helpers

Méthodes publiques

Méthode Description
__construct ( $name = NULL, array $data = [], $dataName = '' )
assertSqlResultEquals ( $expected, $sql, $message = '' )
assert_array_content_equals ( $one, $two )
createXMLDataSet ( $path )
getConnection ( )
get_database_config ( )
get_test_case_helpers ( )
new_dbal ( )
setExpectedTriggerError ( $errno, $message = '' )
setUpBeforeClass ( )
tearDownAfterClass ( )

Méthodes protégées

Méthode Description
create_connection_manager ( $config )
database_synchronisation ( array $table_column_map ) : null Performs synchronisations for a given table/column set on the database
setUp ( )
setup_extensions ( ) : array
tearDown ( )

Method Details

__construct() public méthode

public __construct ( $name = NULL, array $data = [], $dataName = '' )
$data array

assertSqlResultEquals() public méthode

public assertSqlResultEquals ( $expected, $sql, $message = '' )

assert_array_content_equals() public méthode

public assert_array_content_equals ( $one, $two )

createXMLDataSet() public méthode

public createXMLDataSet ( $path )

create_connection_manager() protected méthode

protected create_connection_manager ( $config )

database_synchronisation() protected méthode

Performs synchronisations for a given table/column set on the database
protected database_synchronisation ( array $table_column_map ) : null
$table_column_map array Information about the tables/columns to synchronise
Résultat null

getConnection() public méthode

public getConnection ( )

get_database_config() public méthode

public get_database_config ( )

get_test_case_helpers() public méthode

new_dbal() public méthode

public new_dbal ( )

setExpectedTriggerError() public méthode

public setExpectedTriggerError ( $errno, $message = '' )

setUp() protected méthode

protected setUp ( )

setUpBeforeClass() public static méthode

public static setUpBeforeClass ( )

setup_extensions() protected static méthode

protected static setup_extensions ( ) : array
Résultat array List of extensions that should be set up

tearDown() protected méthode

protected tearDown ( )

tearDownAfterClass() public static méthode

public static tearDownAfterClass ( )

Property Details

$fixture_xml_data protected_oe property

protected $fixture_xml_data

$install_schema_file protected_oe static_oe property

protected static $install_schema_file

$phpbb_schema_copy protected_oe static_oe property

protected static $phpbb_schema_copy

$schema_file protected_oe static_oe property

protected static $schema_file

$test_case_helpers protected_oe property

protected $test_case_helpers