PHP 클래스 eZ\Publish\Core\Repository\Tests\Service\Mock\UrlAliasTest

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

공개 메소드들

메소드 설명
providerForTestListAutogeneratedLocationAliasesAlwaysAvailablePath ( )
providerForTestListAutogeneratedLocationAliasesEmpty ( )
providerForTestListAutogeneratedLocationAliasesMultipleLanguagesEmpty ( )
providerForTestListAutogeneratedLocationAliasesMultipleLanguagesPath ( )
providerForTestListAutogeneratedLocationAliasesPath ( )
providerForTestListAutogeneratedLocationAliasesWithLanguageCodeAlwaysAvailableEmpty ( )
providerForTestListAutogeneratedLocationAliasesWithLanguageCodeAlwaysAvailablePath ( )
providerForTestListAutogeneratedLocationAliasesWithLanguageCodeEmpty ( )
providerForTestListAutogeneratedLocationAliasesWithLanguageCodeMultipleLanguagesEmpty ( )
providerForTestListAutogeneratedLocationAliasesWithLanguageCodeMultipleLanguagesPath ( )
providerForTestListAutogeneratedLocationAliasesWithLanguageCodePath ( )
providerForTestLookup ( )
providerForTestLookupThrowsNotFoundExceptionPath ( )
providerForTestLookupWithSharedTranslation ( )
providerForTestReverseLookup ( )
providerForTestReverseLookupAlwaysAvailablePath ( )
testConstructor ( ) Test for the __construct() method.
testCreateGlobalUrlAlias ( ) Test for the createGlobalUrlAlias() method.
testCreateGlobalUrlAliasForLocation ( ) Test for the createGlobalUrlAlias() method.
testCreateGlobalUrlAliasThrowsInvalidArgumentExceptionPath ( ) Test for the createGlobalUrlAlias() method.
testCreateGlobalUrlAliasThrowsInvalidArgumentExceptionResource ( ) Test for the createGlobalUrlAlias() method.
testCreateGlobalUrlAliasWithRollback ( ) Test for the createGlobalUrlAlias() method.
testCreateUrlAlias ( ) Test for the createUrlAlias() method.
testCreateUrlAliasThrowsInvalidArgumentException ( ) Test for the createUrlAlias() method.
testCreateUrlAliasWithRollback ( ) Test for the createUrlAlias() method.
testListAutogeneratedLocationAliasesAlwaysAvailablePath ( $spiUrlAliases, $prioritizedLanguageCodes, $paths ) Test for the listLocationAliases() method.
testListAutogeneratedLocationAliasesAlwaysAvailablePathCustomConfiguration ( $spiUrlAliases, $prioritizedLanguageCodes, $paths ) Test for the listLocationAliases() method.
testListAutogeneratedLocationAliasesEmpty ( $spiUrlAliases, $prioritizedLanguageCodes ) Test for the listLocationAliases() method.
testListAutogeneratedLocationAliasesEmptyCustomConfiguration ( $spiUrlAliases, $prioritizedLanguageCodes ) Test for the listLocationAliases() method.
testListAutogeneratedLocationAliasesMultipleLanguagesEmpty ( $spiUrlAliases, $prioritizedLanguageCodes ) Test for the listLocationAliases() method.
testListAutogeneratedLocationAliasesMultipleLanguagesEmptyCustomConfiguration ( $spiUrlAliases, $prioritizedLanguageCodes ) Test for the listLocationAliases() method.
testListAutogeneratedLocationAliasesMultipleLanguagesPath ( $spiUrlAliases, $prioritizedLanguageCodes, $paths ) Test for the listLocationAliases() method.
testListAutogeneratedLocationAliasesMultipleLanguagesPathCustomConfiguration ( $spiUrlAliases, $prioritizedLanguageCodes, $paths ) Test for the listLocationAliases() method.
testListAutogeneratedLocationAliasesPath ( $spiUrlAliases, $prioritizedLanguageCodes, $paths ) Test for the listLocationAliases() method.
testListAutogeneratedLocationAliasesPathCustomConfiguration ( $spiUrlAliases, $prioritizedLanguageCodes, $paths ) Test for the listLocationAliases() method.
testListAutogeneratedLocationAliasesWithLanguageCodeAlwaysAvailableEmpty ( $spiUrlAliases, $languageCode, $prioritizedLanguageCodes ) Test for the listLocationAliases() method.
testListAutogeneratedLocationAliasesWithLanguageCodeAlwaysAvailableEmptyCustomConfiguration ( $spiUrlAliases, $languageCode, $prioritizedLanguageCodes ) Test for the listLocationAliases() method.
testListAutogeneratedLocationAliasesWithLanguageCodeAlwaysAvailablePath ( $spiUrlAliases, $languageCode, $prioritizedLanguageCodes, $paths ) Test for the listLocationAliases() method.
testListAutogeneratedLocationAliasesWithLanguageCodeAlwaysAvailablePathCustomConfiguration ( $spiUrlAliases, $languageCode, $prioritizedLanguageCodes, $paths ) Test for the listLocationAliases() method.
testListAutogeneratedLocationAliasesWithLanguageCodeEmpty ( $spiUrlAliases, $languageCode, $prioritizedLanguageCodes ) Test for the listLocationAliases() method.
testListAutogeneratedLocationAliasesWithLanguageCodeEmptyCustomConfiguration ( $spiUrlAliases, $languageCode, $prioritizedLanguageCodes ) Test for the listLocationAliases() method.
testListAutogeneratedLocationAliasesWithLanguageCodeMultipleLanguagesEmpty ( $spiUrlAliases, $languageCode, $prioritizedLanguageCodes ) Test for the listLocationAliases() method.
testListAutogeneratedLocationAliasesWithLanguageCodeMultipleLanguagesEmptyCustomConfiguration ( $spiUrlAliases, $languageCode, $prioritizedLanguageCodes ) Test for the listLocationAliases() method.
testListAutogeneratedLocationAliasesWithLanguageCodeMultipleLanguagesPath ( $spiUrlAliases, $languageCode, $prioritizedLanguageCodes, $paths ) Test for the listLocationAliases() method.
testListAutogeneratedLocationAliasesWithLanguageCodeMultipleLanguagesPathCustomConfiguration ( $spiUrlAliases, $languageCode, $prioritizedLanguageCodes, $paths ) Test for the listLocationAliases() method.
testListAutogeneratedLocationAliasesWithLanguageCodePath ( $spiUrlAliases, $languageCode, $prioritizedLanguageCodes, $paths ) Test for the listLocationAliases() method.
testListAutogeneratedLocationAliasesWithLanguageCodePathCustomConfiguration ( $spiUrlAliases, $languageCode, $prioritizedLanguageCodes, $paths ) Test for the listLocationAliases() method.
testListGlobalAliases ( ) Test for the listGlobalAliases() method.
testListGlobalAliasesEmpty ( ) Test for the listGlobalAliases() method.
testListGlobalAliasesWithParameters ( ) Test for the listGlobalAliases() method.
testListLocationAliasesWithShowAllTranslations ( ) Test for the load() method.
testListLocationAliasesWithShowAllTranslationsCustomConfiguration ( ) Test for the load() method.
testLoad ( ) Test for the load() method.
testLoadThrowsNotFoundException ( ) Test for the load() method.
testLoadThrowsNotFoundExceptionPath ( ) Test for the load() method.
testLookup ( $prioritizedLanguageList, $showAllTranslations, $alwaysAvailable, $languageCode ) Test for the lookup() method.
testLookupThrowsNotFoundException ( ) Test for the lookup() method.
testLookupThrowsNotFoundExceptionPathNotMatchedOrNotLoadable ( $url, $prioritizedLanguageList, $languageCode ) Test for the lookup() method.
testLookupWithSharedTranslation ( $prioritizedLanguageList, $showAllTranslations, $alwaysAvailable, $languageCode ) Test for the lookup() method.
testRemoveAliases ( ) Test for the removeAliases() method.
testRemoveAliasesThrowsInvalidArgumentException ( ) Test for the removeAliases() method.
testRemoveAliasesWithRollback ( ) Test for the removeAliases() method.
testReverseLookupAlwaysAvailablePath ( $spiUrlAliases, $prioritizedLanguageCodes, $paths ) Test for the reverseLookup() method.
testReverseLookupCustomConfiguration ( ) Test for the reverseLookup() method.
testReverseLookupPath ( $spiUrlAliases, $prioritizedLanguageCodes, $paths, $reverseLookupLanguageCode ) Test for the reverseLookup() method.
testReverseLookupThrowsNotFoundException ( ) Test for the reverseLookup() method.
testReverseLookupWithShowAllTranslations ( ) Test for the reverseLookup() method.

