Wordpress/tests/phpunit/includes
ocean90 94e3540dcc Update PHPMailer to 5.2.10 from 5.2.7.
Includes two modifications for WordPress:
* Removes support for NTLM in `class-smtp.php` since the required client (`extras/ntlm_sasl_client.php`) is not distributed as part of WordPress.
* Requires `class-smtp.php` for backwards compatibility with direct (non-wp_mail()) uses of PHPMailer, as the autoloader isn't used. See [27385].

This also includes a change to our `MockMailer` for unit tests. It now overrides `postSend() instead of `send()`, and `preSend()`.
`preSend()` resets `$this->Encoding` because PHPMailer doesn't clean up after itself / presets all variables. This becomes an issue when `PHPMailer::createBody()` sets `$this->Encoding = 'quoted-printable'` (away from it's default of 8bit) when it encounters a line longer than 998 characters. `Tests_Comment::test_comment_field_lengths` is such a case.

props MattyRob, dd32.
fixes #28909.

git-svn-id: https://develop.svn.wordpress.org/trunk@33124 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-08 17:15:02 +00:00
..
bootstrap.php Set $_SERVER['REQUEST_METHOD'] for unit tests. 2015-06-16 00:03:25 +00:00
exceptions.php
factory.php Term unit test factory class should override create_and_get() method. 2015-05-30 13:03:07 +00:00
functions.php During PHPUnit tests, don't autodetect permalink structure during WP installation. 2015-04-16 23:59:01 +00:00
install.php Set $_SERVER['REQUEST_METHOD'] for unit tests. 2015-06-16 00:03:25 +00:00
mock-fs.php
mock-image-editor.php Add tests which ensure the wp_editor_set_quality and jpeg_quality filters only apply if they are added before the corresponding WP_Image_Editor is instantiated. 2014-12-15 21:24:21 +00:00
mock-mailer.php Update PHPMailer to 5.2.10 from 5.2.7. 2015-07-08 17:15:02 +00:00
testcase-ajax.php
testcase-canonical.php Implement canonical and url_to_postid() tests for child pages which share a post name with other child pages. 2015-06-24 00:40:45 +00:00
testcase-xmlrpc.php Use remove_added_uploads() in tearDown() for XMLRPC tests 2014-11-08 20:17:17 +00:00
testcase.php Introduce WP_UnitTestCase::delete_user(). 2015-06-26 12:58:29 +00:00
trac.php
utils.php Remove PHP4 constructors from Unit Tests 2015-07-08 16:04:11 +00:00
wp-profiler.php Remove PHP4 constructors from Unit Tests 2015-07-08 16:04:11 +00:00