[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

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

(no description)

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

Defines 1 class

changelog_getrevisions_test:: (12 methods):
  setup()
  test_changemetadatanotexists()
  test_requestlastrev()
  test_requestonebutlastrev()
  test_requestrevswithoffset()
  test_requestrecentestlogline()
  test_wholefile()
  test_negativenum()
  test_negativennumoffset()
  test_zeronum()
  test_requestlargeoffset()
  test_requesttoolargenumberrevs()


Class: changelog_getrevisions_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_requestlastrev()   X-Ref
request first recentest revision
(so skips first line which belongs to the current existing page)


test_requestonebutlastrev()   X-Ref
request first recentest revision
(so skips first line which belongs to the current existing page)


test_requestrevswithoffset()   X-Ref
request first recentest revision
(so skips first line of current existing page)


test_requestrecentestlogline()   X-Ref
first = -1 requests recentest logline, without skipping


test_wholefile()   X-Ref
chunck size = 0 skips chuncked loading


test_negativenum()   X-Ref
Negative range returns no result


test_negativennumoffset()   X-Ref
Negative range returns no result


test_zeronum()   X-Ref
zero range returns no result


test_requestlargeoffset()   X-Ref
get oldest revisions


test_requesttoolargenumberrevs()   X-Ref
request with too large offset and range