Menu

Commit [r7338]  Maximize  Restore  History

WikiRename: added a functional test for the wiki rename operation

- create wiki page with one attachment
- try a few pathological rename (to itself, to existing page)
- do a real rename, leaving a redirection page in place
- check for the attachment move, for the redirection page
- do another real rename, this time without redirection
- check the original page is gone

cboos 2008-07-08

changed /sandbox/wiki-rename/trac/tests/functional/tester.py
changed /sandbox/wiki-rename/trac/wiki/templates/wiki_rename.html
changed /sandbox/wiki-rename/trac/wiki/templates/wiki_view.html
changed /sandbox/wiki-rename/trac/wiki/tests/functional.py
/sandbox/wiki-rename/trac/tests/functional/tester.py Diff Switch to side-by-side view
Loading...
/sandbox/wiki-rename/trac/wiki/templates/wiki_rename.html Diff Switch to side-by-side view
Loading...
/sandbox/wiki-rename/trac/wiki/templates/wiki_view.html Diff Switch to side-by-side view
Loading...
/sandbox/wiki-rename/trac/wiki/tests/functional.py Diff Switch to side-by-side view
Loading...