PHP Класс Elgg\Notifications\NotificationsServiceTestCase

Наследование: extends Elgg\TestCase
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$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