PHP Class NodeTest, phpmyadmin

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: phpmyadmin/phpmyadmin Class Usage Examples

Méthodes publiques

Méthode Description
setup ( ) : void SetUp for test cases
testAddNode ( ) : void SetUp for AddNode
testGetChildError ( ) : void SetUp for getChild
testGetDataWithDisabledISAndGroupingEnabled ( ) : void Tests getData() method when DisableIS is true and navigation tree grouping enabled.
testGetDataWithEnabledISAndGroupingDisabled ( ) : void Tests getData() method when DisableIS is false and navigation tree grouping disabled.
testGetDataWithEnabledISAndGroupingEnabled ( ) : void Tests getData() method when DisableIS is false and navigation tree grouping enabled.
testGetPresenceWithDisabledIS ( ) : void Tests the getPresence method when DisableIS is true
testGetPresenceWithEnabledISAndGroupingDisabled ( ) : void Tests the getPresence method when DisableIS is false and navigation tree grouping disabled.
testGetPresenceWithEnabledISAndGroupingEnabled ( ) : void Tests the getPresence method when DisableIS is false and navigation tree grouping enabled.
testGetWhereClause ( ) : void Tests private method _getWhereClause()
testHasSiblingsForNodesAtLevelThree ( ) : void It is expected that Node->hasSiblings() method always return true for Nodes that are 3 levels deep (columns and indexes).
testHasSiblingsWithNoSiblings ( ) : void Tests whether Node->hasSiblings() method returns false when the node does not have any siblings.
testHasSiblingsWithSiblings ( ) : void Tests whether Node->hasSiblings() method returns true when it actually has siblings.
testNodeHasChildren ( ) : void SetUp for hasChildren
testNumChildren ( ) : void SetUp for numChildren
testParents ( ) : void SetUp for parents
testRealParent ( ) : void SetUp for realParent
testRemoveNode ( ) : void SetUp for getChild

Method Details

setup() public méthode

SetUp for test cases
public setup ( ) : void
Résultat void

testAddNode() public méthode

SetUp for AddNode
public testAddNode ( ) : void
Résultat void

testGetChildError() public méthode

SetUp for getChild
public testGetChildError ( ) : void
Résultat void

testGetDataWithDisabledISAndGroupingEnabled() public méthode

Tests getData() method when DisableIS is true and navigation tree grouping enabled.

testGetDataWithEnabledISAndGroupingDisabled() public méthode

Tests getData() method when DisableIS is false and navigation tree grouping disabled.

testGetDataWithEnabledISAndGroupingEnabled() public méthode

Tests getData() method when DisableIS is false and navigation tree grouping enabled.

testGetPresenceWithDisabledIS() public méthode

Tests the getPresence method when DisableIS is true
public testGetPresenceWithDisabledIS ( ) : void
Résultat void

testGetPresenceWithEnabledISAndGroupingDisabled() public méthode

Tests the getPresence method when DisableIS is false and navigation tree grouping disabled.

testGetPresenceWithEnabledISAndGroupingEnabled() public méthode

Tests the getPresence method when DisableIS is false and navigation tree grouping enabled.

testGetWhereClause() public méthode

Tests private method _getWhereClause()
public testGetWhereClause ( ) : void
Résultat void

testHasSiblingsForNodesAtLevelThree() public méthode

It is expected that Node->hasSiblings() method always return true for Nodes that are 3 levels deep (columns and indexes).

testHasSiblingsWithNoSiblings() public méthode

Tests whether Node->hasSiblings() method returns false when the node does not have any siblings.
public testHasSiblingsWithNoSiblings ( ) : void
Résultat void

testHasSiblingsWithSiblings() public méthode

Tests whether Node->hasSiblings() method returns true when it actually has siblings.
public testHasSiblingsWithSiblings ( ) : void
Résultat void

testNodeHasChildren() public méthode

SetUp for hasChildren
public testNodeHasChildren ( ) : void
Résultat void

testNumChildren() public méthode

SetUp for numChildren
public testNumChildren ( ) : void
Résultat void

testParents() public méthode

SetUp for parents
public testParents ( ) : void
Résultat void

testRealParent() public méthode

SetUp for realParent
public testRealParent ( ) : void
Résultat void

testRemoveNode() public méthode

SetUp for getChild
public testRemoveNode ( ) : void
Résultat void