Wordpress/tests/phpunit/includes
Aaron Jorbin b94dd6a7ec When asserting microtime output as a number, make it a number
microtime is by default a string. Doing a greater then or less than check of that string is a bad idea since it uses the first part (the micro part of microtime) rather then the actual time. This adds a helper to convert microtime output into a float which we can then use to properly compare the output of microtime.

This fixes an intermittent test failure.

fixes #30336



git-svn-id: https://develop.svn.wordpress.org/trunk@30337 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-13 22:03:15 +00:00
..
bootstrap.php Exclude external-http tests when running `phpunit`. 2014-11-10 14:48:28 +00:00
exceptions.php
factory.php
functions.php Allow `wp_die()` to die in plain text when running the test suite. 2014-06-21 19:59:28 +00:00
install.php Unset the default permalink structure after installing Multisite for automated tests. 2014-11-07 01:24:19 +00:00
mock-fs.php
mock-image-editor.php
mock-mailer.php Update PHPMailer to 5.2.7 from 5.2.4. 2014-03-03 20:24:31 +00:00
testcase-ajax.php
testcase-canonical.php In unit tests, use `wpmu_delete_user()` to delete users when `is_multisite()`. 2014-11-08 19:55:05 +00:00
testcase-xmlrpc.php Use `remove_added_uploads()` in `tearDown()` for XMLRPC tests 2014-11-08 20:17:17 +00:00
testcase.php When asserting microtime output as a number, make it a number 2014-11-13 22:03:15 +00:00
trac.php
utils.php Wouldn't it be incredible if you could run Unit Tests without all of your uploads being indiscriminately blown away and your upload folder permissions being destroyed? 2014-07-12 07:08:15 +00:00
wp-profiler.php Use HTTPS URLs for trac.wordpress.org (and use core.trac.wordpress.org) 2014-09-29 13:36:38 +00:00