PHP Класс lithium\tests\integration\data\SourceTest

Наследование: extends lithium\test\Integration
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$galleriesData

Защищенные свойства (Protected)

Свойство Тип Описание
$_classes
$_fixtures

Открытые методы

Метод Описание
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.

Описание методов

setUp() публичный Метод

Creating the test database
public setUp ( )

skip() публичный Метод

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

tearDown() публичный Метод

Dropping the test database
public tearDown ( )

testAbstractTypeHandling() публичный Метод

testDefaultRelationshipInfo() публичный Метод

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

testEntityFields() публичный Метод

public 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() публичный Метод

public 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.

Описание свойств

$_classes защищенное свойство

protected $_classes

$_fixtures защищенное свойство

protected $_fixtures

$galleriesData публичное свойство

public $galleriesData