MediaWiki  master
LanguageConverterTest Class Reference
Inheritance diagram for LanguageConverterTest:
Collaboration diagram for LanguageConverterTest:

Public Member Functions

 testAutoConvertT124404 ()
 Test exhausting pcre.backtrack_limit. More...
 
 testGetPreferredVariantDefaultLanguageVariant ()
 LanguageConverter::getPreferredVariant. More...
 
 testGetPreferredVariantDefaultLanguageVariantBCP47 ()
 LanguageConverter::getPreferredVariant. More...
 
 testGetPreferredVariantDefaultLanguageVariantDeprecated ()
 LanguageConverter::getPreferredVariant. More...
 
 testGetPreferredVariantDefaultLanguageVsUrlVariant ()
 LanguageConverter::getPreferredVariant LanguageConverter::getURLVariant. More...
 
 testGetPreferredVariantDefaults ()
 LanguageConverter::getPreferredVariant. More...
 
 testGetPreferredVariantHeaderMulti ()
 LanguageConverter::getPreferredVariant LanguageConverter::getHeaderVariant. More...
 
 testGetPreferredVariantHeaders ()
 LanguageConverter::getPreferredVariant LanguageConverter::getHeaderVariant. More...
 
 testGetPreferredVariantHeadersBCP47 ()
 LanguageConverter::getPreferredVariant LanguageConverter::getHeaderVariant. More...
 
 testGetPreferredVariantHeaderUserVsUrl ()
 LanguageConverter::getPreferredVariant LanguageConverter::getUserVariant LanguageConverter::getURLVariant. More...
 
 testGetPreferredVariantHeaderWeight ()
 LanguageConverter::getPreferredVariant LanguageConverter::getHeaderVariant. More...
 
 testGetPreferredVariantHeaderWeight2 ()
 LanguageConverter::getPreferredVariant LanguageConverter::getHeaderVariant. More...
 
 testGetPreferredVariantUrl ()
 LanguageConverter::getPreferredVariant LanguageConverter::getURLVariant. More...
 
 testGetPreferredVariantUrlBCP47 ()
 LanguageConverter::getPreferredVariant LanguageConverter::getURLVariant. More...
 
 testGetPreferredVariantUrlDeprecated ()
 LanguageConverter::getPreferredVariant LanguageConverter::getURLVariant. More...
 
 testGetPreferredVariantUserOption ()
 LanguageConverter::getPreferredVariant. More...
 
 testGetPreferredVariantUserOptionBCP47 ()
 LanguageConverter::getPreferredVariant. More...
 
 testGetPreferredVariantUserOptionDeprecated ()
 LanguageConverter::getPreferredVariant. More...
 
 testGetPreferredVariantUserOptionForForeignLanguage ()
 LanguageConverter::getPreferredVariant LanguageConverter::getUserVariant. More...
 
 testGetPreferredVariantUserOptionForForeignLanguageBCP47 ()
 LanguageConverter::getPreferredVariant LanguageConverter::getUserVariant. More...
 
 testGetPreferredVariantUserOptionForForeignLanguageDeprecated ()
 LanguageConverter::getPreferredVariant LanguageConverter::getUserVariant. More...
 

Protected Member Functions

 setUp ()
 
 tearDown ()
 
- Protected Member Functions inherited from MediaWikiLangTestCase
 setUp ()
 

Protected Attributes

LanguageToTest $lang = null
 
TestConverter $lc = null
 

Detailed Description

Definition at line 3 of file LanguageConverterTest.php.

Member Function Documentation

◆ setUp()

LanguageConverterTest::setUp ( )
protected

Definition at line 9 of file LanguageConverterTest.php.

References adding, and as.

◆ tearDown()

LanguageConverterTest::tearDown ( )
protected

Definition at line 29 of file LanguageConverterTest.php.

◆ testAutoConvertT124404()

LanguageConverterTest::testAutoConvertT124404 ( )

Test exhausting pcre.backtrack_limit.

LanguageConverter::autoConvert

Definition at line 300 of file LanguageConverterTest.php.

◆ testGetPreferredVariantDefaultLanguageVariant()

LanguageConverterTest::testGetPreferredVariantDefaultLanguageVariant ( )

◆ testGetPreferredVariantDefaultLanguageVariantBCP47()

LanguageConverterTest::testGetPreferredVariantDefaultLanguageVariantBCP47 ( )

◆ testGetPreferredVariantDefaultLanguageVariantDeprecated()

LanguageConverterTest::testGetPreferredVariantDefaultLanguageVariantDeprecated ( )

◆ testGetPreferredVariantDefaultLanguageVsUrlVariant()

LanguageConverterTest::testGetPreferredVariantDefaultLanguageVsUrlVariant ( )

◆ testGetPreferredVariantDefaults()

LanguageConverterTest::testGetPreferredVariantDefaults ( )

◆ testGetPreferredVariantHeaderMulti()

LanguageConverterTest::testGetPreferredVariantHeaderMulti ( )

◆ testGetPreferredVariantHeaders()

LanguageConverterTest::testGetPreferredVariantHeaders ( )

◆ testGetPreferredVariantHeadersBCP47()

LanguageConverterTest::testGetPreferredVariantHeadersBCP47 ( )

◆ testGetPreferredVariantHeaderUserVsUrl()

LanguageConverterTest::testGetPreferredVariantHeaderUserVsUrl ( )

◆ testGetPreferredVariantHeaderWeight()

LanguageConverterTest::testGetPreferredVariantHeaderWeight ( )

◆ testGetPreferredVariantHeaderWeight2()

LanguageConverterTest::testGetPreferredVariantHeaderWeight2 ( )

◆ testGetPreferredVariantUrl()

LanguageConverterTest::testGetPreferredVariantUrl ( )

◆ testGetPreferredVariantUrlBCP47()

LanguageConverterTest::testGetPreferredVariantUrlBCP47 ( )

◆ testGetPreferredVariantUrlDeprecated()

LanguageConverterTest::testGetPreferredVariantUrlDeprecated ( )

◆ testGetPreferredVariantUserOption()

LanguageConverterTest::testGetPreferredVariantUserOption ( )

◆ testGetPreferredVariantUserOptionBCP47()

LanguageConverterTest::testGetPreferredVariantUserOptionBCP47 ( )

◆ testGetPreferredVariantUserOptionDeprecated()

LanguageConverterTest::testGetPreferredVariantUserOptionDeprecated ( )

◆ testGetPreferredVariantUserOptionForForeignLanguage()

LanguageConverterTest::testGetPreferredVariantUserOptionForForeignLanguage ( )

◆ testGetPreferredVariantUserOptionForForeignLanguageBCP47()

LanguageConverterTest::testGetPreferredVariantUserOptionForForeignLanguageBCP47 ( )

◆ testGetPreferredVariantUserOptionForForeignLanguageDeprecated()

LanguageConverterTest::testGetPreferredVariantUserOptionForForeignLanguageDeprecated ( )

Member Data Documentation

◆ $lang

LanguageToTest LanguageConverterTest::$lang = null
protected

Definition at line 5 of file LanguageConverterTest.php.

◆ $lc

TestConverter LanguageConverterTest::$lc = null
protected

Definition at line 7 of file LanguageConverterTest.php.


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