
Resources.FitNesseRoot.FitNesse.SuiteAcceptanceTests.SuiteSymbolicLinkTests.TestRenameSymbolicLink.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.
Renaming a Symbolic Link is done from the properties view of the page containing the link. Each link in the list will have a '''Rename''' link that will initiate the renaming. The link contains a URL of the form:
!***********************************************< HIDDEN
!define CODE {!--!}
!define code {!-
-!}
!define B {!--!}
!define b {!--!}
!define VAR {!--!}
!define var {!--!}
********************************************************!
${CODE}${B}!-http://host/PathToPage?responder=symlink&rename=-!${b}${VAR}nameOfLink${var}${B}&newname=${b}${VAR}newNameForLink${var}${code}
But first we need to create a link to rename.
!include CreateRelativeSymbolicLink
When we look at the properties page we'll see the rename link.
!|Response Requester.|
|uri |status?|
|LinkingPage?properties|200|
!|Response Examiner.|
|type |pattern|matches?|contents?|
|contents|SymLink|true||
|contents|Rename|true||
Now click the '''Rename''' link.
!|Response Requester.|
|uri |status?|
|LinkingPage?responder=symlink&rename=SymLink&newname=NewLink|303|
This should change the name of the symbolic link and redirect back to the properties view.
!|Response Examiner.|
|type |pattern|matches?|contents?|
|contents|Location: /LinkingPage\?properties|true||
When we look at the properties page again, the symbolic link will have a different name.
!|Response Requester.|
|uri |status?|
|LinkingPage?properties|200|
!|Response Examiner.|
|type |pattern|matches?|
|contents|NewLink|true|
|contents|SymLink|false|
© 2015 - 2025 Weber Informatics LLC | Privacy Policy