
Resources.FitNesseRoot.FitNesse.SuiteAcceptanceTests.SuiteResponderTests.SuiteRenameResponder.TestRenamePageThatRefersToItself.content.txt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fitnesse Show documentation
Show all versions of fitnesse Show documentation
The fully integrated standalone wiki, and acceptance testing framework.
!3 When a page is renamed, any internal links to that page are changed.
If you have a page that refers to itself, then its internal references will be changed.
First build the page with a self reference.
|Page creator.|
|Page name.|Page contents.|Page attributes.|valid?|
|!-MyPage-!|!-refer to self MyPage-!||true|
Then rename that page.
|Response Requester.|
|uri |status?|
|!-MyPage?responder=renamePage&newName=ThePage&refactorReferences=on-!||
Next fetch the page.
|Response Requester.|
|uri|valid?|contents?|
|!-ThePage-!|true||
Make sure that the new name is present and that the old name is not.
|Response Examiner.|
|type |pattern|matches?|wrapped html?|
|contents|!-ThePage-!|true||
|Response Examiner.|
|type |pattern|matches?|
|contents|!-MyPage-!|false|
© 2015 - 2025 Weber Informatics LLC | Privacy Policy