MediaWiki  REL1_19
wfBCP47 Class Reference

Unit tests for wfBCP47() More...

Inheritance diagram for wfBCP47:
Collaboration diagram for wfBCP47:

List of all members.

Public Member Functions

 provideLanguageCodes ()
 Array format is ($code, $expected)
 testBCP47 ($code, $expected)
 test

Detailed Description

Unit tests for wfBCP47()

Definition at line 5 of file wfBCP47Test.php.


Member Function Documentation

Array format is ($code, $expected)

Definition at line 31 of file wfBCP47Test.php.

wfBCP47::testBCP47 ( code,
expected 
)

test

See also:
wfBCP47(). Please note the BCP explicitly state that language codes are case insensitive, there are some exceptions to the rule :) This test is used to verify our formatting against all lower and all upper cases language code.
http://tools.ietf.org/html/bcp47 provideLanguageCodes()

Definition at line 16 of file wfBCP47Test.php.

References wfBCP47().

Here is the call graph for this function:


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