Unit tests for blacklisting/whitelisting languages for a message group. More...
Public Member Functions | |
testNoLanguageConf () | |
testAllBlackList () | |
testAllWhiteList () | |
testWhiteListOverrideBlackList () | |
testSomeBlackList () | |
Protected Member Functions | |
setUp () | |
tearDown () | |
Protected Attributes | |
$group | |
$codes | |
$groupConfiguration |
Unit tests for blacklisting/whitelisting languages for a message group.
Definition at line 14 of file BlackListTest.php.
BlackListTest::setUp | ( | ) | [protected] |
Definition at line 34 of file BlackListTest.php.
BlackListTest::tearDown | ( | ) | [protected] |
Definition at line 40 of file BlackListTest.php.
BlackListTest::testAllBlackList | ( | ) |
Definition at line 50 of file BlackListTest.php.
BlackListTest::testAllWhiteList | ( | ) |
Definition at line 60 of file BlackListTest.php.
BlackListTest::testNoLanguageConf | ( | ) |
Definition at line 45 of file BlackListTest.php.
BlackListTest::testSomeBlackList | ( | ) |
Definition at line 82 of file BlackListTest.php.
BlackListTest::testWhiteListOverrideBlackList | ( | ) |
Definition at line 70 of file BlackListTest.php.
BlackListTest::$codes [protected] |
Definition at line 20 of file BlackListTest.php.
BlackListTest::$group [protected] |
Definition at line 19 of file BlackListTest.php.
Referenced by testAllBlackList(), testAllWhiteList(), testSomeBlackList(), and testWhiteListOverrideBlackList().
BlackListTest::$groupConfiguration [protected] |
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.