PHP 클래스 Horde_Db_Adapter_TestBase, horde

저자: Mike Naberezny ([email protected])
저자: Derek DeVries ([email protected])
저자: Chuck Hagenbuch ([email protected])
저자: Jan Schneider ([email protected])
상속: extends Horde_Test_Case
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$_columnTest
$_conn
$_reason
$_skip
$_tableTest

공개 메소드들

메소드 설명
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 ( )

보호된 메소드들

메소드 설명
_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 ( )

메소드 상세

_columnNames() 보호된 메소드

protected _columnNames ( $tableName )

_createTable() 보호된 메소드

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

_createTestTable() 보호된 메소드

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

_createTestUsersTable() 보호된 메소드

protected _createTestUsersTable ( )

_dropTestTables() 보호된 메소드

drop test tables
protected _dropTestTables ( )

_getColumn() 보호된 메소드

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

_getConnection() 보호된 정적인 메소드

protected static _getConnection ( $overrides = [] )

_getIndex() 보호된 메소드

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

setUp() 보호된 메소드

protected setUp ( )

tearDown() 보호된 메소드

protected tearDown ( )

testAdapterName() 추상적인 공개 메소드

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

testAddColumnNotNullWithDefault() 공개 메소드

testAddColumnNotNullWithoutDefault() 공개 메소드

testAddColumnOptions() 추상적인 공개 메소드

abstract public testAddColumnOptions ( )

testAddColumnOptionsDefault() 추상적인 공개 메소드

abstract public testAddColumnOptionsDefault ( )

testAddColumnOptionsNotNull() 추상적인 공개 메소드

abstract public testAddColumnOptionsNotNull ( )

testAddColumnOptionsNull() 추상적인 공개 메소드

abstract public testAddColumnOptionsNull ( )

testAddIndex() 공개 메소드

public testAddIndex ( )

testAddIndexDefault() 공개 메소드

public testAddIndexDefault ( )

testAddIndexMultiColumn() 공개 메소드

testAddIndexName() 공개 메소드

public testAddIndexName ( )

testAddIndexUnique() 공개 메소드

public testAddIndexUnique ( )

testAddOrderByForAssocLimiting() 공개 메소드

testAddRemoveSingleField() 공개 메소드

testAddRename() 공개 메소드

public testAddRename ( )

testAutoIncrementWithAddColumn() 공개 메소드

testAutoIncrementWithChangeColumn() 공개 메소드

testAutoIncrementWithTypeInColumn() 공개 메소드

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

testAutoIncrementWithTypeInTable() 공개 메소드

testAutoIncrementWithTypeInTableAndColumnDefined() 공개 메소드

testBuildClause() 추상적인 공개 메소드

abstract public testBuildClause ( )

testCachedTableColumns() 공개 메소드

testCachedTableIndexes() 공개 메소드

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

testChangeColumnLimit() 추상적인 공개 메소드

abstract public testChangeColumnLimit ( )

testChangeColumnNull() 공개 메소드

testChangeColumnPrecisionScale() 추상적인 공개 메소드

abstract public testChangeColumnPrecisionScale ( )

testChangeColumnType() 추상적인 공개 메소드

abstract public testChangeColumnType ( )

testColumnConstruct() 공개 메소드

public testColumnConstruct ( )

testColumnToSql() 공개 메소드

public testColumnToSql ( )

testColumnToSqlDefault() 공개 메소드

testColumnToSqlLimit() 공개 메소드

testColumnToSqlNotNull() 공개 메소드

testColumnToSqlPrecisionScale() 공개 메소드

testColumns() 공개 메소드

public testColumns ( )

testConnect() 공개 메소드

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

testCreateTableWithSeparatePk() 공개 메소드

testDelete() 공개 메소드

public testDelete ( )

testDisconnect() 공개 메소드

public testDisconnect ( )

testDistinct() 공개 메소드

public testDistinct ( )

testIndexNameByMultiColumn() 공개 메소드

testIndexNameByName() 공개 메소드

public testIndexNameByName ( )

testIndexNameBySingleColumn() 공개 메소드

testIndexNameInvalid() 공개 메소드

testIndexes() 공개 메소드

public testIndexes ( )

testInsert() 공개 메소드

public testInsert ( )

testInsertAndReadInUtf8() 공개 메소드

testInsertBlob() 공개 메소드

public testInsertBlob ( )

testModifyDate() 추상적인 공개 메소드

abstract public testModifyDate ( )

testNativeDatabaseTypes() 추상적인 공개 메소드

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

testPrimaryKey() 공개 메소드

public testPrimaryKey ( )

testQuoteBinary() 공개 메소드

public testQuoteBinary ( )

