Manual:Hooks/MediaWikiPHPUnitTest::endTest
Appearance
This feature was removed completely in version 1.37.0. |
MediaWikiPHPUnitTest::endTest | |
---|---|
Available from version 1.32.0 (Gerrit change 455176) Removed in version 1.37.0 (Gerrit change 673705) Occurs when a MediaWiki PHPUnit test has ended. | |
Define function: | public static function onMediaWikiPHPUnitTest_endTest( PHPUnit_Framework_Test $test, float $time ) { ... }
|
Attach hook: | In extension.json:
{
"Hooks": {
"MediaWikiPHPUnitTest::endTest": "MediaWiki\\Extension\\MyExtension\\Hooks::onMediaWikiPHPUnitTestendTest"
}
}
|
Called from: | File(s): ../tests/phpunit/MediaWikiPHPUnitTestListener.php Function(s): endTest |
Interface: | MediaWikiPHPUnitTest__endTestHook.php |
For more information about attaching hooks, see Manual:Hooks .
For examples of extensions using this hook, see Category:MediaWikiPHPUnitTest::endTest extensions.
Details
[edit]$test
: A PHPUnit_Framework_Test object$time
: A value of the scalar type, float