프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$contentHandler | Mocked content handler instance. | ||
$locationGateway | Mocked location gateway instance. | ||
$locationMapper | Mocked location mapper instance. | ||
$objectStateHandler | Mocked object state handler instance. | ||
$treeHandler | Mocked Tree handler instance. |
메소드 | 설명 | |
---|---|---|
loadParentLocationsForDraftContent ( ) | ||
setUp ( ) | ||
testChangeMainLocation ( ) | ||
testCopySubtree ( ) | Test for the copySubtree() method. | |
testCreateLocation ( ) | ||
testHideUnhideUpdateHidden ( ) | ||
testHideUpdateHidden ( ) | ||
testLoadLocation ( ) | ||
testLoadLocationByRemoteId ( ) | ||
testLoadLocationSubtree ( ) | ||
testLoadLocationsByContent ( ) | ||
testMarkSubtreeModified ( ) | ||
testMoveSubtree ( ) | ||
testRemoveSubtree ( ) | Test for the removeSubtree() method. | |
testSetSectionForSubtree ( ) | ||
testSwapLocations ( ) | ||
testUpdateLocation ( ) |
메소드 | 설명 | |
---|---|---|
getLocationHandler ( ) | ||
getPartlyMockedHandler ( array $methods ) : |
Returns the handler to test with $methods mocked. |
protected getPartlyMockedHandler ( array $methods ) : |
||
$methods | array | |
리턴 |
protected Handler,eZ\Publish\Core\Persistence\Legacy\Content $contentHandler | ||
리턴 |
protected Gateway,eZ\Publish\Core\Persistence\Legacy\Content\Location $locationGateway | ||
리턴 |
protected Mapper,eZ\Publish\Core\Persistence\Legacy\Content\Location $locationMapper | ||
리턴 |
protected Handler,eZ\Publish\Core\Persistence\Legacy\Content\ObjectState|PHPUnit_Framework_MockObject_MockObject $objectStateHandler | ||
리턴 |