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

Inheritance: extends Base
Afficher le fichier Open project: ezsystems/ezpublish-kernel

Méthodes publiques

Méthode Description
providerForTestAcceptValue ( ) : array
providerForTestAcceptValueException ( ) : array
providerForTestEvaluate ( ) : array
providerForTestEvaluateInvalidArgument ( ) : array
providerForTestValidateError ( ) : array
providerForTestValidatePass ( ) : array
setUp ( ) Setup Location Handler mock.
tearDown ( ) Tear down Location Handler mock.
testAcceptValue ( eZ\Publish\API\Repository\Values\User\Limitation\SectionLimitation $limitation, SectionLimitationType $limitationType )
testAcceptValueException ( eZ\Publish\API\Repository\Values\User\Limitation $limitation, SectionLimitationType $limitationType )
testBuildValue ( SectionLimitationType $limitationType )
testConstruct ( ) : SectionLimitationType
testEvaluate ( eZ\Publish\API\Repository\Values\User\Limitation\SectionLimitation $limitation, eZ\Publish\API\Repository\Values\ValueObject $object, $targets, $expected )
testEvaluateInvalidArgument ( eZ\Publish\API\Repository\Values\User\Limitation $limitation, eZ\Publish\API\Repository\Values\ValueObject $object, $targets )
testGetCriterionInvalidValue ( SectionLimitationType $limitationType )
testGetCriterionMultipleValues ( SectionLimitationType $limitationType )
testGetCriterionSingleValue ( SectionLimitationType $limitationType )
testValidateError ( eZ\Publish\API\Repository\Values\User\Limitation\SectionLimitation $limitation, integer $errorCount )
testValidatePass ( eZ\Publish\API\Repository\Values\User\Limitation\SectionLimitation $limitation )
testValueSchema ( SectionLimitationType $limitationType )

Method Details

providerForTestAcceptValue() public méthode

public providerForTestAcceptValue ( ) : array
Résultat array

providerForTestAcceptValueException() public méthode

providerForTestEvaluate() public méthode

public providerForTestEvaluate ( ) : array
Résultat array

providerForTestEvaluateInvalidArgument() public méthode

providerForTestValidateError() public méthode

public providerForTestValidateError ( ) : array
Résultat array

providerForTestValidatePass() public méthode

public providerForTestValidatePass ( ) : array
Résultat array

setUp() public méthode

Setup Location Handler mock.
public setUp ( )

tearDown() public méthode

Tear down Location Handler mock.
public tearDown ( )

testAcceptValue() public méthode

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

testAcceptValueException() public méthode

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

testBuildValue() public méthode

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

testConstruct() public méthode

public testConstruct ( ) : SectionLimitationType
Résultat eZ\Publish\Core\Limitation\SectionLimitationType

testEvaluate() public méthode

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

testEvaluateInvalidArgument() public méthode

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

testGetCriterionInvalidValue() public méthode

public testGetCriterionInvalidValue ( SectionLimitationType $limitationType )
$limitationType eZ\Publish\Core\Limitation\SectionLimitationType

testGetCriterionMultipleValues() public méthode

public testGetCriterionMultipleValues ( SectionLimitationType $limitationType )
$limitationType eZ\Publish\Core\Limitation\SectionLimitationType

testGetCriterionSingleValue() public méthode

public testGetCriterionSingleValue ( SectionLimitationType $limitationType )
$limitationType eZ\Publish\Core\Limitation\SectionLimitationType

testValidateError() public méthode

public testValidateError ( eZ\Publish\API\Repository\Values\User\Limitation\SectionLimitation $limitation, integer $errorCount )
$limitation eZ\Publish\API\Repository\Values\User\Limitation\SectionLimitation
$errorCount integer

testValidatePass() public méthode

public testValidatePass ( eZ\Publish\API\Repository\Values\User\Limitation\SectionLimitation $limitation )
$limitation eZ\Publish\API\Repository\Values\User\Limitation\SectionLimitation

testValueSchema() public méthode

public testValueSchema ( SectionLimitationType $limitationType )
$limitationType eZ\Publish\Core\Limitation\SectionLimitationType