PHP 클래스 eZ\Publish\Core\Limitation\Tests\ContentTypeLimitationTypeTest

상속: extends Base
파일 보기 프로젝트 열기: ezsystems/ezpublish-kernel

공개 메소드들

메소드 설명
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\ContentTypeLimitation $limitation, ContentTypeLimitationType $limitationType )
testAcceptValueException ( eZ\Publish\API\Repository\Values\User\Limitation $limitation, ContentTypeLimitationType $limitationType )
testBuildValue ( ContentTypeLimitationType $limitationType )
testConstruct ( ) : ContentTypeLimitationType
testEvaluate ( eZ\Publish\API\Repository\Values\User\Limitation\ContentTypeLimitation $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 )
testGetCriterionInvalidValue ( ContentTypeLimitationType $limitationType )
testGetCriterionMultipleValues ( ContentTypeLimitationType $limitationType )
testGetCriterionSingleValue ( ContentTypeLimitationType $limitationType )
testValidateError ( eZ\Publish\API\Repository\Values\User\Limitation\ContentTypeLimitation $limitation, integer $errorCount )
testValidatePass ( eZ\Publish\API\Repository\Values\User\Limitation\ContentTypeLimitation $limitation )
testValueSchema ( ContentTypeLimitationType $limitationType )

메소드 상세

providerForTestAcceptValue() 공개 메소드

public providerForTestAcceptValue ( ) : array
리턴 array

providerForTestAcceptValueException() 공개 메소드

providerForTestEvaluate() 공개 메소드

public providerForTestEvaluate ( ) : array
리턴 array

providerForTestEvaluateInvalidArgument() 공개 메소드

providerForTestValidateError() 공개 메소드

providerForTestValidatePass() 공개 메소드

setUp() 공개 메소드

Setup Location Handler mock.
public setUp ( )

tearDown() 공개 메소드

Tear down Location Handler mock.
public tearDown ( )

testAcceptValue() 공개 메소드

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

testAcceptValueException() 공개 메소드

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

testBuildValue() 공개 메소드

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

testConstruct() 공개 메소드

public testConstruct ( ) : ContentTypeLimitationType
리턴 eZ\Publish\Core\Limitation\ContentTypeLimitationType

testEvaluate() 공개 메소드

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

testEvaluateInvalidArgument() 공개 메소드

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

testGetCriterionInvalidValue() 공개 메소드

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

testGetCriterionMultipleValues() 공개 메소드

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

testGetCriterionSingleValue() 공개 메소드

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

testValidateError() 공개 메소드

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

testValidatePass() 공개 메소드

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

testValueSchema() 공개 메소드

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