Menu

## ActionScheduler_TimezoneHelper_Test extends ActionScheduler_UnitTestCase
in package

ActionScheduler_TimezoneHelper_Test.php : 6

Class ActionScheduler_UnitTestCase

##### Tags

group

  timezone

### Table of Contents

$existing_timezone : mixed
count() : int
  Counts the number of test cases executed by run(TestResult result).
local_timezone_offsets_provider() : mixed
local_timezone_provider() : 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_local_timezone_offsets() : mixed
  Ensure that most GMT offsets don't return UTC as the timezone.
test_local_timezone_strings() : mixed
  Ensure that the timezone string we expect works properly.

### 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 —

#### local_timezone_offsets_provider()

ActionScheduler_TimezoneHelper_Test.php : 62
`public local_timezone_offsets_provider() : mixed`

##### Return values

mixed —

#### local_timezone_provider()

ActionScheduler_TimezoneHelper_Test.php : 30
`public local_timezone_provider() : 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_local_timezone_offsets()

ActionScheduler_TimezoneHelper_Test.php : 45

Ensure that most GMT offsets don't return UTC as the timezone.

`public test_local_timezone_offsets( $gmt_offset) : mixed`

##### Parameters

$gmt_offset :

##### Tags

dataProvider

  local_timezone_offsets_provider

##### Return values

mixed —

#### test_local_timezone_strings()

ActionScheduler_TimezoneHelper_Test.php : 15

Ensure that the timezone string we expect works properly.

`public test_local_timezone_strings( $timezone_string) : mixed`

##### Parameters

$timezone_string :

##### Tags

dataProvider

  local_timezone_provider

##### Return values

mixed —

## Search results