Differences Between: [Versions 311 and 403] [Versions 400 and 403]
(no description)
File Size: | 242 lines (9 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 1 file lib/tests/fixtures/task_fixtures.php |
manager_test:: (2 methods):
get_candidate_adhoc_tasks_provider()
test_get_candidate_adhoc_tasks()
Class: manager_test - X-Ref
This file contains the unit tests for the task manager.get_candidate_adhoc_tasks_provider() X-Ref |
Data provider for test_get_candidate_adhoc_tasks. return: array |
test_get_candidate_adhoc_tasks(int $concurrencylimit,int $limit,array $pertasklimits,array $tasks,array $expected) X-Ref |
Test that the candidate adhoc tasks are returned in the right order. param: int $concurrencylimit The max number of runners each task can consume param: int $limit SQL limit param: array $pertasklimits Per-task limits param: array $tasks Array of tasks to put in DB and retrieve param: array $expected Array of expected classnames return: void |