PHP Class Automattic\WP\Cron_Control\Tests\Utils

Afficher le fichier Open project: Automattic/vip-mu-plugins-public Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

create_test_event() static public méthode

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

get_events_from_post_objects() static public méthode

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