PHP Класс NodeTest, phpmyadmin

Наследование: extends PHPUnit_Framework_TestCase
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

setup() публичный Метод

SetUp for test cases
public setup ( ) : void
Результат void

testAddNode() публичный Метод

SetUp for AddNode
public testAddNode ( ) : void
Результат void

testGetChildError() публичный Метод

SetUp for getChild
public testGetChildError ( ) : void
Результат void

testGetDataWithDisabledISAndGroupingEnabled() публичный Метод

Tests getData() method when DisableIS is true and navigation tree grouping enabled.
public testGetDataWithDisabledISAndGroupingEnabled ( ) : void
Результат void

testGetDataWithEnabledISAndGroupingDisabled() публичный Метод

Tests getData() method when DisableIS is false and navigation tree grouping disabled.
public testGetDataWithEnabledISAndGroupingDisabled ( ) : void
Результат void

testGetDataWithEnabledISAndGroupingEnabled() публичный Метод

Tests getData() method when DisableIS is false and navigation tree grouping enabled.
public testGetDataWithEnabledISAndGroupingEnabled ( ) : void
Результат void

testGetPresenceWithDisabledIS() публичный Метод

Tests the getPresence method when DisableIS is true
public testGetPresenceWithDisabledIS ( ) : void
Результат void

testGetPresenceWithEnabledISAndGroupingDisabled() публичный Метод

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

testGetPresenceWithEnabledISAndGroupingEnabled() публичный Метод

Tests the getPresence method when DisableIS is false and navigation tree grouping enabled.
public testGetPresenceWithEnabledISAndGroupingEnabled ( ) : void
Результат void

testGetWhereClause() публичный Метод

Tests private method _getWhereClause()
public testGetWhereClause ( ) : void
Результат void

testHasSiblingsForNodesAtLevelThree() публичный Метод

It is expected that Node->hasSiblings() method always return true for Nodes that are 3 levels deep (columns and indexes).
public testHasSiblingsForNodesAtLevelThree ( ) : void
Результат void

testHasSiblingsWithNoSiblings() публичный Метод

Tests whether Node->hasSiblings() method returns false when the node does not have any siblings.
public testHasSiblingsWithNoSiblings ( ) : void
Результат void

testHasSiblingsWithSiblings() публичный Метод

Tests whether Node->hasSiblings() method returns true when it actually has siblings.
public testHasSiblingsWithSiblings ( ) : void
Результат void

testNodeHasChildren() публичный Метод

SetUp for hasChildren
public testNodeHasChildren ( ) : void
Результат void

testNumChildren() публичный Метод

SetUp for numChildren
public testNumChildren ( ) : void
Результат void

testParents() публичный Метод

SetUp for parents
public testParents ( ) : void
Результат void

testRealParent() публичный Метод

SetUp for realParent
public testRealParent ( ) : void
Результат void

testRemoveNode() публичный Метод

SetUp for getChild
public testRemoveNode ( ) : void
Результат void