PHP Class eZ\Publish\Core\Limitation\Tests\ParentDepthLimitationTypeTest

Inheritance: extends Base
Datei anzeigen Open project: ezsystems/ezpublish-kernel

Public Methods

Method Description
providerForTestAcceptValue ( ) : array
providerForTestAcceptValueException ( ) : array
providerForTestEvaluate ( ) : array
providerForTestEvaluateInvalidArgument ( ) : array
providerForTestValidatePass ( ) : array
setUp ( ) Setup Location Handler mock.
tearDown ( ) Tear down Location Handler mock.
testAcceptValue ( eZ\Publish\API\Repository\Values\User\Limitation\ParentDepthLimitation $limitation, ParentDepthLimitationType $limitationType )
testAcceptValueException ( eZ\Publish\API\Repository\Values\User\Limitation $limitation, ParentDepthLimitationType $limitationType )
testBuildValue ( ParentDepthLimitationType $limitationType )
testConstruct ( ) : ParentDepthLimitationType
testEvaluate ( eZ\Publish\API\Repository\Values\User\Limitation\ParentDepthLimitation $limitation, eZ\Publish\API\Repository\Values\ValueObject $object, $targets, array $persistenceLocations, $expected )
testEvaluateInvalidArgument ( eZ\Publish\API\Repository\Values\User\Limitation $limitation, eZ\Publish\API\Repository\Values\ValueObject $object, $targets, array $persistenceLocations )
testValidatePass ( eZ\Publish\API\Repository\Values\User\Limitation\ParentDepthLimitation $limitation, ParentDepthLimitationType $limitationType )

Method Details

providerForTestAcceptValue() public method

public providerForTestAcceptValue ( ) : array
return array

providerForTestAcceptValueException() public method

providerForTestEvaluate() public method

public providerForTestEvaluate ( ) : array
return array

providerForTestEvaluateInvalidArgument() public method

providerForTestValidatePass() public method

setUp() public method

Setup Location Handler mock.
public setUp ( )

tearDown() public method

Tear down Location Handler mock.
public tearDown ( )

testAcceptValue() public method

public testAcceptValue ( eZ\Publish\API\Repository\Values\User\Limitation\ParentDepthLimitation $limitation, ParentDepthLimitationType $limitationType )
$limitation eZ\Publish\API\Repository\Values\User\Limitation\ParentDepthLimitation
$limitationType eZ\Publish\Core\Limitation\ParentDepthLimitationType

testAcceptValueException() public method

public testAcceptValueException ( eZ\Publish\API\Repository\Values\User\Limitation $limitation, ParentDepthLimitationType $limitationType )
$limitation eZ\Publish\API\Repository\Values\User\Limitation
$limitationType eZ\Publish\Core\Limitation\ParentDepthLimitationType

testBuildValue() public method

public testBuildValue ( ParentDepthLimitationType $limitationType )
$limitationType eZ\Publish\Core\Limitation\ParentDepthLimitationType

testConstruct() public method

public testConstruct ( ) : ParentDepthLimitationType
return eZ\Publish\Core\Limitation\ParentDepthLimitationType

testEvaluate() public method

public testEvaluate ( eZ\Publish\API\Repository\Values\User\Limitation\ParentDepthLimitation $limitation, eZ\Publish\API\Repository\Values\ValueObject $object, $targets, array $persistenceLocations, $expected )
$limitation eZ\Publish\API\Repository\Values\User\Limitation\ParentDepthLimitation
$object eZ\Publish\API\Repository\Values\ValueObject
$persistenceLocations array

testEvaluateInvalidArgument() public method

public testEvaluateInvalidArgument ( eZ\Publish\API\Repository\Values\User\Limitation $limitation, eZ\Publish\API\Repository\Values\ValueObject $object, $targets, array $persistenceLocations )
$limitation eZ\Publish\API\Repository\Values\User\Limitation
$object eZ\Publish\API\Repository\Values\ValueObject
$persistenceLocations array

testValidatePass() public method

public testValidatePass ( eZ\Publish\API\Repository\Values\User\Limitation\ParentDepthLimitation $limitation, ParentDepthLimitationType $limitationType )
$limitation eZ\Publish\API\Repository\Values\User\Limitation\ParentDepthLimitation
$limitationType eZ\Publish\Core\Limitation\ParentDepthLimitationType