[ Index ]

PHP Cross Reference of DokuWiki




/_test/tests/inc/ -> changelog_getRevisionsAround.test.php (summary)

(no description)

File Size: 189 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

changelog_getrevisionsaround_test:: (7 methods):

Class: changelog_getrevisionsaround_test  - X-Ref

Tests for requesting revisions of a page with getRevisions()

This class uses the files:
- data/pages/mailinglist.txt
- data/meta/mailinglist.changes
setup()   X-Ref
No description

test_changemetadatanotexists()   X-Ref
no nonexist.changes meta file available

test_request_overlapping()   X-Ref
Surrounding revisions of rev1 and rev2 overlaps

test_request_non_overlapping()   X-Ref
Surrounding revisions of rev1 and rev2 don't overlap.

test_request_first_last()   X-Ref
rev1 and rev2 are at start and end of the changelog.
Should return still a number of revisions equal to max

test_request_wholelog()   X-Ref
Number of requested revisions is larger than available revisions,
so returns whole log

test_request_wrong_order_revs()   X-Ref
When rev1 > rev2, their order is changed