MediaWiki REL1_32
|
Public Member Functions | |
provideCallAny () | |
Data provider for testCallAny(). | |
testCallAny (array $functions, array $args, $expectedResult) | |
callAny() calls the first function of the list. | |
testCallAnyNoneAvailable () | |
callAny() throws an exception when all functions are unavailable. | |
testEnable () | |
Trying to enable Xhprof when it is already enabled causes an exception to be thrown. | |
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.
References $args.
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.
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.