PHP 클래스 Elgg\EntityIconServiceTest

상속: extends TestCase
파일 보기 프로젝트 열기: elgg/elgg

공개 메소드들

메소드 설명
getCoverSizes ( )
getIconSizesForSubtype ( $hook, $type, $sizes, $params )
getTestSizes ( )
iconDimensionsProvider ( )
setUp ( )
tearDown ( )
testCanCleanUpOnFailure ( )
testCanDeleteIcon ( )
testCanDeleteIconsWithAHookHandler ( )
testCanFilterIconSizesForEntityTypeSubtypePair ( )
testCanHandleServeIconRequest ( )
testCanListenToIconsSavedHook ( )
testCanPrepareInputFile ( )
testCanReplaceDefaultIconURL ( )
testCanReplaceIconFile ( )
testCanResolveDefaultIconURL ( )
testCanSaveIconFromElggFile ( )
testCanSaveIconFromLocalFile ( )
testCanSaveIconFromUploadedFile ( )
testCanSaveIconWithCroppingCoordinates ( )
testCanSaveIconsWithAHookHandler ( )
testCanSetSizesForCustomIconType ( )
testEmptySizeConfigSavesUnmodifiedVersion ( )
testGetDefaultIconFile ( )
testGetDefaultSizes ( )
testHasNoDefaultIcon ( )
testIconDimensionsAfterResize ( $sw, $sh, $size, $ew, $eh, $crop, $cw = null, $ch = null )
testIconLastChangedTime ( )
testIconURLInvalidatedOnAccessIdChange ( )
testServeIconSends400ForMalformattedRequest ( )
testServeIconSends404ForNonExistentGuid ( )
testThrowsExceptionIfLocalFileIsNotReadable ( )
testThrowsExceptionOnElggIconSave ( )
testThrowsExceptionOnInvalidHookHandlerReturnForIconFile ( )
testThrowsExceptionOnSaveIconFromNonExistentElggFile ( )

보호된 메소드들

메소드 설명
createService ( )

메소드 상세

createService() 보호된 메소드

protected createService ( )

getCoverSizes() 공개 정적인 메소드

public static getCoverSizes ( )

getIconSizesForSubtype() 공개 정적인 메소드

public static getIconSizesForSubtype ( $hook, $type, $sizes, $params )

getTestSizes() 공개 정적인 메소드

public static getTestSizes ( )

iconDimensionsProvider() 공개 메소드

setUp() 공개 메소드

public setUp ( )

tearDown() 공개 메소드

public tearDown ( )

testCanCleanUpOnFailure() 공개 메소드

testCanDeleteIcon() 공개 메소드

public testCanDeleteIcon ( )

testCanDeleteIconsWithAHookHandler() 공개 메소드

testCanFilterIconSizesForEntityTypeSubtypePair() 공개 메소드

testCanHandleServeIconRequest() 공개 메소드

testCanListenToIconsSavedHook() 공개 메소드

testCanPrepareInputFile() 공개 메소드

testCanReplaceDefaultIconURL() 공개 메소드

testCanReplaceIconFile() 공개 메소드

testCanResolveDefaultIconURL() 공개 메소드

testCanSaveIconFromElggFile() 공개 메소드

testCanSaveIconFromLocalFile() 공개 메소드

testCanSaveIconFromUploadedFile() 공개 메소드

testCanSaveIconWithCroppingCoordinates() 공개 메소드

testCanSaveIconsWithAHookHandler() 공개 메소드

testCanSetSizesForCustomIconType() 공개 메소드

testEmptySizeConfigSavesUnmodifiedVersion() 공개 메소드

testGetDefaultIconFile() 공개 메소드

testGetDefaultSizes() 공개 메소드

public testGetDefaultSizes ( )

testHasNoDefaultIcon() 공개 메소드

testIconDimensionsAfterResize() 공개 메소드

public testIconDimensionsAfterResize ( $sw, $sh, $size, $ew, $eh, $crop, $cw = null, $ch = null )

testIconLastChangedTime() 공개 메소드

testIconURLInvalidatedOnAccessIdChange() 공개 메소드

testServeIconSends400ForMalformattedRequest() 공개 메소드

testServeIconSends404ForNonExistentGuid() 공개 메소드

testThrowsExceptionIfLocalFileIsNotReadable() 공개 메소드

testThrowsExceptionOnElggIconSave() 공개 메소드

testThrowsExceptionOnInvalidHookHandlerReturnForIconFile() 공개 메소드

testThrowsExceptionOnSaveIconFromNonExistentElggFile() 공개 메소드