
Resources.FitNesseRoot.FitNesse.SuiteAcceptanceTests.SuiteWidgetTests.TestSubPageWidget.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.
!2 The Sub Page widget.
Sometimes we want to conveniently create a link to a sub page. We could do this by using the syntax ''!-SuperPage.SubPage-!'', but this is inconvenient. Instead we want to be able to say ''!-^SubPage-!''.
!|Page creator.|
|Page name.|Page contents.|Page attributes.|valid?|
|SuperPage|^SubPage||true|
!|Response Requester.|
|uri|valid?|contents?|
|SuperPage|true||
The widget should translate into a ? link of the form:
* ''!-^SubPage-![?]''
!|Response Examiner.|
|type |pattern|matches?|value|
|contents|\^SubPage\[\?\]|true||
If the sub page is already present, then the widget should translate into a normal link.
!|Page creator.|
|Page name.|Page contents.|Page attributes.|valid?|
|SuperPage.SubPage|nothing||true|
!|Response Requester.|
|uri|valid?|contents?|
|SuperPage|true||
!|Response Examiner.|
|type |pattern|matches?|value|
|contents|\^SubPage|true||
© 2015 - 2025 Weber Informatics LLC | Privacy Policy