보호된 메소드들

메소드 설명
getLocationStub ( integer $id = 42 ) : Location
getPartlyMockedURLAliasServiceService ( array $methods = null ) : URLAliasService | PHPUnit_Framework_MockObject_MockObject Returns the content service to test with $methods mocked.
getSpiUrlAlias ( )
setConfiguration ( object $urlAliasService, array $configuration )

메소드 상세

getLocationStub() 보호된 메소드

protected getLocationStub ( integer $id = 42 ) : Location
$id integer
리턴 eZ\Publish\Core\Repository\Values\Content\Location

getPartlyMockedURLAliasServiceService() 보호된 메소드

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

getSpiUrlAlias() 보호된 메소드

protected getSpiUrlAlias ( )

providerForTestListAutogeneratedLocationAliasesAlwaysAvailablePath() 공개 메소드

providerForTestListAutogeneratedLocationAliasesEmpty() 공개 메소드

providerForTestListAutogeneratedLocationAliasesMultipleLanguagesEmpty() 공개 메소드

providerForTestListAutogeneratedLocationAliasesMultipleLanguagesPath() 공개 메소드

providerForTestListAutogeneratedLocationAliasesPath() 공개 메소드

providerForTestListAutogeneratedLocationAliasesWithLanguageCodeAlwaysAvailableEmpty() 공개 메소드

