PHP 클래스 eZ\Publish\Core\Repository\Tests\Service\Integration\UrlWildcardTest

상속: extends eZ\Publish\Core\Repository\Tests\Service\Mock\Base
파일 보기 프로젝트 열기: ezsystems/ezpublish-kernel

공개 메소드들

메소드 설명
providerForTestCreate ( )
providerForTestCreateThrowsContentValidationException ( )
providerForTestTranslate ( ) : array
providerForTestTranslateThrowsNotFoundException ( ) : array
testConstructor ( ) Test for the __construct() method.
testCreate ( $sourceUrl, $destinationUrl, $forward ) Test for the create() method.
testCreateThrowsContentValidationException ( $sourceUrl, $destinationUrl, $forward ) Test for the create() method.
testCreateThrowsInvalidArgumentException ( ) Test for the create() method.
testCreateThrowsUnauthorizedException ( ) Test for the create() method.
testCreateWithRollback ( ) Test for the create() method.
testLoad ( ) Test for the load() method.
testLoadAll ( ) Test for the loadAll() method.
testLoadAllWithLimitAndOffset ( ) Test for the loadAll() method.
testLoadThrowsException ( ) Test for the load() method.
testRemove ( ) Test for the remove() method.
testRemoveThrowsUnauthorizedException ( ) Test for the remove() method.
testRemoveWithRollback ( ) Test for the remove() method.
testTranslate ( $createArray, $url, $uri ) Test for the translate() method.
testTranslateThrowsNotFoundException ( $createArray, $url ) Test for the translate() method.
testTranslateUsesLongestMatchingWildcard ( ) Test for the translate() method.

보호된 메소드들

메소드 설명
getPartlyMockedURLWildcardService ( array $methods = null ) : URLWildcardService | PHPUnit_Framework_MockObject_MockObject Returns the content service to test with $methods mocked.

메소드 상세

getPartlyMockedURLWildcardService() 보호된 메소드

Injected Repository comes from {@see \getRepositoryMock()} and persistence handler from {@see \getPersistenceMock()}
protected getPartlyMockedURLWildcardService ( array $methods = null ) : URLWildcardService | PHPUnit_Framework_MockObject_MockObject
$methods array
리턴 eZ\Publish\Core\Repository\URLWildcardService | PHPUnit_Framework_MockObject_MockObject

providerForTestCreate() 공개 메소드

providerForTestCreateThrowsContentValidationException() 공개 메소드

providerForTestTranslate() 공개 메소드

public providerForTestTranslate ( ) : array
리턴 array

providerForTestTranslateThrowsNotFoundException() 공개 메소드

testConstructor() 공개 메소드

Test for the __construct() method.
public testConstructor ( )

testCreate() 공개 메소드

Test for the create() method.
public testCreate ( $sourceUrl, $destinationUrl, $forward )

testCreateThrowsContentValidationException() 공개 메소드

Test for the create() method.
public testCreateThrowsContentValidationException ( $sourceUrl, $destinationUrl, $forward )

testCreateThrowsInvalidArgumentException() 공개 메소드

Test for the create() method.

testCreateThrowsUnauthorizedException() 공개 메소드

Test for the create() method.

testCreateWithRollback() 공개 메소드

Test for the create() method.

testLoad() 공개 메소드

Test for the load() method.
public testLoad ( )

testLoadAll() 공개 메소드

Test for the loadAll() method.
public testLoadAll ( )

testLoadAllWithLimitAndOffset() 공개 메소드

Test for the loadAll() method.

testLoadThrowsException() 공개 메소드

Test for the load() method.

testRemove() 공개 메소드

Test for the remove() method.
public testRemove ( )

testRemoveThrowsUnauthorizedException() 공개 메소드

Test for the remove() method.

testRemoveWithRollback() 공개 메소드

Test for the remove() method.

testTranslate() 공개 메소드

Test for the translate() method.
public testTranslate ( $createArray, $url, $uri )

testTranslateThrowsNotFoundException() 공개 메소드

Test for the translate() method.
public testTranslateThrowsNotFoundException ( $createArray, $url )

testTranslateUsesLongestMatchingWildcard() 공개 메소드

Test for the translate() method.