MediaWiki  master
ApiFormatJsonTest Class Reference

API ApiFormatJson. More...

Inheritance diagram for ApiFormatJsonTest:
Collaboration diagram for ApiFormatJsonTest:

Static Public Member Functions

static provideGeneralEncoding ()
 
- Static Public Member Functions inherited from ApiFormatTestBase
static provideGeneralEncoding ()
 Return general data to be encoded for testing. More...
 

Protected Attributes

 $printerName = 'json'
 
- Protected Attributes inherited from ApiFormatTestBase
string $printerName
 Name of the formatter being tested. More...
 

Static Private Member Functions

static addFormatVersion ( $format, $arr)
 

Additional Inherited Members

- Public Member Functions inherited from ApiFormatTestBase
 testGeneralEncoding (array $data, $expect, array $params=[], array $options=[])
 provideGeneralEncoding More...
 
- Protected Member Functions inherited from ApiFormatTestBase
 encodeData (array $params, array $data, $options=[])
 Get the formatter output for the given input data. More...
 

Detailed Description

API ApiFormatJson.

Definition at line 7 of file ApiFormatJsonTest.php.

Member Function Documentation

◆ addFormatVersion()

static ApiFormatJsonTest::addFormatVersion (   $format,
  $arr 
)
staticprivate

Definition at line 11 of file ApiFormatJsonTest.php.

References $ret, and as.

◆ provideGeneralEncoding()

static ApiFormatJsonTest::provideGeneralEncoding ( )
static

Member Data Documentation

◆ $printerName

ApiFormatJsonTest::$printerName = 'json'
protected

Definition at line 9 of file ApiFormatJsonTest.php.


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