MediaWiki  REL1_24
JsonContentTest Class Reference
Inheritance diagram for JsonContentTest:
Collaboration diagram for JsonContentTest:

List of all members.

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 ()

Detailed Description

Author:
Adam Shorland JsonContent

Definition at line 7 of file JsonContentTest.php.


Member Function Documentation

Definition at line 64 of file JsonContentTest.php.

Referenced by testPreSaveTransform().

Definition at line 53 of file JsonContentTest.php.

Referenced by testFillParserOutput(), and testPreSaveTransform().

Definition at line 59 of file JsonContentTest.php.

Referenced by testPreSaveTransform().

Definition at line 80 of file JsonContentTest.php.

References array().

Definition at line 34 of file JsonContentTest.php.

References array().

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

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.


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