MediaWiki
REL1_22
|
Public Member Functions | |
testDecodeReturnType () | |
testEncodeAllOk ($from, $to) | |
provideEncodeAllOk | |
testEncodeDefault ($from, $to) | |
provideEncodeDefault | |
testEncodePhpBug46944 () | |
testEncoderPrettyPrinting () | |
testEncodeUtf8 ($from, $to) | |
provideEncodeUtf8 | |
testEncodeXmlMeta ($from, $to) | |
provideEncodeXmlMeta | |
Static Public Member Functions | |
static | provideEncodeAllOk () |
static | provideEncodeDefault () |
static | provideEncodeUtf8 () |
static | provideEncodeXmlMeta () |
Static Private Member Functions | |
static | getEncodeTestCases (array $unescapedGroups) |
Generate a set of test cases for a particular combination of encoder options. |
Definition at line 3 of file FormatJsonTest.php.
static FormatJsonTest::getEncodeTestCases | ( | array $ | unescapedGroups | ) | [static, private] |
Generate a set of test cases for a particular combination of encoder options.
array | $unescapedGroups | List of character groups to leave unescaped |
Definition at line 113 of file FormatJsonTest.php.
References $name, array(), and as.
Referenced by provideEncodeAllOk(), provideEncodeDefault(), provideEncodeUtf8(), and provideEncodeXmlMeta().
static FormatJsonTest::provideEncodeAllOk | ( | ) | [static] |
Definition at line 74 of file FormatJsonTest.php.
References array(), and getEncodeTestCases().
static FormatJsonTest::provideEncodeDefault | ( | ) | [static] |
Definition at line 41 of file FormatJsonTest.php.
References array(), and getEncodeTestCases().
static FormatJsonTest::provideEncodeUtf8 | ( | ) | [static] |
Definition at line 52 of file FormatJsonTest.php.
References array(), and getEncodeTestCases().
static FormatJsonTest::provideEncodeXmlMeta | ( | ) | [static] |
Definition at line 63 of file FormatJsonTest.php.
References array(), and getEncodeTestCases().
Definition at line 93 of file FormatJsonTest.php.
References FormatJson\decode().
FormatJsonTest::testEncodeAllOk | ( | $ | from, |
$ | to | ||
) |
provideEncodeAllOk
Definition at line 81 of file FormatJsonTest.php.
References FormatJson\ALL_OK, and FormatJson\encode().
FormatJsonTest::testEncodeDefault | ( | $ | from, |
$ | to | ||
) |
provideEncodeDefault
Definition at line 48 of file FormatJsonTest.php.
References FormatJson\encode().
Definition at line 85 of file FormatJsonTest.php.
References FormatJson\encode().
Definition at line 5 of file FormatJsonTest.php.
References array(), and FormatJson\encode().
FormatJsonTest::testEncodeUtf8 | ( | $ | from, |
$ | to | ||
) |
provideEncodeUtf8
Definition at line 59 of file FormatJsonTest.php.
References FormatJson\encode(), and FormatJson\UTF8_OK.
FormatJsonTest::testEncodeXmlMeta | ( | $ | from, |
$ | to | ||
) |
provideEncodeXmlMeta
Definition at line 70 of file FormatJsonTest.php.
References FormatJson\encode(), and FormatJson\XMLMETA_OK.