Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
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 ()
 
- Protected Member Functions inherited from PKPTestCase
 getMockedDAOs ()
 
 getMockedRegistryKeys ()
 
 mockRequest ($path= 'index/test-page/test-op', $userId=null)
 
 setTestConfiguration ($config, $configPath= 'config')
 
 setUp ()
 
 tearDown ()
 

Detailed Description

Tests for the PKPNotificationManager class.

See Also
Config

Definition at line 24 of file PKPNotificationManagerTest.php.

Member Function Documentation

PKPNotificationManagerTest::getMockedDAOs ( )
protected
PKPNotificationManagerTest::testCreateNotification (   $notification,
  $notificationParams = array() 
)
See Also
PKPNotificationManager::createNotification trivialNotificationDataProvider

Definition at line 46 of file PKPNotificationManagerTest.php.

PKPNotificationManagerTest::testCreateNotificationBlocked ( )
See Also
PKPNotificationManager::createNotification

Definition at line 62 of file PKPNotificationManagerTest.php.

PKPNotificationManagerTest::testCreateNotificationEmailed (   $notification,
  $notificationParams = array() 
)
See Also
PKPNotificationManager::createNotification trivialNotificationDataProvider

Definition at line 77 of file PKPNotificationManagerTest.php.

PKPNotificationManagerTest::testCreateNotificationTrivialNotEmailed ( )
See Also
PKPNotificationManager::createNotification

Definition at line 104 of file PKPNotificationManagerTest.php.

PKPNotificationManagerTest::testCreateTrivialNotification (   $notification,
  $notificationParams = array() 
)
See Also
PKPNotificationManager::createTrivialNotification trivialNotificationDataProvider

Definition at line 126 of file PKPNotificationManagerTest.php.

PKPNotificationManagerTest::testGetNotificationMessage ( )
See Also
PKPNotificationManager::getNotificationMessage

Definition at line 31 of file PKPNotificationManagerTest.php.

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 149 of file PKPNotificationManagerTest.php.


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