MediaWiki
1.33.0
|
Public Member Functions | |
provideCallAny () | |
Data provider for testCallAny(). More... | |
testCallAny (array $functions, array $args, $expectedResult) | |
callAny() calls the first function of the list. More... | |
testCallAnyNoneAvailable () | |
callAny() throws an exception when all functions are unavailable. More... | |
testEnable () | |
Trying to enable Xhprof when it is already enabled causes an exception to be thrown. More... | |
Definition at line 21 of file XhprofTest.php.
XhprofTest::provideCallAny | ( | ) |
Data provider for testCallAny().
Definition at line 59 of file XhprofTest.php.
callAny() calls the first function of the list.
Xhprof::callAny provideCallAny
Definition at line 47 of file XhprofTest.php.
XhprofTest::testCallAnyNoneAvailable | ( | ) |
callAny() throws an exception when all functions are unavailable.
Exception
Neither xhprof nor tideways are installed Xhprof::callAny
Definition at line 87 of file XhprofTest.php.
References class.
XhprofTest::testEnable | ( | ) |
Trying to enable Xhprof when it is already enabled causes an exception to be thrown.
Exception
already enabled Xhprof::enable
Definition at line 33 of file XhprofTest.php.
References class.