1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-24 01:03:05 +02:00

[feature/system-cron] More tests for cron manager.

PHPBB3-9596
This commit is contained in:
Oleg Pudeyev
2011-01-20 08:52:09 -05:00
parent 4e689c522f
commit 1fd8d6de7f
4 changed files with 55 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
<?php
class phpbb_cron_task_testmod_simple_not_runnable extends phpbb_cron_task_base
{
public function run()
{
}
public function is_runnable()
{
return false;
}
}

View File

@@ -0,0 +1,8 @@
<?php
class phpbb_cron_task_testmod_simple_ready extends phpbb_cron_task_base
{
public function run()
{
}
}

View File

@@ -0,0 +1,13 @@
<?php
class phpbb_cron_task_testmod_simple_should_not_run extends phpbb_cron_task_base
{
public function run()
{
}
public function should_run()
{
return false;
}
}