PHP Class lithium\tests\integration\data\source\database\adapter\MySqlTest

Inheritance: extends lithium\tests\integration\data\Base
Datei anzeigen Open project: unionofrad/lithium

Protected Properties

Property Type Description
$_schema

Public Methods

Method Description
setUp ( )
skip ( ) Skip the test if a MySQL adapter configuration is unavailable.
tearDown ( )
testColumnAbstraction ( )
testConstructorDefaults ( ) Tests that the object is initialized with the correct default values.
testDatabaseConnection ( ) Tests that this adapter can connect to the database, and that the status is properly persisted.
testDatabaseEncoding ( )
testDefaultValues ( ) Contrary to other data sources, MySQL only support one TIMESTAMP column by table.
testDeletesWithoutAliases ( ) Ensures that DELETE queries are not generated with table aliases, as MySQL does not support this.
testDescribe ( ) Tests that describing a table's schema returns the correct column meta-information.
testDsnHostPort ( )
testDsnSocket ( )
testEnabledFeatures ( )
testEntityQuerying ( )
testExecuteException ( )
testNameQuoting ( )
testQueryOrdering ( )
testRawOptionSettingWithNoResultResource ( ) Verifies that setting options using a raw SQL string works, when the operation returns no result.
testRawSqlQuerying ( )
testResultSet ( )
testValueByIntrospect ( )
testValueWithSchema ( )

Method Details

setUp() public method

public setUp ( )

skip() public method

Skip the test if a MySQL adapter configuration is unavailable.
public skip ( )

tearDown() public method

public tearDown ( )

testColumnAbstraction() public method

testConstructorDefaults() public method

Tests that the object is initialized with the correct default values.

testDatabaseConnection() public method

Tests that this adapter can connect to the database, and that the status is properly persisted.

testDatabaseEncoding() public method

testDefaultValues() public method

Contrary to other data sources, MySQL only support one TIMESTAMP column by table.
public testDefaultValues ( )

testDeletesWithoutAliases() public method

Ensures that DELETE queries are not generated with table aliases, as MySQL does not support this.

testDescribe() public method

Tests that describing a table's schema returns the correct column meta-information.
public testDescribe ( )

testDsnHostPort() public method

public testDsnHostPort ( )

testDsnSocket() public method

public testDsnSocket ( )

testEnabledFeatures() public method

public testEnabledFeatures ( )

testEntityQuerying() public method

public testEntityQuerying ( )

testExecuteException() public method

testNameQuoting() public method

public testNameQuoting ( )

testQueryOrdering() public method

public testQueryOrdering ( )

testRawOptionSettingWithNoResultResource() public method

Verifies that setting options using a raw SQL string works, when the operation returns no result.

testRawSqlQuerying() public method

public testRawSqlQuerying ( )

testResultSet() public method

public testResultSet ( )

testValueByIntrospect() public method

testValueWithSchema() public method

public testValueWithSchema ( )

Property Details

$_schema protected_oe property

protected $_schema