MediaWiki
REL1_22
|
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 . |
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
Definition at line 32 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 37 of file ApiQueryContinueTest.php.
References ApiTestCase\editPage().
Test smart continue - list=allpages .
Definition at line 59 of file ApiQueryContinueTest.php.
References array(), ApiQueryContinueTestBase\checkC(), and ApiQueryContinueTestBase\query().
Test smart continue - list=allpages|alltransclusions .
Definition at line 82 of file ApiQueryContinueTest.php.
References array(), ApiQueryContinueTestBase\checkC(), and ApiQueryContinueTestBase\query().
Test smart continue - generator=allpages, prop=links .
Definition at line 107 of file ApiQueryContinueTest.php.
References array(), ApiQueryContinueTestBase\checkC(), and ApiQueryContinueTestBase\query().
Test smart continue - generator=allpages, prop=links, list=alltransclusions .
Definition at line 161 of file ApiQueryContinueTest.php.
References array(), ApiQueryContinueTestBase\checkC(), and ApiQueryContinueTestBase\query().
Test smart continue - generator=allpages, prop=links|templates .
Definition at line 131 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 192 of file ApiQueryContinueTest.php.
References array(), ApiQueryContinueTestBase\checkC(), and ApiQueryContinueTestBase\query().
Test smart continue - generator=templates, prop=templates .
Definition at line 230 of file ApiQueryContinueTest.php.
References array(), ApiQueryContinueTestBase\checkC(), and ApiQueryContinueTestBase\query().
Test smart continue - generator=allpages, list=allpages .
Definition at line 275 of file ApiQueryContinueTest.php.
References array(), ApiQueryContinueTestBase\checkC(), and ApiQueryContinueTestBase\query().