< Manual:Hooks 
 
      |  | 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 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": "MyExtensionHooks::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
- $test: A PHPUnit_Framework_Test object
- $time: A value of the scalar type, float
See also
- MediaWikiPHPUnitTest::startTest
    This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.