PHP Class Horde_Db_Adapter_TestBase, horde

Author: Mike Naberezny ([email protected])
Author: Derek DeVries ([email protected])
Author: Chuck Hagenbuch ([email protected])
Author: Jan Schneider ([email protected])
Inheritance: extends Horde_Test_Case
Afficher le fichier Open project: horde/horde Class Usage Examples

Protected Properties

Свойство Type Description
$_columnTest
$_conn
$_reason
$_skip
$_tableTest

Méthodes publiques

Méthode Description
testAdapterName ( ) *########################################################################## # Accessor ##########################################################################
testAddColumnNotNullWithDefault ( )
testAddColumnNotNullWithoutDefault ( )
testAddColumnOptions ( )
testAddColumnOptionsDefault ( )
testAddColumnOptionsNotNull ( )
testAddColumnOptionsNull ( )
testAddIndex ( )
testAddIndexDefault ( )
testAddIndexMultiColumn ( )
testAddIndexName ( )
testAddIndexUnique ( )
testAddOrderByForAssocLimiting ( )
testAddRemoveSingleField ( )
testAddRename ( )
testAutoIncrementWithAddColumn ( )
testAutoIncrementWithChangeColumn ( )
testAutoIncrementWithTypeInColumn ( ) *########################################################################## # Autoincrement Management ##########################################################################
testAutoIncrementWithTypeInTable ( )
testAutoIncrementWithTypeInTableAndColumnDefined ( )
testBuildClause ( )
testCachedTableColumns ( )
testCachedTableIndexes ( ) *########################################################################## # Table cache ##########################################################################
testChangeColumnLimit ( )
testChangeColumnNull ( )
testChangeColumnPrecisionScale ( )
testChangeColumnType ( )
testColumnConstruct ( )
testColumnToSql ( )
testColumnToSqlDefault ( )
testColumnToSqlLimit ( )
testColumnToSqlNotNull ( )
testColumnToSqlPrecisionScale ( )
testColumns ( )
testConnect ( ) *########################################################################## # Connection ##########################################################################
testCreateTableWithSeparatePk ( )
testDelete ( )
testDisconnect ( )
testDistinct ( )
testIndexNameByMultiColumn ( )
testIndexNameByName ( )
testIndexNameBySingleColumn ( )
testIndexNameInvalid ( )
testIndexes ( )
testInsert ( )
testInsertAndReadInUtf8 ( )
testInsertBlob ( )
testModifyDate ( )
testNativeDatabaseTypes ( ) *########################################################################## # Schema Statements ##########################################################################
testPrimaryKey ( )
testQuoteBinary ( )
testQuoteColumnName ( )
testQuoteDirtyString ( )
testQuoteFalse ( )
testQuoteFloat ( )
testQuoteInteger ( )
testQuoteNull ( ) *########################################################################## # Quoting ##########################################################################
testQuoteString ( )
testQuoteTrue ( )
testReconnect ( )
testRemoveIndexByName ( )
testRemoveIndexMultiColumn ( )
testRemoveIndexSingleColumn ( )
testRenameColumn ( )
testRenameColumnWithSqlReservedWord ( )
testSelect ( ) *########################################################################## # Database Statements ##########################################################################
testSelectAll ( )
testSelectOne ( )
testSelectValue ( )
testSelectValues ( )
testSelectWithBoundParameters ( )
testSelectWithBoundParametersQuotesString ( )
testSupportsCountDistinct ( )
testSupportsInterval ( )
testSupportsMigrations ( )
testTableAliasFor ( )
testTableAliasLength ( )
testTableColumn ( )
testTableConstruct ( )
testTableGetOptions ( )
testTableName ( )
testTablePrimaryKey ( )
testTableToSql ( )
testTables ( )
testTransactionCommit ( )
testTransactionRollback ( )
testTransactionStarted ( )
testTypeToSqlBoolean ( )
testTypeToSqlDecimalPrecision ( )
testTypeToSqlDecimalScale ( )
testTypeToSqlInt ( )
testTypeToSqlIntLimit ( )
testTypeToSqlTypeBinary ( )
testTypeToSqlTypeDatetime ( )
testTypeToSqlTypeFloat ( )
testTypeToSqlTypePrimaryKey ( )
testTypeToSqlTypeString ( )
testTypeToSqlTypeText ( )
testTypeToSqlTypeTimestamp ( )
testUpdate ( )
testUpdateBlob ( )

Méthodes protégées

Méthode Description
_columnNames ( $tableName )
_createTable ( ) *########################################################################## # Protected ##########################################################################
_createTestTable ( $name, $options = [] )
_createTestUsersTable ( )
_dropTestTables ( ) drop test tables
_getColumn ( $table, $column ) Get a column by name
_getConnection ( $overrides = [] )
_getIndex ( $table, $indexes ) Get an index by columns
setUp ( )
tearDown ( )

Method Details

_columnNames() protected méthode

protected _columnNames ( $tableName )

_createTable() protected méthode

*########################################################################## # Protected ##########################################################################
protected _createTable ( )

_createTestTable() protected méthode

protected _createTestTable ( $name, $options = [] )

_createTestUsersTable() protected méthode

protected _createTestUsersTable ( )

_dropTestTables() protected méthode

drop test tables
protected _dropTestTables ( )

_getColumn() protected méthode

Get a column by name
protected _getColumn ( $table, $column )

_getConnection() protected static méthode

protected static _getConnection ( $overrides = [] )

_getIndex() protected méthode

Get an index by columns
protected _getIndex ( $table, $indexes )

setUp() protected méthode

protected setUp ( )

tearDown() protected méthode

protected tearDown ( )

testAdapterName() abstract public méthode

*########################################################################## # Accessor ##########################################################################
abstract public testAdapterName ( )

testAddColumnNotNullWithDefault() public méthode

testAddColumnNotNullWithoutDefault() public méthode

testAddColumnOptions() abstract public méthode

abstract public testAddColumnOptions ( )

testAddColumnOptionsDefault() abstract public méthode

abstract public testAddColumnOptionsDefault ( )

testAddColumnOptionsNotNull() abstract public méthode

abstract public testAddColumnOptionsNotNull ( )

testAddColumnOptionsNull() abstract public méthode

abstract public testAddColumnOptionsNull ( )

testAddIndex() public méthode

public testAddIndex ( )

testAddIndexDefault() public méthode

public testAddIndexDefault ( )

testAddIndexMultiColumn() public méthode

testAddIndexName() public méthode

public testAddIndexName ( )

testAddIndexUnique() public méthode

public testAddIndexUnique ( )

testAddOrderByForAssocLimiting() public méthode

testAddRemoveSingleField() public méthode

testAddRename() public méthode

public testAddRename ( )

testAutoIncrementWithAddColumn() public méthode

testAutoIncrementWithChangeColumn() public méthode

testAutoIncrementWithTypeInColumn() public méthode

*########################################################################## # Autoincrement Management ##########################################################################

testAutoIncrementWithTypeInTable() public méthode

testAutoIncrementWithTypeInTableAndColumnDefined() public méthode

testBuildClause() abstract public méthode

abstract public testBuildClause ( )

testCachedTableColumns() public méthode

testCachedTableIndexes() public méthode

*########################################################################## # Table cache ##########################################################################

testChangeColumnLimit() abstract public méthode

abstract public testChangeColumnLimit ( )

testChangeColumnNull() public méthode

testChangeColumnPrecisionScale() abstract public méthode

abstract public testChangeColumnPrecisionScale ( )

testChangeColumnType() abstract public méthode

abstract public testChangeColumnType ( )

testColumnConstruct() public méthode

public testColumnConstruct ( )

testColumnToSql() public méthode

public testColumnToSql ( )

testColumnToSqlDefault() public méthode

testColumnToSqlLimit() public méthode

testColumnToSqlNotNull() public méthode

testColumnToSqlPrecisionScale() public méthode

testColumns() public méthode

public testColumns ( )

testConnect() public méthode

*########################################################################## # Connection ##########################################################################
public testConnect ( )

testCreateTableWithSeparatePk() public méthode

testDelete() public méthode

public testDelete ( )

testDisconnect() public méthode

public testDisconnect ( )

testDistinct() public méthode

public testDistinct ( )

testIndexNameByMultiColumn() public méthode

testIndexNameByName() public méthode

public testIndexNameByName ( )

testIndexNameBySingleColumn() public méthode

testIndexNameInvalid() public méthode

testIndexes() public méthode

public testIndexes ( )

testInsert() public méthode

public testInsert ( )

testInsertAndReadInUtf8() public méthode

testInsertBlob() public méthode

public testInsertBlob ( )

testModifyDate() abstract public méthode

abstract public testModifyDate ( )

testNativeDatabaseTypes() abstract public méthode

