[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

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

(no description)

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

Defines 1 class

changelog_getlastrevisionat_test:: (9 methods):
  setup()
  test_changemetadatanotexists()
  test_startatexactcurrentrev()
  test_futurerev()
  test_exactlastrev()
  test_olderrev()
  test_notexistingrev()
  test_notexistingpage()
  test_deletedimage()


Class: changelog_getlastrevisionat_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_startatexactcurrentrev()   X-Ref
start at exact current revision of mailinglist page


test_futurerev()   X-Ref
test a future revision


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


test_olderrev()   X-Ref
Request not existing revision


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


test_notexistingpage()   X-Ref
request nonexisting page


test_deletedimage()   X-Ref
test get correct revision on deleted media