Lines:
1 to 18 of 18
<?php /** * Admin Ajax functions to be tested. */ require_once ABSPATH . 'wp-admin/includes/ajax-actions.php'; /* class Tests_Ajax_CompressionTest */ /* function Tests_Ajax_CompressionTest::test_logged_out() – Test as a logged out user */ /* function Tests_Ajax_CompressionTest::test_text() – Fetch the test text */ /* function Tests_Ajax_CompressionTest::test_gzdeflate() – Fetch the test text (gzdeflate) */ /* function Tests_Ajax_CompressionTest::test_gzencode() – Fetch the test text (gzencode) */ /* function Tests_Ajax_CompressionTest::test_unknown_encoding() – Fetch the test text (unknown encoding) */ /* function Tests_Ajax_CompressionTest::test_set_yes() – Set the ‘can_compress_scripts’ site option to true */ /* function Tests_Ajax_CompressionTest::test_set_no() – Set the ‘can_compress_scripts’ site option to false */ /* function Tests_Ajax_CompressionTest::_gzdecode() – Undo gzencode. This is ugly, but there’s no stock gzdecode() function. */