Documentation

ActionScheduler_TimezoneHelper_Test extends ActionScheduler_UnitTestCase
in package

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

Methods

run()

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()

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()

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