providerForTestListAutogeneratedLocationAliasesWithLanguageCodeAlwaysAvailablePath() 공개 메소드

providerForTestListAutogeneratedLocationAliasesWithLanguageCodeEmpty() 공개 메소드

providerForTestListAutogeneratedLocationAliasesWithLanguageCodeMultipleLanguagesEmpty() 공개 메소드

providerForTestListAutogeneratedLocationAliasesWithLanguageCodeMultipleLanguagesPath() 공개 메소드

providerForTestListAutogeneratedLocationAliasesWithLanguageCodePath() 공개 메소드

providerForTestLookup() 공개 메소드

providerForTestLookupThrowsNotFoundExceptionPath() 공개 메소드

providerForTestLookupWithSharedTranslation() 공개 메소드

providerForTestReverseLookup() 공개 메소드

providerForTestReverseLookupAlwaysAvailablePath() 공개 메소드

setConfiguration() 보호된 메소드

protected setConfiguration ( object $urlAliasService, array $configuration )
$urlAliasService object
$configuration array

testConstructor() 공개 메소드

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

testCreateGlobalUrlAlias() 공개 메소드

Test for the createGlobalUrlAlias() method.

testCreateGlobalUrlAliasForLocation() 공개 메소드

Test for the createGlobalUrlAlias() method.

testCreateGlobalUrlAliasThrowsInvalidArgumentExceptionPath() 공개 메소드

Test for the createGlobalUrlAlias() method.

testCreateGlobalUrlAliasThrowsInvalidArgumentExceptionResource() 공개 메소드

Test for the createGlobalUrlAlias() method.

testCreateGlobalUrlAliasWithRollback() 공개 메소드

Test for the createGlobalUrlAlias() method.

testCreateUrlAlias() 공개 메소드

Test for the createUrlAlias() method.
public testCreateUrlAlias ( )

testCreateUrlAliasThrowsInvalidArgumentException() 공개 메소드

Test for the createUrlAlias() method.

testCreateUrlAliasWithRollback() 공개 메소드

Test for the createUrlAlias() method.

testListAutogeneratedLocationAliasesAlwaysAvailablePath() 공개 메소드

Test for the listLocationAliases() method.
public testListAutogeneratedLocationAliasesAlwaysAvailablePath ( $spiUrlAliases, $prioritizedLanguageCodes, $paths )

testListAutogeneratedLocationAliasesAlwaysAvailablePathCustomConfiguration() 공개 메소드

Test for the listLocationAliases() method.
public testListAutogeneratedLocationAliasesAlwaysAvailablePathCustomConfiguration ( $spiUrlAliases, $prioritizedLanguageCodes, $paths )

testListAutogeneratedLocationAliasesEmpty() 공개 메소드

Test for the listLocationAliases() method.
public testListAutogeneratedLocationAliasesEmpty ( $spiUrlAliases, $prioritizedLanguageCodes )

