Open Journal Systems  3.3.0
PKPNotificationManagerTest Class Reference
Inheritance diagram for PKPNotificationManagerTest:
PKPTestCase

Public Member Functions

 testCreateNotification ($notification, $notificationParams=array())
 
 testCreateNotificationBlocked ()
 
 testCreateNotificationEmailed ($notification, $notificationParams=array())
 
 testCreateNotificationTrivialNotEmailed ()
 
 testCreateTrivialNotification ($notification, $notificationParams=array())
 
 testGetNotificationMessage ()
 
 trivialNotificationDataProvider ()
 
- Public Member Functions inherited from PKPTestCase
 getActualOutput ()
 

Protected Member Functions

 getMockedDAOs ()
 
 setUp ()
 
- Protected Member Functions inherited from PKPTestCase
 getMockedRegistryKeys ()
 
 mockRequest ($path='index/test-page/test-op', $userId=null)
 
 setTestConfiguration ($config, $configPath='config')
 
 tearDown ()
 

Additional Inherited Members

- Data Fields inherited from PKPTestCase
 $mockedRegistryKeys = array()
 
 $registryBackup = array()
 

Detailed Description

Tests for the PKPNotificationManager class.

See also
Config

Definition at line 24 of file PKPNotificationManagerTest.php.

Member Function Documentation

◆ getMockedDAOs()

PKPNotificationManagerTest::getMockedDAOs ( )
protected
See also
PKPTestCase::getMockedDAOs()

Reimplemented from PKPTestCase.

Definition at line 165 of file PKPNotificationManagerTest.php.

◆ setUp()

PKPNotificationManagerTest::setUp ( )
protected

Reimplemented from PKPTestCase.

Definition at line 169 of file PKPNotificationManagerTest.php.

◆ testCreateNotification()

PKPNotificationManagerTest::testCreateNotification (   $notification,
  $notificationParams = array() 
)

◆ testCreateNotificationBlocked()

PKPNotificationManagerTest::testCreateNotificationBlocked ( )

◆ testCreateNotificationEmailed()

PKPNotificationManagerTest::testCreateNotificationEmailed (   $notification,
  $notificationParams = array() 
)

◆ testCreateNotificationTrivialNotEmailed()

PKPNotificationManagerTest::testCreateNotificationTrivialNotEmailed ( )

◆ testCreateTrivialNotification()

PKPNotificationManagerTest::testCreateTrivialNotification (   $notification,
  $notificationParams = array() 
)

◆ testGetNotificationMessage()

PKPNotificationManagerTest::testGetNotificationMessage ( )

◆ trivialNotificationDataProvider()

PKPNotificationManagerTest::trivialNotificationDataProvider ( )

Provides data to be used by tests that expects two cases: 1 - a trivial notification 2 - a trivial notification and its parameters.

Returns
array

Definition at line 148 of file PKPNotificationManagerTest.php.


The documentation for this class was generated from the following file: