PHP Class RedUNIT\Base\Indexes

Tests whether indexes are created properly and whether index creation errors are supressed (they are not important enough to cause exceptions during development phase).
Author: Gabor de Mooij and the RedBeanPHP Community
Inheritance: extends RedUNIT\Base
Show file Open project: gabordemooij/redbean

Public Methods

Method Description
testIndexCreation ( ) : void Tests whether a regular index is created properly.
testIndexCreationAlias ( ) : void Tests indexes on aliases.
testIndexCreationFail ( ) : void Tests index fails.
testIndexCreationMany2Many ( ) : void Tests indexes on link tables.
testIndexCreationParentBean ( ) : void Tests indexes on parent beans.

Method Details

testIndexCreation() public method

Tests whether a regular index is created properly.
public testIndexCreation ( ) : void
return void

testIndexCreationAlias() public method

Tests indexes on aliases.
public testIndexCreationAlias ( ) : void
return void

testIndexCreationFail() public method

Tests index fails.
public testIndexCreationFail ( ) : void
return void

testIndexCreationMany2Many() public method

Tests indexes on link tables.
public testIndexCreationMany2Many ( ) : void
return void

testIndexCreationParentBean() public method

Tests indexes on parent beans.
public testIndexCreationParentBean ( ) : void
return void