|
Open Journal Systems
3.3.0
|
Public Member Functions | |
| notifyExecutionResultTestsDataProvider () | |
| testNotifyExecutionResultError ($taskId, $taskName, $message) | |
| testNotifyExecutionResultSuccess ($taskId, $taskName, $message) | |
Public Member Functions inherited from PKPTestCase | |
| getActualOutput () | |
Additional Inherited Members | |
Data Fields inherited from PKPTestCase | |
| $mockedRegistryKeys = array() | |
| $registryBackup = array() | |
Protected Member Functions inherited from PKPTestCase | |
| getMockedDAOs () | |
| getMockedRegistryKeys () | |
| mockRequest ($path='index/test-page/test-op', $userId=null) | |
| setTestConfiguration ($config, $configPath='config') | |
| setUp () | |
| tearDown () | |
Tests for the ScheduledTask class.
Definition at line 20 of file ScheduledTaskHelperTest.php.
| ScheduledTaskHelperTest::notifyExecutionResultTestsDataProvider | ( | ) |
All notifyExecutionResult tests data provider.
Definition at line 81 of file ScheduledTaskHelperTest.php.
| ScheduledTaskHelperTest::testNotifyExecutionResultError | ( | $taskId, | |
| $taskName, | |||
| $message | |||
| ) |
Test ScheduledTaskHelper::notifyExecutionResult() method when the scheduled task result is false.
| $taskId | string |
| $taskName | string |
| $message | string @dataProvider notifyExecutionResultTestsDataProvider |
Definition at line 31 of file ScheduledTaskHelperTest.php.
| ScheduledTaskHelperTest::testNotifyExecutionResultSuccess | ( | $taskId, | |
| $taskName, | |||
| $message | |||
| ) |
Test ScheduledTaskHelper::notifyExecutionResult() method when the scheduled task result is true.
| $taskId | string |
| $taskName | string |
| $message | string @dataProvider notifyExecutionResultTestsDataProvider |
Definition at line 58 of file ScheduledTaskHelperTest.php.