MediaWiki  REL1_22
WfBCP47Test Class Reference

wfBCP47 More...

Inheritance diagram for WfBCP47Test:
Collaboration diagram for WfBCP47Test:

List of all members.

Public Member Functions

 testBCP47 ($code, $expected)
 test

Static Public Member Functions

static provideLanguageCodes ()
 Array format is ($code, $expected)

Detailed Description

wfBCP47

Definition at line 5 of file wfBCP47Test.php.


Member Function Documentation

static WfBCP47Test::provideLanguageCodes ( ) [static]

Array format is ($code, $expected)

Definition at line 31 of file wfBCP47Test.php.

References array(), extensions, language, that, and values.

WfBCP47Test::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().


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