testListAutogeneratedLocationAliasesEmptyCustomConfiguration() 공개 메소드

Test for the listLocationAliases() method.
public testListAutogeneratedLocationAliasesEmptyCustomConfiguration ( $spiUrlAliases, $prioritizedLanguageCodes )

testListAutogeneratedLocationAliasesMultipleLanguagesEmpty() 공개 메소드

Test for the listLocationAliases() method.
public testListAutogeneratedLocationAliasesMultipleLanguagesEmpty ( $spiUrlAliases, $prioritizedLanguageCodes )

testListAutogeneratedLocationAliasesMultipleLanguagesEmptyCustomConfiguration() 공개 메소드

Test for the listLocationAliases() method.
public testListAutogeneratedLocationAliasesMultipleLanguagesEmptyCustomConfiguration ( $spiUrlAliases, $prioritizedLanguageCodes )

testListAutogeneratedLocationAliasesMultipleLanguagesPath() 공개 메소드

Test for the listLocationAliases() method.
public testListAutogeneratedLocationAliasesMultipleLanguagesPath ( $spiUrlAliases, $prioritizedLanguageCodes, $paths )

testListAutogeneratedLocationAliasesMultipleLanguagesPathCustomConfiguration() 공개 메소드

Test for the listLocationAliases() method.
public testListAutogeneratedLocationAliasesMultipleLanguagesPathCustomConfiguration ( $spiUrlAliases, $prioritizedLanguageCodes, $paths )

testListAutogeneratedLocationAliasesPath() 공개 메소드

Test for the listLocationAliases() method.
public testListAutogeneratedLocationAliasesPath ( $spiUrlAliases, $prioritizedLanguageCodes, $paths )

testListAutogeneratedLocationAliasesPathCustomConfiguration() 공개 메소드

Test for the listLocationAliases() method.
public testListAutogeneratedLocationAliasesPathCustomConfiguration ( $spiUrlAliases, $prioritizedLanguageCodes, $paths )

testListAutogeneratedLocationAliasesWithLanguageCodeAlwaysAvailableEmpty() 공개 메소드

Test for the listLocationAliases() method.
public testListAutogeneratedLocationAliasesWithLanguageCodeAlwaysAvailableEmpty ( $spiUrlAliases, $languageCode, $prioritizedLanguageCodes )

testListAutogeneratedLocationAliasesWithLanguageCodeAlwaysAvailableEmptyCustomConfiguration() 공개 메소드

Test for the listLocationAliases() method.
public testListAutogeneratedLocationAliasesWithLanguageCodeAlwaysAvailableEmptyCustomConfiguration ( $spiUrlAliases, $languageCode, $prioritizedLanguageCodes )

testListAutogeneratedLocationAliasesWithLanguageCodeAlwaysAvailablePath() 공개 메소드

Test for the listLocationAliases() method.
public testListAutogeneratedLocationAliasesWithLanguageCodeAlwaysAvailablePath ( $spiUrlAliases, $languageCode, $prioritizedLanguageCodes, $paths )

testListAutogeneratedLocationAliasesWithLanguageCodeAlwaysAvailablePathCustomConfiguration() 공개 메소드

Test for the listLocationAliases() method.
public testListAutogeneratedLocationAliasesWithLanguageCodeAlwaysAvailablePathCustomConfiguration ( $spiUrlAliases, $languageCode, $prioritizedLanguageCodes, $paths )

testListAutogeneratedLocationAliasesWithLanguageCodeEmpty() 공개 메소드

Test for the listLocationAliases() method.
public testListAutogeneratedLocationAliasesWithLanguageCodeEmpty ( $spiUrlAliases, $languageCode, $prioritizedLanguageCodes )

testListAutogeneratedLocationAliasesWithLanguageCodeEmptyCustomConfiguration() 공개 메소드

Test for the listLocationAliases() method.
public testListAutogeneratedLocationAliasesWithLanguageCodeEmptyCustomConfiguration ( $spiUrlAliases, $languageCode, $prioritizedLanguageCodes )

testListAutogeneratedLocationAliasesWithLanguageCodeMultipleLanguagesEmpty() 공개 메소드

Test for the listLocationAliases() method.
public testListAutogeneratedLocationAliasesWithLanguageCodeMultipleLanguagesEmpty ( $spiUrlAliases, $languageCode, $prioritizedLanguageCodes )

testListAutogeneratedLocationAliasesWithLanguageCodeMultipleLanguagesEmptyCustomConfiguration() 공개 메소드

Test for the listLocationAliases() method.
public testListAutogeneratedLocationAliasesWithLanguageCodeMultipleLanguagesEmptyCustomConfiguration ( $spiUrlAliases, $languageCode, $prioritizedLanguageCodes )

testListAutogeneratedLocationAliasesWithLanguageCodeMultipleLanguagesPath() 공개 메소드

Test for the listLocationAliases() method.
public testListAutogeneratedLocationAliasesWithLanguageCodeMultipleLanguagesPath ( $spiUrlAliases, $languageCode, $prioritizedLanguageCodes, $paths )

testListAutogeneratedLocationAliasesWithLanguageCodeMultipleLanguagesPathCustomConfiguration() 공개 메소드

Test for the listLocationAliases() method.
public testListAutogeneratedLocationAliasesWithLanguageCodeMultipleLanguagesPathCustomConfiguration ( $spiUrlAliases, $languageCode, $prioritizedLanguageCodes, $paths )

testListAutogeneratedLocationAliasesWithLanguageCodePath() 공개 메소드

Test for the listLocationAliases() method.
public testListAutogeneratedLocationAliasesWithLanguageCodePath ( $spiUrlAliases, $languageCode, $prioritizedLanguageCodes, $paths )

testListAutogeneratedLocationAliasesWithLanguageCodePathCustomConfiguration() 공개 메소드

Test for the listLocationAliases() method.
public testListAutogeneratedLocationAliasesWithLanguageCodePathCustomConfiguration ( $spiUrlAliases, $languageCode, $prioritizedLanguageCodes, $paths )

testListGlobalAliases() 공개 메소드

Test for the listGlobalAliases() method.

testListGlobalAliasesEmpty() 공개 메소드

Test for the listGlobalAliases() method.

testListGlobalAliasesWithParameters() 공개 메소드

Test for the listGlobalAliases() method.

testListLocationAliasesWithShowAllTranslations() 공개 메소드

Test for the load() method.

testListLocationAliasesWithShowAllTranslationsCustomConfiguration() 공개 메소드

Test for the load() method.

testLoad() 공개 메소드

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

testLoadThrowsNotFoundException() 공개 메소드

Test for the load() method.

testLoadThrowsNotFoundExceptionPath() 공개 메소드

Test for the load() method.

testLookup() 공개 메소드

Test for the lookup() method.
public testLookup ( $prioritizedLanguageList, $showAllTranslations, $alwaysAvailable, $languageCode )

testLookupThrowsNotFoundException() 공개 메소드

Test for the lookup() method.

testLookupThrowsNotFoundExceptionPathNotMatchedOrNotLoadable() 공개 메소드

Test for the lookup() method.
public testLookupThrowsNotFoundExceptionPathNotMatchedOrNotLoadable ( $url, $prioritizedLanguageList, $languageCode )

testLookupWithSharedTranslation() 공개 메소드

Test for the lookup() method.
public testLookupWithSharedTranslation ( $prioritizedLanguageList, $showAllTranslations, $alwaysAvailable, $languageCode )

testRemoveAliases() 공개 메소드

Test for the removeAliases() method.
public testRemoveAliases ( )

testRemoveAliasesThrowsInvalidArgumentException() 공개 메소드

Test for the removeAliases() method.

testRemoveAliasesWithRollback() 공개 메소드

Test for the removeAliases() method.

testReverseLookupAlwaysAvailablePath() 공개 메소드

Test for the reverseLookup() method.
public testReverseLookupAlwaysAvailablePath ( $spiUrlAliases, $prioritizedLanguageCodes, $paths )

testReverseLookupCustomConfiguration() 공개 메소드

Test for the reverseLookup() method.

testReverseLookupPath() 공개 메소드

Test for the reverseLookup() method.
public testReverseLookupPath ( $spiUrlAliases, $prioritizedLanguageCodes, $paths, $reverseLookupLanguageCode )

testReverseLookupThrowsNotFoundException() 공개 메소드

Test for the reverseLookup() method.

testReverseLookupWithShowAllTranslations() 공개 메소드

Test for the reverseLookup() method.