Remove $wgDebugFunctionEntry, unused
[mediawiki.git] / tests / phpunit / includes / api / format / ApiFormatNoneTest.php
blob1487ad0ddb28e097e78977d1bb7384d86cbe6238
1 <?php
3 /**
4 * @group API
5 * @covers ApiFormatNone
6 */
7 class ApiFormatNoneTest extends ApiFormatTestBase {
9 protected $printerName = 'none';
11 public static function provideGeneralEncoding() {
12 return array(
13 // Basic types
14 array( array( null ), '' ),
15 array( array( true ), '' ),
16 array( array( false ), '' ),
17 array( array( 42 ), '' ),
18 array( array( 42.5 ), '' ),
19 array( array( 1e42 ), '' ),
20 array( array( 'foo' ), '' ),
21 array( array( 'fóo' ), '' ),
23 // Arrays and objects
24 array( array( array() ), '' ),
25 array( array( array( 1 ) ), '' ),
26 array( array( array( 'x' => 1 ) ), '' ),
27 array( array( array( 2 => 1 ) ), '' ),
29 // Content
30 array( array( '*' => 'foo' ), '' ),