ActionScheduler_wpCommentLogger_Test
extends ActionScheduler_UnitTestCase
in package
Class ActionScheduler_wpCommentLogger_Test
Table of Contents
- $existing_timezone : mixed
- _a_hook_callback_that_throws_an_exception() : mixed
- count() : int
- Counts the number of test cases executed by run(TestResult result).
- 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_add_log_datetime() : mixed
- test_add_log_entry() : mixed
- test_canceled_action_comments() : mixed
- test_default_logger() : mixed
- test_erroneous_entry_id() : mixed
- test_execution_comments() : mixed
- test_failed_execution_comments() : mixed
- test_fatal_error_comments() : mixed
- test_filtering_of_get_comments() : mixed
- test_null_log_entry() : mixed
- test_storage_comments() : mixed
- log_entry_to_array() : mixed
Properties
$existing_timezone
protected
mixed
$existing_timezone
Methods
_a_hook_callback_that_throws_an_exception()
public
_a_hook_callback_that_throws_an_exception() : mixed
Return values
mixed —count()
Counts the number of test cases executed by run(TestResult result).
public
count() : int
Return values
int —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_add_log_datetime()
public
test_add_log_datetime() : mixed
Return values
mixed —test_add_log_entry()
public
test_add_log_entry() : mixed
Return values
mixed —test_canceled_action_comments()
public
test_canceled_action_comments() : mixed
Return values
mixed —test_default_logger()
public
test_default_logger() : mixed
Return values
mixed —test_erroneous_entry_id()
public
test_erroneous_entry_id() : mixed
Return values
mixed —test_execution_comments()
public
test_execution_comments() : mixed
Return values
mixed —test_failed_execution_comments()
public
test_failed_execution_comments() : mixed
Return values
mixed —test_fatal_error_comments()
public
test_fatal_error_comments() : mixed
Return values
mixed —test_filtering_of_get_comments()
public
test_filtering_of_get_comments() : mixed
Return values
mixed —test_null_log_entry()
public
test_null_log_entry() : mixed
Return values
mixed —test_storage_comments()
public
test_storage_comments() : mixed
Return values
mixed —log_entry_to_array()
protected
log_entry_to_array(mixed $logs) : mixed
Parameters
- $logs : mixed