PHP Class lithium\tests\integration\data\CrudTest

Inheritance: extends Base
Show file Open project: unionofrad/lithium

Protected Properties

Property Type Description
$_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
testCreate ( ) Tests that a single record with a manually specified primary key can be created, persisted to an arbitrary data store, re-read and updated.
testCrudMulti ( )
testDelete ( )
testRead ( )
testUpdate ( )
testUpdateWithNewProperties ( )

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 ( )

testCreate() 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.
public testCreate ( )

testCrudMulti() public method

public testCrudMulti ( )

testDelete() public method

public testDelete ( )

testRead() public method

public testRead ( )

testUpdate() public method

public testUpdate ( )

testUpdateWithNewProperties() public method

Property Details

$_fixtures protected property

protected $_fixtures