Changeset 30337 for trunk/tests/phpunit/includes/testcase.php
- Timestamp:
- 11/13/2014 10:03:15 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/testcase.php
r30276 r30337 145 145 } 146 146 } 147 147 148 148 function flush_cache() { 149 149 global $wp_object_cache; … … 477 477 return $files; 478 478 } 479 480 /** 481 * Helper to Convert a microtime string into a float 482 */ 483 protected function _microtime_to_float($microtime ){ 484 $time_array = explode( ' ', $microtime ); 485 return array_sum( $time_array ); 486 } 479 487 }
Note: See TracChangeset
for help on using the changeset viewer.