BlackListTest Class Reference

Unit tests for blacklisting/whitelisting languages for a message group. More...

List of all members.

Public Member Functions

 testNoLanguageConf ()
 testAllBlackList ()
 testAllWhiteList ()
 testWhiteListOverrideBlackList ()
 testSomeBlackList ()

Protected Member Functions

 setUp ()
 tearDown ()

Protected Attributes

 $group
 $codes
 $groupConfiguration

Detailed Description

Unit tests for blacklisting/whitelisting languages for a message group.

Definition at line 14 of file BlackListTest.php.


Member Function Documentation

BlackListTest::setUp (  )  [protected]

Definition at line 34 of file BlackListTest.php.

Here is the call graph for this function:

BlackListTest::tearDown (  )  [protected]

Definition at line 40 of file BlackListTest.php.

BlackListTest::testAllBlackList (  ) 

Definition at line 50 of file BlackListTest.php.

Here is the call graph for this function:

BlackListTest::testAllWhiteList (  ) 

Definition at line 60 of file BlackListTest.php.

Here is the call graph for this function:

BlackListTest::testNoLanguageConf (  ) 

Definition at line 45 of file BlackListTest.php.

BlackListTest::testSomeBlackList (  ) 

Definition at line 82 of file BlackListTest.php.

Here is the call graph for this function:

BlackListTest::testWhiteListOverrideBlackList (  ) 

Definition at line 70 of file BlackListTest.php.

Here is the call graph for this function:


Member Data Documentation

BlackListTest::$codes [protected]

Definition at line 20 of file BlackListTest.php.

BlackListTest::$group [protected]
BlackListTest::$groupConfiguration [protected]
Initial value:
 array(
        'BASIC' => array(
            'class' => 'FileBasedMessageGroup',
            'id' => 'test-id',
            'label' => 'Test Label',
            'namespace' => 'NS_MEDIAWIKI',
            'description' => 'Test description',
        ),
        'FILES' => array(
            'class' => 'TestFFS',
        ),
    )

Definition at line 21 of file BlackListTest.php.


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