Changeset 46882
- Timestamp:
- 12/11/2019 03:46:51 PM (5 years ago)
- Location:
- trunk/tests/phpunit/includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/phpunit7/speed-trap-listener.php
r46586 r46882 53 53 * @param PHPUnit_Framework_Test $test 54 54 * @param Exception $e 55 * @param float 55 * @param float $time 56 56 */ 57 57 public function addError( PHPUnit\Framework\Test $test, Throwable $t, float $time ): void { … … 74 74 * @param PHPUnit_Framework_Test $test 75 75 * @param PHPUnit_Framework_AssertionFailedError $e 76 * @param float 76 * @param float $time 77 77 */ 78 78 public function addFailure( PHPUnit\Framework\Test $test, PHPUnit\Framework\AssertionFailedError $e, float $time ): void { … … 84 84 * @param PHPUnit_Framework_Test $test 85 85 * @param Exception $e 86 * @param float 86 * @param float $time 87 87 */ 88 88 public function addIncompleteTest( PHPUnit\Framework\Test $test, Throwable $t, float $time ): void { … … 94 94 * @param PHPUnit_Framework_Test $test 95 95 * @param Exception $e 96 * @param float 96 * @param float $time 97 97 * @since Method available since Release 4.0.0 98 98 */ … … 105 105 * @param PHPUnit_Framework_Test $test 106 106 * @param Exception $e 107 * @param float 107 * @param float $time 108 108 */ 109 109 public function addSkippedTest( PHPUnit\Framework\Test $test, Throwable $t, float $time ): void { … … 122 122 * 123 123 * @param PHPUnit_Framework_Test $test 124 * @param float 124 * @param float $time 125 125 */ 126 126 public function endTest( PHPUnit\Framework\Test $test, float $time ): void { … … 166 166 * Whether the given test execution time is considered slow. 167 167 * 168 * @param int $time Test execution time in milliseconds168 * @param int $time Test execution time in milliseconds 169 169 * @param int $slow_threshold Test execution time at which a test should be considered slow (milliseconds) 170 170 * @return bool … … 178 178 * 179 179 * @param PHPUnit_Framework_TestCase $test 180 * @param int 180 * @param int $time Test execution time in milliseconds 181 181 */ 182 182 protected function addSlowTest( PHPUnit_Framework_TestCase $test, $time ) { -
trunk/tests/phpunit/includes/speed-trap-listener.php
r46586 r46882 53 53 * @param PHPUnit_Framework_Test $test 54 54 * @param Exception $e 55 * @param float 55 * @param float $time 56 56 */ 57 57 public function addError( PHPUnit_Framework_Test $test, Exception $e, $time ) { … … 74 74 * @param PHPUnit_Framework_Test $test 75 75 * @param PHPUnit_Framework_AssertionFailedError $e 76 * @param float 76 * @param float $time 77 77 */ 78 78 public function addFailure( PHPUnit_Framework_Test $test, PHPUnit_Framework_AssertionFailedError $e, $time ) { … … 84 84 * @param PHPUnit_Framework_Test $test 85 85 * @param Exception $e 86 * @param float 86 * @param float $time 87 87 */ 88 88 public function addIncompleteTest( PHPUnit_Framework_Test $test, Exception $e, $time ) { … … 94 94 * @param PHPUnit_Framework_Test $test 95 95 * @param Exception $e 96 * @param float 96 * @param float $time 97 97 * @since Method available since Release 4.0.0 98 98 */ … … 105 105 * @param PHPUnit_Framework_Test $test 106 106 * @param Exception $e 107 * @param float 107 * @param float $time 108 108 */ 109 109 public function addSkippedTest( PHPUnit_Framework_Test $test, Exception $e, $time ) { … … 122 122 * 123 123 * @param PHPUnit_Framework_Test $test 124 * @param float 124 * @param float $time 125 125 */ 126 126 public function endTest( PHPUnit_Framework_Test $test, $time ) { … … 166 166 * Whether the given test execution time is considered slow. 167 167 * 168 * @param int $time Test execution time in milliseconds168 * @param int $time Test execution time in milliseconds 169 169 * @param int $slow_threshold Test execution time at which a test should be considered slow (milliseconds) 170 170 * @return bool … … 178 178 * 179 179 * @param PHPUnit_Framework_TestCase $test 180 * @param int 180 * @param int $time Test execution time in milliseconds 181 181 */ 182 182 protected function addSlowTest( PHPUnit_Framework_TestCase $test, $time ) {
Note: See TracChangeset
for help on using the changeset viewer.