PHP 클래스 Elgg\Notifications\NotificationsServiceTestCase

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

보호된 프로퍼티들

프로퍼티 타입 설명
$actor ElggUser
$events Elgg\EventsService
$hooks Elgg\PluginHooksService
$logger Elgg\Logger
$notifications NotificationsService
$queue Elgg\Queue\MemoryQueue
$session ElggSession
$subscriptions SubscriptionsService
$test_object_class string
$time integer

공개 메소드들

메소드 설명
getTestObject ( )
prepareTestObjects ( )
setUp ( )
setupServices ( )
tearDown ( )
testCanAlterSubscriptionNotificationTranslations ( )
testCanNotifyUser ( )
testCanNotifyUserViaCustomMethods ( )
testCanNotifyUserWithoutAnObject ( )
testCanPrepareSubscriptionNotification ( )
testCanProcessSubscriptionNotificationsQueue ( )
testCanUseEnqueueHookToPreventSubscriptionNotificationEventFromQueueing ( )
testCanUseHooksBeforeAndAfterInstantNotificationsQueue ( )
testCanUseHooksBeforeAndAfterSubscriptionNotificationsQueue ( )
testEnqueueEvent ( )
testProcessQueueNoEvents ( )
testProcessQueueThreeEvents ( )
testProcessQueueTimesout ( )
testRegisterEvent ( )
testRegisterMethod ( )
testStoppingEnqueueEvent ( )
testUnregisterEvent ( )
testUnregisterMethod ( )
testValidatesActorExistenceForDequeuedSubscriptionNotificationEvent ( )
testValidatesObjectExistenceForDequeuedSubscriptionNotificationEvent ( )

메소드 상세

getTestObject() 공개 메소드

public getTestObject ( )

prepareTestObjects() 공개 메소드

public prepareTestObjects ( )

setUp() 공개 메소드

public setUp ( )

setupServices() 공개 메소드

public setupServices ( )

tearDown() 공개 메소드

public tearDown ( )

testCanAlterSubscriptionNotificationTranslations() 공개 메소드

testCanNotifyUser() 공개 메소드

public testCanNotifyUser ( )

testCanNotifyUserViaCustomMethods() 공개 메소드

testCanNotifyUserWithoutAnObject() 공개 메소드

testCanPrepareSubscriptionNotification() 공개 메소드

testCanProcessSubscriptionNotificationsQueue() 공개 메소드

testCanUseEnqueueHookToPreventSubscriptionNotificationEventFromQueueing() 공개 메소드

testCanUseHooksBeforeAndAfterInstantNotificationsQueue() 공개 메소드

testCanUseHooksBeforeAndAfterSubscriptionNotificationsQueue() 공개 메소드

testEnqueueEvent() 공개 메소드

public testEnqueueEvent ( )

testProcessQueueNoEvents() 공개 메소드

testProcessQueueThreeEvents() 공개 메소드

testProcessQueueTimesout() 공개 메소드

testRegisterEvent() 공개 메소드

public testRegisterEvent ( )

testRegisterMethod() 공개 메소드

public testRegisterMethod ( )

testStoppingEnqueueEvent() 공개 메소드

testUnregisterEvent() 공개 메소드

public testUnregisterEvent ( )

testUnregisterMethod() 공개 메소드

testValidatesActorExistenceForDequeuedSubscriptionNotificationEvent() 공개 메소드

testValidatesObjectExistenceForDequeuedSubscriptionNotificationEvent() 공개 메소드

프로퍼티 상세

$actor 보호되어 있는 프로퍼티

protected ElggUser $actor
리턴 ElggUser

$events 보호되어 있는 프로퍼티

protected EventsService,Elgg $events
리턴 Elgg\EventsService

$hooks 보호되어 있는 프로퍼티

protected PluginHooksService,Elgg $hooks
리턴 Elgg\PluginHooksService

$logger 보호되어 있는 프로퍼티

protected Logger,Elgg $logger
리턴 Elgg\Logger

$notifications 보호되어 있는 프로퍼티

protected NotificationsService,Elgg\Notifications $notifications
리턴 NotificationsService

$queue 보호되어 있는 프로퍼티

protected MemoryQueue,Elgg\Queue $queue
리턴 Elgg\Queue\MemoryQueue

$session 보호되어 있는 프로퍼티

protected ElggSession $session
리턴 ElggSession

$subscriptions 보호되어 있는 프로퍼티

protected SubscriptionsService,Elgg\Notifications $subscriptions
리턴 SubscriptionsService

$test_object_class 보호되어 있는 프로퍼티

protected string $test_object_class
리턴 string

$time 보호되어 있는 프로퍼티

protected int $time
리턴 integer