[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

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

(no description)

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

Defines 1 class

changelog_getrevisionsinfo_test:: (10 methods):
  setup()
  test_changemetadatanotexists()
  test_requestrev()
  test_requestrev_chuncked()
  test_requestrev_chunckedsmallerthanlinelength()
  test_requestrecentestlogline()
  test_requestrecentestlogline_chuncked()
  test_negativerev()
  test_notexistingrev()
  test_chuncksizetrue()


Class: changelog_getrevisionsinfo_test  - X-Ref

Tests for requesting revisioninfo of a revision of a page with getRevisionInfo()

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_requestrev()   X-Ref
request existing rev


test_requestrev_chuncked()   X-Ref
request existing rev with chucked reading


test_requestrev_chunckedsmallerthanlinelength()   X-Ref
request existing rev with chucked reading


test_requestrecentestlogline()   X-Ref
request current version


test_requestrecentestlogline_chuncked()   X-Ref
request current version, with chuncked reading


test_negativerev()   X-Ref
request negative revision


test_notexistingrev()   X-Ref
request non existing revision somewhere between existing revisions


test_chuncksizetrue()   X-Ref
sometimes chuncksize is set to true