Property | Type | Description | |
---|---|---|---|
$blockDefinition | array | ||
$contentService | PHPUnit_Framework_MockObject_MockObject | eZ\Publish\API\Repository\ContentService | ||
$pageService | |||
$storageGateway | PHPUnit_Framework_MockObject_MockObject | ||
$zoneDefinition | array |
Method | Description | |
---|---|---|
getLayoutTemplateProvider ( ) | ||
hasBlockDefinitionProvider ( ) | ||
hasZoneLayoutProvider ( ) | ||
testGetArchivedBlockItems ( ) | ||
testGetAvailableZoneLayouts ( ) | ||
testGetBlockDefinition ( ) | ||
testGetBlockDefinitionByIdentifier ( ) | ||
testGetBlockDefinitionByIdentifierInvalidBlock ( ) | ||
testGetLastValidBlockItem ( ) | ||
testGetLayoutTemplate ( $zoneLayout, $expectedTemplate ) | ||
testGetLayoutTemplateInvalidLayout ( ) | ||
testGetStorageGateway ( ) | ||
testGetValidBlockItems ( ) | ||
testGetValidBlockItemsNoGateway ( ) | ||
testGetWaitingBlockItems ( ) | ||
testGetZoneDefinition ( ) | ||
testGetZoneDefinitionByLayout ( ) | ||
testGetZoneDefinitionByLayoutInvalidLayout ( ) | ||
testHasBlockDefinition ( string $blockIdentifier, boolean $expectedResult ) | ||
testHasZoneLayout ( string $layout, boolean $expectedResult ) | ||
testLoadBlock ( ) |
Method | Description | |
---|---|---|
buildBlock ( ) : |
||
getBlockDefinition ( ) : array | Returns block definition to test with. | |
getZoneDefinition ( ) : array | Returns zone definition to test with. | |
setUp ( ) |
protected buildBlock ( ) : |
||
return |
protected getBlockDefinition ( ) : array | ||
return | array |
protected getZoneDefinition ( ) : array | ||
return | array |
public testGetLayoutTemplate ( $zoneLayout, $expectedTemplate ) |
public testGetZoneDefinitionByLayoutInvalidLayout ( ) |
public testHasBlockDefinition ( string $blockIdentifier, boolean $expectedResult ) | ||
$blockIdentifier | string | |
$expectedResult | boolean |
public testHasZoneLayout ( string $layout, boolean $expectedResult ) | ||
$layout | string | |
$expectedResult | boolean |
protected PHPUnit_Framework_MockObject_MockObject|ContentService,eZ\Publish\API\Repository $contentService | ||
return | PHPUnit_Framework_MockObject_MockObject | eZ\Publish\API\Repository\ContentService |
protected PageService,eZ\Publish\Core\FieldType\Page $pageService | ||
return |
protected PHPUnit_Framework_MockObject_MockObject $storageGateway | ||
return | PHPUnit_Framework_MockObject_MockObject |