MediaWiki  master
ApiEditPageTest Class Reference

Tests for MediaWiki api.php?action=edit. More...

Inheritance diagram for ApiEditPageTest:
Collaboration diagram for ApiEditPageTest:

List of all members.

Public Member Functions

 setup ()
 teardown ()
 testEdit ()
 testEditAppend ($text, $op, $append, $expected)
 provideEditAppend
 testEditSection ()
 testNonTextEdit ()
 testUndo ()

Static Public Member Functions

static provideEditAppend ()

Detailed Description

Tests for MediaWiki api.php?action=edit.

Author:
Daniel Kinzler

API Database

Definition at line 11 of file ApiEditPageTest.php.


Member Function Documentation

Definition at line 123 of file ApiEditPageTest.php.

References array(), empty, and page.

ApiEditPageTest::testEditAppend ( text,
op,
append,
expected 
)

provideEditAppend

Definition at line 149 of file ApiEditPageTest.php.

References $count, $name, $page, array(), ApiTestCase\doApiRequestWithToken(), list, and Title\newFromText().

Definition at line 192 of file ApiEditPageTest.php.

Definition at line 196 of file ApiEditPageTest.php.


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