testQuoteColumnName() 추상적인 공개 메소드

abstract public testQuoteColumnName ( )

testQuoteDirtyString() 추상적인 공개 메소드

abstract public testQuoteDirtyString ( )

testQuoteFalse() 추상적인 공개 메소드

abstract public testQuoteFalse ( )

testQuoteFloat() 추상적인 공개 메소드

abstract public testQuoteFloat ( )

testQuoteInteger() 추상적인 공개 메소드

abstract public testQuoteInteger ( )

testQuoteNull() 추상적인 공개 메소드

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

testQuoteString() 추상적인 공개 메소드

abstract public testQuoteString ( )

testQuoteTrue() 추상적인 공개 메소드

abstract public testQuoteTrue ( )

testReconnect() 공개 메소드

public testReconnect ( )

testRemoveIndexByName() 공개 메소드

testRemoveIndexMultiColumn() 공개 메소드

testRemoveIndexSingleColumn() 공개 메소드

testRenameColumn() 추상적인 공개 메소드

abstract public testRenameColumn ( )

testRenameColumnWithSqlReservedWord() 공개 메소드

testSelect() 공개 메소드

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

testSelectAll() 공개 메소드

public testSelectAll ( )

testSelectOne() 공개 메소드

public testSelectOne ( )

testSelectValue() 공개 메소드

public testSelectValue ( )

testSelectValues() 공개 메소드

public testSelectValues ( )

testSelectWithBoundParameters() 공개 메소드

testSelectWithBoundParametersQuotesString() 공개 메소드

testSupportsCountDistinct() 추상적인 공개 메소드

abstract public testSupportsCountDistinct ( )

testSupportsInterval() 추상적인 공개 메소드

abstract public testSupportsInterval ( )

testSupportsMigrations() 추상적인 공개 메소드

abstract public testSupportsMigrations ( )

testTableAliasFor() 공개 메소드

public testTableAliasFor ( )

testTableAliasLength() 추상적인 공개 메소드

abstract public testTableAliasLength ( )

testTableColumn() 공개 메소드

public testTableColumn ( )

testTableConstruct() 공개 메소드

public testTableConstruct ( )

testTableGetOptions() 공개 메소드

public testTableGetOptions ( )

testTableName() 공개 메소드

public testTableName ( )

testTablePrimaryKey() 공개 메소드

public testTablePrimaryKey ( )

testTableToSql() 공개 메소드

public testTableToSql ( )

testTables() 공개 메소드

public testTables ( )

testTransactionCommit() 공개 메소드

testTransactionRollback() 공개 메소드

testTransactionStarted() 공개 메소드

testTypeToSqlBoolean() 추상적인 공개 메소드

abstract public testTypeToSqlBoolean ( )

testTypeToSqlDecimalPrecision() 추상적인 공개 메소드

abstract public testTypeToSqlDecimalPrecision ( )

testTypeToSqlDecimalScale() 추상적인 공개 메소드

abstract public testTypeToSqlDecimalScale ( )

testTypeToSqlInt() 추상적인 공개 메소드

abstract public testTypeToSqlInt ( )

testTypeToSqlIntLimit() 추상적인 공개 메소드

abstract public testTypeToSqlIntLimit ( )

testTypeToSqlTypeBinary() 추상적인 공개 메소드

abstract public testTypeToSqlTypeBinary ( )

testTypeToSqlTypeDatetime() 추상적인 공개 메소드

abstract public testTypeToSqlTypeDatetime ( )

testTypeToSqlTypeFloat() 추상적인 공개 메소드

abstract public testTypeToSqlTypeFloat ( )

testTypeToSqlTypePrimaryKey() 추상적인 공개 메소드

abstract public testTypeToSqlTypePrimaryKey ( )

testTypeToSqlTypeString() 추상적인 공개 메소드

abstract public testTypeToSqlTypeString ( )

testTypeToSqlTypeText() 추상적인 공개 메소드

abstract public testTypeToSqlTypeText ( )

testTypeToSqlTypeTimestamp() 추상적인 공개 메소드

abstract public testTypeToSqlTypeTimestamp ( )

testUpdate() 공개 메소드

public testUpdate ( )

testUpdateBlob() 공개 메소드

public testUpdateBlob ( )

프로퍼티 상세

$_columnTest 보호되어 있는 정적으로 프로퍼티

protected static $_columnTest

$_conn 보호되어 있는 프로퍼티

protected $_conn

$_reason 보호되어 있는 정적으로 프로퍼티

protected static $_reason

$_skip 보호되어 있는 정적으로 프로퍼티

protected static $_skip

$_tableTest 보호되어 있는 정적으로 프로퍼티

protected static $_tableTest