
Resources.FitNesseRoot.FitNesse.SuiteAcceptanceTests.SuiteResponderTests.SuiteRenameResponder.TestRenamePageWithAliasSubLinkReference.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 alias links that are using subpages are changed.
First build parent & child pages where one refers to the other.
|Page creator.|
|Page name.|Page contents.|valid?|
|!-ParentPage-!|!-refer to [[link][^ChildPage]]-!|true|
|!-ParentPage.ChildPage-!|whatever |true|
Then rename the target page.
|Response Requester.|
|uri |status?|
|!-ParentPage.ChildPage?responder=renamePage&newName=NewChild&refactorReferences=on-!||
Next fetch the Source page.
|Response Requester.|
|uri|valid?|contents?|
|!-ParentPage-!|true||
Make sure that the new target name is present and that the old name is not.
|Response Examiner.|
|type |pattern|matches?|
|contents|!-href="ParentPage\.NewChild"-!|true|
|contents|!-ChildPage-!|false|
© 2015 - 2025 Weber Informatics LLC | Privacy Policy