MediaWiki
REL1_24
|
Copyright © 2013 Yuri Astrakhan "<Firstname><Lastname>@gmail.com". More...
Public Member Functions | |
addDBData () | |
Create a set of pages. | |
test1List () | |
Test smart continue - list=allpages . | |
test2Lists () | |
Test smart continue - list=allpages|alltransclusions . | |
testGen1Prop () | |
Test smart continue - generator=allpages, prop=links . | |
testGen1Prop1List () | |
Test smart continue - generator=allpages, prop=links, list=alltransclusions . | |
testGen2Prop () | |
Test smart continue - generator=allpages, prop=links|templates . | |
testGen2Prop2List1Meta () | |
Test smart continue - generator=allpages, prop=links|templates, list=alllinks|alltransclusions, meta=siteinfo . | |
testSameGenAndProp () | |
Test smart continue - generator=templates, prop=templates . | |
testSameGenList () | |
Test smart continue - generator=allpages, list=allpages . | |
Protected Attributes | |
$exceptionFromAddDBData |
Copyright © 2013 Yuri Astrakhan "<Firstname><Lastname>@gmail.com".
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. http://www.gnu.org/copyleft/gpl.html These tests validate the new continue functionality of the api query module by doing multiple requests with varying parameters, merging the results, and checking that the result matches the full data received in one no-limits call.
API Database medium ApiQuery
Definition at line 33 of file ApiQueryContinueTest.php.
Create a set of pages.
These must not change, otherwise the tests might give wrong results.
Reimplemented from MediaWikiTestCase.
Definition at line 40 of file ApiQueryContinueTest.php.
References $e, and ApiTestCase\editPage().
Test smart continue - list=allpages .
Definition at line 62 of file ApiQueryContinueTest.php.
References array(), ApiQueryContinueTestBase\checkC(), and ApiQueryContinueTestBase\query().
Test smart continue - list=allpages|alltransclusions .
Definition at line 85 of file ApiQueryContinueTest.php.
References array(), ApiQueryContinueTestBase\checkC(), and ApiQueryContinueTestBase\query().
Test smart continue - generator=allpages, prop=links .
Definition at line 110 of file ApiQueryContinueTest.php.
References array(), ApiQueryContinueTestBase\checkC(), and ApiQueryContinueTestBase\query().
Test smart continue - generator=allpages, prop=links, list=alltransclusions .
Definition at line 164 of file ApiQueryContinueTest.php.
References array(), ApiQueryContinueTestBase\checkC(), and ApiQueryContinueTestBase\query().
Test smart continue - generator=allpages, prop=links|templates .
Definition at line 134 of file ApiQueryContinueTest.php.
References array(), ApiQueryContinueTestBase\checkC(), and ApiQueryContinueTestBase\query().
Test smart continue - generator=allpages, prop=links|templates, list=alllinks|alltransclusions, meta=siteinfo .
Definition at line 195 of file ApiQueryContinueTest.php.
References array(), ApiQueryContinueTestBase\checkC(), and ApiQueryContinueTestBase\query().
Test smart continue - generator=templates, prop=templates .
Definition at line 233 of file ApiQueryContinueTest.php.
References array(), ApiQueryContinueTestBase\checkC(), and ApiQueryContinueTestBase\query().
Test smart continue - generator=allpages, list=allpages .
Definition at line 278 of file ApiQueryContinueTest.php.
References array(), ApiQueryContinueTestBase\checkC(), and ApiQueryContinueTestBase\query().
ApiQueryContinueTest::$exceptionFromAddDBData [protected] |
Definition at line 34 of file ApiQueryContinueTest.php.