MediaWiki
REL1_24
|
Public Member Functions | |
testBeautifyUsesFormatJson ($data) | |
provideDataToEncode | |
testFillParserOutput ($data, $expected) | |
provideDataAndParserText | |
testPreSaveTransform ($data) | |
provideDataToEncode | |
testValidConstruct ($text, $modelId, $isValid, $expected) | |
provideValidConstruction | |
Static Public Member Functions | |
static | provideDataAndParserText () |
static | provideDataToEncode () |
static | provideValidConstruction () |
Private Member Functions | |
getMockParserOptions () | |
getMockTitle () | |
getMockUser () |
Definition at line 7 of file JsonContentTest.php.
JsonContentTest::getMockParserOptions | ( | ) | [private] |
Definition at line 64 of file JsonContentTest.php.
Referenced by testPreSaveTransform().
JsonContentTest::getMockTitle | ( | ) | [private] |
Definition at line 53 of file JsonContentTest.php.
Referenced by testFillParserOutput(), and testPreSaveTransform().
JsonContentTest::getMockUser | ( | ) | [private] |
Definition at line 59 of file JsonContentTest.php.
Referenced by testPreSaveTransform().
static JsonContentTest::provideDataAndParserText | ( | ) | [static] |
Definition at line 80 of file JsonContentTest.php.
References array().
static JsonContentTest::provideDataToEncode | ( | ) | [static] |
Definition at line 34 of file JsonContentTest.php.
References array().
static JsonContentTest::provideValidConstruction | ( | ) | [static] |
Definition at line 18 of file JsonContentTest.php.
References array(), and FormatJson\encode().
provideDataToEncode
Definition at line 29 of file JsonContentTest.php.
References FormatJson\encode().
JsonContentTest::testFillParserOutput | ( | $ | data, |
$ | expected | ||
) |
provideDataAndParserText
Definition at line 73 of file JsonContentTest.php.
References FormatJson\encode(), and getMockTitle().
JsonContentTest::testPreSaveTransform | ( | $ | data | ) |
provideDataToEncode
Definition at line 47 of file JsonContentTest.php.
References FormatJson\encode(), getMockParserOptions(), getMockTitle(), and getMockUser().
JsonContentTest::testValidConstruct | ( | $ | text, |
$ | modelId, | ||
$ | isValid, | ||
$ | expected | ||
) |
provideValidConstruction
Definition at line 12 of file JsonContentTest.php.