[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

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

(no description)

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

Defines 1 class

changelog_getrelativerevision_test:: (25 methods):
  setup()
  test_changemetadatanotexists()
  test_nodirection()
  test_startatexactcurrentrev()
  test_startatexactlastrev()
  test_requestlastrevisions()
  test_requestrev_checkcache()
  test_requestnextrev()
  test_requestnextrev_chuncked()
  test_requestnextrev_chunkshorterthanlines()
  test_requestnextfifthrev()
  test_requestnextfifthrev_chuncked()
  test_requestprevrev()
  test_requestprevrev_chuncked()
  test_requestrecentestlogline_next()
  test_requestrecentestlogline_next_chuncked()
  test_requestrecentestlogline_prev()
  test_requestrecentestlogline_prev_chuncked()
  test_negativerev_posdir()
  test_negativerev_negdir()
  test_startatnotexistingrev_next()
  test_startatnotexistingrev_prev()
  test_iscurrentpagerevision()
  test_isnotcurrentpagerevision()
  test_notexistingcurrentpage()


Class: changelog_getrelativerevision_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_nodirection()   X-Ref
no nonexist.changes meta file available


test_startatexactcurrentrev()   X-Ref
start at exact current revision of mailinglist page


test_startatexactlastrev()   X-Ref
start at exact last revision of mailinglist page


test_requestlastrevisions()   X-Ref
start at exact one before last revision of mailinglist page


test_requestrev_checkcache()   X-Ref
request existing rev and check cache


test_requestnextrev()   X-Ref
request existing rev


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


test_requestnextrev_chunkshorterthanlines()   X-Ref
request existing rev with chucked reading, chunk size smaller than line length


test_requestnextfifthrev()   X-Ref
request existing rev


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


test_requestprevrev()   X-Ref
request existing rev


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


test_requestrecentestlogline_next()   X-Ref
request after recentest version in changelog


test_requestrecentestlogline_next_chuncked()   X-Ref
request after recentest version in changelog, with chuncked reading


test_requestrecentestlogline_prev()   X-Ref
request before current version


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


test_negativerev_posdir()   X-Ref
Request negative revision
looks in positive direction, so it catches the oldest revision


test_negativerev_negdir()   X-Ref
Request negative revision
looks in negative direction, but there is nothing


test_startatnotexistingrev_next()   X-Ref
Start at non existing revision somewhere between existing revisions


test_startatnotexistingrev_prev()   X-Ref
Start at non existing revision somewhere between existing revisions


test_iscurrentpagerevision()   X-Ref
No description

test_isnotcurrentpagerevision()   X-Ref
No description

test_notexistingcurrentpage()   X-Ref
No description