MediaWiki
master
|
Public Member Functions | |
functionTagCallback (&$parser, $frame, $code, $attribs) | |
tagCallback ($text, $params, $parser) | |
testBadFunctionTagHooks ($tag) | |
provideBadNames MWException | |
testBadTagHooks ($tag) | |
provideBadNames MWException | |
testFunctionTagHooks ($tag) | |
provideValidNames | |
testTagHooks ($tag) | |
provideValidNames | |
Static Public Member Functions | |
static | provideBadNames () |
static | provideValidNames () |
Protected Member Functions | |
setUp () | |
setUp and tearDown should (where significant) happen in reverse order. |
Definition at line 6 of file TagHooksTest.php.
TagHookTest::functionTagCallback | ( | &$ | parser, |
$ | frame, | ||
$ | code, | ||
$ | attribs | ||
) |
Definition at line 80 of file TagHooksTest.php.
static TagHookTest::provideBadNames | ( | ) | [static] |
Definition at line 12 of file TagHooksTest.php.
References array().
static TagHookTest::provideValidNames | ( | ) | [static] |
Definition at line 8 of file TagHooksTest.php.
References array().
TagHookTest::setUp | ( | ) | [protected] |
setUp and tearDown should (where significant) happen in reverse order.
Reimplemented from MediaWikiTestCase.
Definition at line 16 of file TagHooksTest.php.
References MediaWikiTestCase\setMwGlobals().
TagHookTest::tagCallback | ( | $ | text, |
$ | params, | ||
$ | parser | ||
) |
Definition at line 76 of file TagHooksTest.php.
TagHookTest::testBadFunctionTagHooks | ( | $ | tag | ) |
provideBadNames MWException
Definition at line 67 of file TagHooksTest.php.
References $parser, $wgContLang, array(), fail, global, Title\newFromText(), and ParserOptions\newFromUserAndLang().
TagHookTest::testBadTagHooks | ( | $ | tag | ) |
provideBadNames MWException
Definition at line 40 of file TagHooksTest.php.
References $parser, $wgContLang, array(), fail, global, Title\newFromText(), and ParserOptions\newFromUserAndLang().
TagHookTest::testFunctionTagHooks | ( | $ | tag | ) |
provideValidNames
Definition at line 52 of file TagHooksTest.php.
References $parser, $wgContLang, array(), global, Title\newFromText(), and ParserOptions\newFromUserAndLang().
TagHookTest::testTagHooks | ( | $ | tag | ) |
provideValidNames
Definition at line 25 of file TagHooksTest.php.
References $parser, $wgContLang, array(), global, Title\newFromText(), and ParserOptions\newFromUserAndLang().