Menu

## procedural_api_Test extends ActionScheduler_UnitTestCase
in package

procedural_api_Test.php : 6

Class procedural_api_Test

### Table of Contents

$existing_timezone : mixed
count() : int
  Counts the number of test cases executed by run(TestResult result).
provider_time_hook_args_group() : mixed
run() : mixed
  We want to run every test multiple times using a different timezone to make sure that they are unaffected by changes to PHP's timezone.
test_as_get_datetime_object_default() : mixed
test_as_get_datetime_object_fixed() : mixed
test_as_get_datetime_object_relative() : mixed
test_as_get_datetime_object_timezone() : mixed
test_as_get_datetime_object_type() : mixed
test_cron_schedule() : mixed
test_get_next() : mixed
test_recurring_action() : mixed
test_schedule_action() : mixed
test_unschedule() : mixed
test_unschedule_all() : mixed

### Properties

#### $existing_timezone

ActionScheduler_UnitTestCase.php : 8
`protected mixed $existing_timezone`

### Methods

#### count()

ActionScheduler_UnitTestCase.php : 15

Counts the number of test cases executed by run(TestResult result).

`public count() : int`

##### Return values

int —

#### provider_time_hook_args_group()

procedural_api_Test.php : 53
`public provider_time_hook_args_group() : mixed`

##### Return values

mixed —

#### run()

ActionScheduler_UnitTestCase.php : 23

We want to run every test multiple times using a different timezone to make sure that they are unaffected by changes to PHP's timezone.

`public run([PHPUnit_Framework_TestResult $result = NULL ]) : mixed`

##### Parameters

$result : PHPUnit_Framework_TestResult = NULL

##### Return values

mixed —

#### test_as_get_datetime_object_default()

procedural_api_Test.php : 150
`public test_as_get_datetime_object_default() : mixed`

##### Return values

mixed —

#### test_as_get_datetime_object_fixed()

procedural_api_Test.php : 172
`public test_as_get_datetime_object_fixed() : mixed`

##### Return values

mixed —

#### test_as_get_datetime_object_relative()

procedural_api_Test.php : 159
`public test_as_get_datetime_object_relative() : mixed`

##### Return values

mixed —

#### test_as_get_datetime_object_timezone()

procedural_api_Test.php : 185
`public test_as_get_datetime_object_timezone() : mixed`

##### Return values

mixed —

#### test_as_get_datetime_object_type()

procedural_api_Test.php : 213
`public test_as_get_datetime_object_type() : mixed`

##### Return values

mixed —

#### test_cron_schedule()

procedural_api_Test.php : 31
`public test_cron_schedule() : mixed`

##### Return values

mixed —

#### test_get_next()

procedural_api_Test.php : 43
`public test_get_next() : mixed`

##### Return values

mixed —

#### test_recurring_action()

procedural_api_Test.php : 19
`public test_recurring_action() : mixed`

##### Return values

mixed —

#### test_schedule_action()

procedural_api_Test.php : 8
`public test_schedule_action() : mixed`

##### Return values

mixed —

#### test_unschedule()

procedural_api_Test.php : 98
`public test_unschedule(mixed $time, mixed $hook, mixed $args, mixed $group) : mixed`

##### Parameters

$time : mixed
$hook : mixed
$args : mixed
$group : mixed

##### Tags

dataProvider

  provider_time_hook_args_group

##### Return values

mixed —

#### test_unschedule_all()

procedural_api_Test.php : 126
`public test_unschedule_all(mixed $time, mixed $hook, mixed $args, mixed $group) : mixed`

##### Parameters

$time : mixed
$hook : mixed
$args : mixed
$group : mixed

##### Tags

dataProvider

  provider_time_hook_args_group

##### Return values

mixed —

## Search results