PHP Class lithium\tests\integration\data\SourceTest

Inheritance: extends lithium\test\Integration
Show file Open project: unionofrad/lithium

Public Properties

Property Type Description
$galleriesData

Protected Properties

Property Type Description
$_classes
$_fixtures

Public Methods

Method Description
setUp ( ) Creating the test database
skip ( ) Skip the test if no test database connection available.
tearDown ( ) Dropping the test database
testAbstractTypeHandling ( )
testDefaultRelationshipInfo ( ) Tests the default relationship information provided by the backend data source.
testEntityFields ( )
testFindFirstWithFieldsOption ( )
testGetRecordByGeneratedId ( ) Tests that a record can be created, saved, and subsequently re-read using a key auto-generated by the data source. Uses short-hand find() syntax which does not support compound keys.
testReadWriteMultiple ( )
testRewind ( )
testSerializingCollection ( )
testSerializingEntity ( )
testSingleReadWriteWithKey ( ) Tests that a single record with a manually specified primary key can be created, persisted to an arbitrary data store, re-read and updated.

Method Details

setUp() public method

Creating the test database
public setUp ( )

skip() public method

Skip the test if no test database connection available.
public skip ( )

tearDown() public method

Dropping the test database
public tearDown ( )

testAbstractTypeHandling() public method

testDefaultRelationshipInfo() public method

Tests the default relationship information provided by the backend data source.

testEntityFields() public method

public testEntityFields ( )

testFindFirstWithFieldsOption() public method

testGetRecordByGeneratedId() public method

Tests that a record can be created, saved, and subsequently re-read using a key auto-generated by the data source. Uses short-hand find() syntax which does not support compound keys.

testReadWriteMultiple() public method

testRewind() public method

public testRewind ( )

testSerializingCollection() public method

testSerializingEntity() public method

testSingleReadWriteWithKey() public method

Tests that a single record with a manually specified primary key can be created, persisted to an arbitrary data store, re-read and updated.

Property Details

$_classes protected property

protected $_classes

$_fixtures protected property

protected $_fixtures

$galleriesData public property

public $galleriesData