PHP Class RedUNIT\Blackhole\Import

RedBeanPHP offers some methods to import arrays into beans. For instance using the dispense() method. This test suite checks whether RedBeanPHP can correctly convert array structures to beans and also checks the expected effects on the taint flags. This test suite further tests the 'simple' single bean import() function, the inject() function (bean-to-bean) and array access (because this is somehow related).
Author: Gabor de Mooij and the RedBeanPHP Community
Inheritance: extends RedUNIT\Blackhole
ファイルを表示 Open project: gabordemooij/redbean

Public Methods

Method Description
testArrayAccess ( ) : void Test import using array access functions
testImportFromAndTainted ( ) : void Test import from and tainted.
testMultiRecurImport ( ) : void Test multi array dispense import.
testRecursiveImport ( ) : void Test recursive imports (formely known as R::graph).

Method Details

testArrayAccess() public method

Test import using array access functions
public testArrayAccess ( ) : void
return void

testImportFromAndTainted() public method

Test import from and tainted.
public testImportFromAndTainted ( ) : void
return void

testMultiRecurImport() public method

Test multi array dispense import.
public testMultiRecurImport ( ) : void
return void

testRecursiveImport() public method

Test recursive imports (formely known as R::graph).
public testRecursiveImport ( ) : void
return void