PHP Class RedUNIT\Base\Traverse

Tests whether RedBeanPHP can easily deal with hierarchies of beans.
Author: Gabor de Mooij and the RedBeanPHP Community
Inheritance: extends RedUNIT\Base
Show file Open project: gabordemooij/redbean

Public Methods

Method Description
testBasicTraversal ( ) : void Tests basic traversal.
testSharedTraversal ( ) : void Traverse can only work with own-lists, otherwise infinite loops.
testSimplestTraversal ( ) : void Very simple traverse case (one-level).
testTraversalWithAlias ( ) : void Test traversal with aliases.
testTraversalWithSQL ( ) : void Test traversal with embedded SQL snippets.
testTraversePaths ( ) : void Test traversing paths, ancestry.

Method Details

testBasicTraversal() public method

Tests basic traversal.
public testBasicTraversal ( ) : void
return void

testSharedTraversal() public method

Traverse can only work with own-lists, otherwise infinite loops.
public testSharedTraversal ( ) : void
return void

testSimplestTraversal() public method

Very simple traverse case (one-level).
public testSimplestTraversal ( ) : void
return void

testTraversalWithAlias() public method

Test traversal with aliases.
public testTraversalWithAlias ( ) : void
return void

testTraversalWithSQL() public method

Test traversal with embedded SQL snippets.
public testTraversalWithSQL ( ) : void
return void

testTraversePaths() public method

Test traversing paths, ancestry.
public testTraversePaths ( ) : void
return void