*########################################################################## # Schema Statements ##########################################################################
abstract public testNativeDatabaseTypes ( )

testPrimaryKey() public méthode

public testPrimaryKey ( )

testQuoteBinary() public méthode

public testQuoteBinary ( )

testQuoteColumnName() abstract public méthode

abstract public testQuoteColumnName ( )

testQuoteDirtyString() abstract public méthode

abstract public testQuoteDirtyString ( )

testQuoteFalse() abstract public méthode

abstract public testQuoteFalse ( )

testQuoteFloat() abstract public méthode

abstract public testQuoteFloat ( )

testQuoteInteger() abstract public méthode

abstract public testQuoteInteger ( )

testQuoteNull() abstract public méthode

*########################################################################## # Quoting ##########################################################################
abstract public testQuoteNull ( )

testQuoteString() abstract public méthode

abstract public testQuoteString ( )

testQuoteTrue() abstract public méthode

abstract public testQuoteTrue ( )

testReconnect() public méthode

public testReconnect ( )

testRemoveIndexByName() public méthode

testRemoveIndexMultiColumn() public méthode

testRemoveIndexSingleColumn() public méthode

testRenameColumn() abstract public méthode

abstract public testRenameColumn ( )

testRenameColumnWithSqlReservedWord() public méthode

testSelect() public méthode

*########################################################################## # Database Statements ##########################################################################
public testSelect ( )

testSelectAll() public méthode

public testSelectAll ( )

testSelectOne() public méthode

public testSelectOne ( )

testSelectValue() public méthode

public testSelectValue ( )

testSelectValues() public méthode

public testSelectValues ( )

testSelectWithBoundParameters() public méthode

testSelectWithBoundParametersQuotesString() public méthode

testSupportsCountDistinct() abstract public méthode

abstract public testSupportsCountDistinct ( )

testSupportsInterval() abstract public méthode

abstract public testSupportsInterval ( )

testSupportsMigrations() abstract public méthode

abstract public testSupportsMigrations ( )

testTableAliasFor() public méthode

public testTableAliasFor ( )

testTableAliasLength() abstract public méthode

abstract public testTableAliasLength ( )

testTableColumn() public méthode

public testTableColumn ( )

testTableConstruct() public méthode

public testTableConstruct ( )

testTableGetOptions() public méthode

public testTableGetOptions ( )

testTableName() public méthode

public testTableName ( )

testTablePrimaryKey() public méthode

public testTablePrimaryKey ( )

testTableToSql() public méthode

public testTableToSql ( )

testTables() public méthode

public testTables ( )

testTransactionCommit() public méthode

testTransactionRollback() public méthode

testTransactionStarted() public méthode

testTypeToSqlBoolean() abstract public méthode

abstract public testTypeToSqlBoolean ( )

testTypeToSqlDecimalPrecision() abstract public méthode

abstract public testTypeToSqlDecimalPrecision ( )

testTypeToSqlDecimalScale() abstract public méthode

abstract public testTypeToSqlDecimalScale ( )

testTypeToSqlInt() abstract public méthode

abstract public testTypeToSqlInt ( )

testTypeToSqlIntLimit() abstract public méthode

abstract public testTypeToSqlIntLimit ( )

testTypeToSqlTypeBinary() abstract public méthode

abstract public testTypeToSqlTypeBinary ( )

testTypeToSqlTypeDatetime() abstract public méthode

abstract public testTypeToSqlTypeDatetime ( )

testTypeToSqlTypeFloat() abstract public méthode

abstract public testTypeToSqlTypeFloat ( )

testTypeToSqlTypePrimaryKey() abstract public méthode

abstract public testTypeToSqlTypePrimaryKey ( )

testTypeToSqlTypeString() abstract public méthode

abstract public testTypeToSqlTypeString ( )

testTypeToSqlTypeText() abstract public méthode

abstract public testTypeToSqlTypeText ( )

testTypeToSqlTypeTimestamp() abstract public méthode

abstract public testTypeToSqlTypeTimestamp ( )

testUpdate() public méthode

public testUpdate ( )

testUpdateBlob() public méthode

public testUpdateBlob ( )

Property Details

$_columnTest protected_oe static_oe property

protected static $_columnTest

$_conn protected_oe property

protected $_conn

$_reason protected_oe static_oe property

protected static $_reason

$_skip protected_oe static_oe property

protected static $_skip

$_tableTest protected_oe static_oe property

protected static $_tableTest