[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/lib/tests/ -> scheduled_task_test.php (summary)

This file contains the unittests for scheduled tasks.

Copyright: 2013 Damyon Wiese
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 470 lines (20 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 1 file
 lib/tests/fixtures/task_fixtures.php

Defines 1 class

core_scheduled_task_testcase:: (9 methods):
  test_eval_cron_field()
  test_get_next_scheduled_time()
  test_timezones()
  test_reset_scheduled_tasks_for_component()
  test_reset_scheduled_tasks_for_component_delete()
  test_get_next_scheduled_task()
  test_get_broken_scheduled_task()
  test_random_time_specification()
  test_file_temp_cleanup_task()


Class: core_scheduled_task_testcase  - X-Ref

Test class for scheduled task.

test_eval_cron_field()   X-Ref
Test the cron scheduling method


test_get_next_scheduled_time()   X-Ref
No description

test_timezones()   X-Ref
No description

test_reset_scheduled_tasks_for_component()   X-Ref
No description

test_reset_scheduled_tasks_for_component_delete()   X-Ref
Tests that the reset function deletes old tasks.


test_get_next_scheduled_task()   X-Ref
No description

test_get_broken_scheduled_task()   X-Ref
No description

test_random_time_specification()   X-Ref
Tests the use of 'R' syntax in time fields of tasks to get
tasks be configured with a non-uniform time.


test_file_temp_cleanup_task()   X-Ref
Test that the file_temp_cleanup_task removes directories and
files as expected.




Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1