MediaWiki  master
TagHooksTest Class Reference

Database Parser. More...

Inheritance diagram for TagHooksTest:
Collaboration diagram for TagHooksTest:

Public Member Functions

 functionTagCallback (&$parser, $frame, $code, $attribs)
 
 tagCallback ( $text, $params, $parser)
 
 testBadFunctionTagHooks ( $tag)
 provideBadNames MWException More...
 
 testBadTagHooks ( $tag)
 provideBadNames MWException More...
 
 testFunctionTagHooks ( $tag)
 provideValidNames More...
 
 testTagHooks ( $tag)
 provideValidNames More...
 

Static Public Member Functions

static provideBadNames ()
 
static provideValidNames ()
 

Private Member Functions

 getParserOptions ()
 

Detailed Description

Member Function Documentation

◆ functionTagCallback()

TagHooksTest::functionTagCallback ( $parser,
  $frame,
  $code,
  $attribs 
)

Definition at line 129 of file TagHooksTest.php.

References $code.

◆ getParserOptions()

TagHooksTest::getParserOptions ( )
private

◆ provideBadNames()

static TagHooksTest::provideBadNames ( )
static

Definition at line 45 of file TagHooksTest.php.

◆ provideValidNames()

static TagHooksTest::provideValidNames ( )
static

Definition at line 35 of file TagHooksTest.php.

◆ tagCallback()

TagHooksTest::tagCallback (   $text,
  $params,
  $parser 
)

Definition at line 125 of file TagHooksTest.php.

◆ testBadFunctionTagHooks()

TagHooksTest::testBadFunctionTagHooks (   $tag)

provideBadNames MWException

Definition at line 109 of file TagHooksTest.php.

References $parser, getParserOptions(), Title\newFromText(), and Parser\SFH_OBJECT_ARGS.

◆ testBadTagHooks()

TagHooksTest::testBadTagHooks (   $tag)

provideBadNames MWException

Definition at line 76 of file TagHooksTest.php.

References $parser, getParserOptions(), and Title\newFromText().

◆ testFunctionTagHooks()

TagHooksTest::testFunctionTagHooks (   $tag)

provideValidNames

Definition at line 91 of file TagHooksTest.php.

References $parser, getParserOptions(), Title\newFromText(), and null.

◆ testTagHooks()

TagHooksTest::testTagHooks (   $tag)

provideValidNames

Definition at line 58 of file TagHooksTest.php.

References $parser, getParserOptions(), Title\newFromText(), and null.


The documentation for this class was generated from the following file: