PHP Class Automattic\WP\Cron_Control\Tests\Utils

Datei anzeigen Open project: Automattic/vip-mu-plugins-public Class Usage Examples

Public Methods

Method Description
compare_arrays ( $expected, $test, $context ) Check that two arrays are equal
create_test_event ( $allow_multiple = false ) Build a test event
get_events_from_post_objects ( ) Retrieve some events' post objects for use in testing

Method Details

compare_arrays() static public method

Check that two arrays are equal
static public compare_arrays ( $expected, $test, $context )

create_test_event() static public method

Build a test event
static public create_test_event ( $allow_multiple = false )

get_events_from_post_objects() static public method

Retrieve some events' post objects for use in testing
static public get_events_from_post_objects ( )