PHP 클래스 NodeTest, phpmyadmin

상속: extends PHPUnit_Framework_TestCase
파일 보기 프로젝트 열기: phpmyadmin/phpmyadmin 1 사용 예제들

공개 메소드들

메소드 설명
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.

testGetDataWithEnabledISAndGroupingDisabled() 공개 메소드

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

testGetDataWithEnabledISAndGroupingEnabled() 공개 메소드

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

testGetPresenceWithDisabledIS() 공개 메소드

Tests the getPresence method when DisableIS is true

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.

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).

testHasSiblingsWithNoSiblings() 공개 메소드

Tests whether Node->hasSiblings() method returns false when the node does not have any siblings.

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