Lines:
1 to 46 of 46
<?php /** * Collection of tests to run on the Jetpack connection locally. * * @package Jetpack */ use Automattic\Jetpack\Connection\Client; use Automattic\Jetpack\Connection\Manager as Connection_Manager; use Automattic\Jetpack\Redirect; use Automattic\Jetpack\Status; use Automattic\Jetpack\Sync\Health as Sync_Health; use Automattic\Jetpack\Sync\Modules; use Automattic\Jetpack\Sync\Sender as Sync_Sender; use Automattic\Jetpack\Sync\Settings as Sync_Settings; /* class Jetpack_Cxn_Tests */ /* function Jetpack_Cxn_Tests::__construct() – Jetpack_Cxn_Tests constructor. */ /* function Jetpack_Cxn_Tests::helper_retrieve_local_master_user() – Helper function to look up the expected master user and return the local WP_User. */ /* function Jetpack_Cxn_Tests::helper_is_jetpack_connected() – Is Jetpack even connected and supposed to be talking to WP.com? */ /* function Jetpack_Cxn_Tests::helper_get_blog_token() – Retrieve the `blog_token` if it exists. */ /* function Jetpack_Cxn_Tests::helper_get_support_url() – Returns a support url based on development mode. */ /* function Jetpack_Cxn_Tests::helper_get_reconnect_url */ /* function Jetpack_Cxn_Tests::helper_get_support_text() – Gets translated support text. */ /* function Jetpack_Cxn_Tests::helper_get_reconnect_text */ /* function Jetpack_Cxn_Tests::helper_get_timeout_text */ /* function Jetpack_Cxn_Tests::helper_get_reconnect_long_description */ /* function Jetpack_Cxn_Tests::connection_failing_test */ /* function Jetpack_Cxn_Tests::helper_enable_outbound_requests() – Gets translated text to enable outbound requests. */ /* function Jetpack_Cxn_Tests::increase_timeout() – Returns 30 for use with a filter. */ /* function Jetpack_Cxn_Tests::test__blog_token_if_exists() – The test verifies the blog token exists. */ /* function Jetpack_Cxn_Tests::test__check_if_connected() – Test if Jetpack is connected. */ /* function Jetpack_Cxn_Tests::test__master_user_exists_on_site() – Test that the master user still exists on this site. */ /* function Jetpack_Cxn_Tests::test__master_user_can_manage_options() – Test that the master user has the manage options capability (e.g. is an admin). */ /* function Jetpack_Cxn_Tests::test__xml_parser_available() – Test that the PHP’s XML library is installed. */ /* function Jetpack_Cxn_Tests::test__outbound_http() – Test that the server is able to send an outbound http communication. */ /* function Jetpack_Cxn_Tests::test__outbound_https() – Test that the server is able to send an outbound https communication. */ /* function Jetpack_Cxn_Tests::test__identity_crisis() – Check for an IDC. */ /* function Jetpack_Cxn_Tests::test__connection_token_health */ /* function Jetpack_Cxn_Tests::test__wpcom_connection_test() – Tests connection status against wp.com’s test-connection endpoint. */ /* function Jetpack_Cxn_Tests::test__server_port_value() – Tests the port number to ensure it is an expected value. */ /* function Jetpack_Cxn_Tests::test__full_sync_health() – Full Sync Health Test. */ /* function Jetpack_Cxn_Tests::test__sync_health() – Sync Health Tests. */ /* function Jetpack_Cxn_Tests::last__wpcom_Telf_test() – Calls to WP.com to run the connection diagnostic testing suite. */