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

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 Handler mock.
tearDown ( ) Tear down Handler mock.
testAcceptValue ( eZ\Publish\API\Repository\Values\User\Limitation\NewObjectStateLimitation $limitation, NewObjectStateLimitationType $limitationType )
testAcceptValueException ( eZ\Publish\API\Repository\Values\User\Limitation $limitation, NewObjectStateLimitationType $limitationType )
testBuildValue ( NewObjectStateLimitationType $limitationType )
testConstruct ( ) : NewObjectStateLimitationType
testEvaluate ( eZ\Publish\API\Repository\Values\User\Limitation\NewObjectStateLimitation $limitation, eZ\Publish\API\Repository\Values\ValueObject $object, array $targets, $expected )
testEvaluateInvalidArgument ( eZ\Publish\API\Repository\Values\User\Limitation $limitation, eZ\Publish\API\Repository\Values\ValueObject $object, array $targets )
testGetCriterion ( NewObjectStateLimitationType $limitationType )
testValidateError ( eZ\Publish\API\Repository\Values\User\Limitation\NewObjectStateLimitation $limitation, integer $errorCount )
testValidatePass ( eZ\Publish\API\Repository\Values\User\Limitation\NewObjectStateLimitation $limitation )
testValueSchema ( NewObjectStateLimitationType $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 Handler mock.
public setUp ( )

tearDown() public méthode

Tear down Handler mock.
public tearDown ( )

testAcceptValue() public méthode

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

testAcceptValueException() public méthode

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

testBuildValue() public méthode

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

testConstruct() public méthode

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

testEvaluate() public méthode

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

testEvaluateInvalidArgument() public méthode

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

testGetCriterion() public méthode

public testGetCriterion ( NewObjectStateLimitationType $limitationType )
$limitationType eZ\Publish\Core\Limitation\NewObjectStateLimitationType

testValidateError() public méthode

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

testValidatePass() public méthode

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

testValueSchema() public méthode

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