HookDocTest Class Reference

List of all members.

Public Member Functions

 testHookIsDocumentedPHP ()
 testHookExistsPHP ()
 testHookIsDocumentedJS ()
 testHookExistsJS ()

Protected Member Functions

 setUp ()

Static Protected Member Functions

static getJSHooksFromFile ($file)
static getPHPHooksFromFile ($file)
static getHooksFromPath ($path, $callback)
static parseDocBlock ($block)

Protected Attributes

 $documented = array()
 $used = array()
 $paths

Detailed Description

Definition at line 11 of file HookDocTest.php.


Member Function Documentation

static HookDocTest::getHooksFromPath ( path,
callback 
) [static, protected]

Definition at line 97 of file HookDocTest.php.

Referenced by setUp().

static HookDocTest::getJSHooksFromFile ( file  )  [static, protected]

Definition at line 73 of file HookDocTest.php.

static HookDocTest::getPHPHooksFromFile ( file  )  [static, protected]

Definition at line 85 of file HookDocTest.php.

static HookDocTest::parseDocBlock ( block  )  [static, protected]

Definition at line 112 of file HookDocTest.php.

Referenced by setUp().

HookDocTest::setUp (  )  [protected]

Definition at line 32 of file HookDocTest.php.

Here is the call graph for this function:

HookDocTest::testHookExistsJS (  ) 

Definition at line 142 of file HookDocTest.php.

HookDocTest::testHookExistsPHP (  ) 

Definition at line 130 of file HookDocTest.php.

HookDocTest::testHookIsDocumentedJS (  ) 

Definition at line 136 of file HookDocTest.php.

HookDocTest::testHookIsDocumentedPHP (  ) 

Definition at line 124 of file HookDocTest.php.


Member Data Documentation

HookDocTest::$documented = array() [protected]

Definition at line 12 of file HookDocTest.php.

HookDocTest::$paths [protected]
Initial value:
 array(
        'php' => array(
            '',
            'api',
            'ffs',
            'messagegroups',
            'specials',
            'tag',
            'translationaids',
            'ttmserver',
            'utils',
            'webservices',
        ),
        'js' => array(
            'resources/js',
        ),
    )

Definition at line 14 of file HookDocTest.php.

HookDocTest::$used = array() [protected]

Definition at line 13 of file HookDocTest.php.


The documentation for this class was generated from the following file:
Generated on Tue Oct 29 00:00:46 2013 for MediaWiki Translate Extension by  doxygen 1.6.3