PHP Class spec\PHPSpec2\Loader\Node\Specification

Inheritance: extends PHPSpec2\ObjectBehavior
ファイルを表示 Open project: phpspec/phpspec2

Public Methods

Method Description
it_could_have_childs ( PHPSpec2\Loader\Node\Example $child )
it_could_have_many_childs ( PHPSpec2\Loader\Node\Specification $child1, PHPSpec2\Loader\Node\Example $child2 )
it_should_calculate_proper_depth_depending_on_parent ( PHPSpec2\Loader\Node\Node $parent )
it_should_have_depth_of_0_by_default ( )
it_should_have_title ( )
it_should_not_have_children_by_default ( )
it_should_set_parent_on_children ( PHPSpec2\Loader\Node\Node $child )
its_child_could_be_another_specification ( PHPSpec2\Loader\Node\Specification $child )
let ( )

Method Details

it_could_have_childs() public method

public it_could_have_childs ( PHPSpec2\Loader\Node\Example $child )
$child PHPSpec2\Loader\Node\Example

it_could_have_many_childs() public method

public it_could_have_many_childs ( PHPSpec2\Loader\Node\Specification $child1, PHPSpec2\Loader\Node\Example $child2 )
$child1 PHPSpec2\Loader\Node\Specification
$child2 PHPSpec2\Loader\Node\Example

it_should_calculate_proper_depth_depending_on_parent() public method

public it_should_calculate_proper_depth_depending_on_parent ( PHPSpec2\Loader\Node\Node $parent )
$parent PHPSpec2\Loader\Node\Node

it_should_have_depth_of_0_by_default() public method

it_should_have_title() public method

it_should_not_have_children_by_default() public method

it_should_set_parent_on_children() public method

public it_should_set_parent_on_children ( PHPSpec2\Loader\Node\Node $child )
$child PHPSpec2\Loader\Node\Node

its_child_could_be_another_specification() public method

public its_child_could_be_another_specification ( PHPSpec2\Loader\Node\Specification $child )
$child PHPSpec2\Loader\Node\Specification

let() public method

public let ( )