MediaWiki  REL1_23
ArrayDiffFormatterTest Class Reference

GNU GPL v2+ More...

Inheritance diagram for ArrayDiffFormatterTest:
Collaboration diagram for ArrayDiffFormatterTest:

List of all members.

Public Member Functions

 provideTestFormat ()
 testFormat ($input, $expectedOutput)

Private Member Functions

 getMockDiff ($edits)
 getMockDiffOp ($type=null, $orig=array(), $closing=array())

Detailed Description

GNU GPL v2+

Author:
Adam Shorland

Diff

Definition at line 9 of file ArrayDiffFormatterTest.php.


Member Function Documentation

ArrayDiffFormatterTest::getMockDiff ( $  edits) [private]

Definition at line 23 of file ArrayDiffFormatterTest.php.

References any.

Referenced by provideTestFormat().

ArrayDiffFormatterTest::getMockDiffOp ( $  type = null,
$  orig = array(),
$  closing = array() 
) [private]

Definition at line 33 of file ArrayDiffFormatterTest.php.

References any.

Referenced by provideTestFormat().

ArrayDiffFormatterTest::testFormat ( $  input,
$  expectedOutput 
)
Parameters:
Diff$input
array$expectedOutputprovideTestFormat ArrayDiffFormatter::format

Definition at line 17 of file ArrayDiffFormatterTest.php.

References $output.


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