Sha256: fdde97536d60946d27916ab9274bd90e1d31dbbd975f87935ad467c2f49e73e2

Contents?: true

Size: 1.57 KB

Versions: 8

Compression:

Stored size: 1.57 KB

Contents

Removing a Symbolic Link is also done from the properties view of the page containing the link.  Each link in the list will have an '''Unlink''' link that will perform the removal of the link.  The link contains a URL of the form:

!-<pre><b>http://host/PathToPage?responder=symlink&remove=</b>-!''nameOfLink''!-</pre>-!

But first we need to create a link to remove.
!include CreateRelativeSymbolicLink

When we look at the properties page we'll see the Unlink link.
!|Response Requester.          |
|uri                   |status?|
|LinkingPage?properties|200    |

!|Response Examiner.                                                                |
|type    |pattern                                                |matches?|contents?|
|contents|<a href="\?responder=symlink&removal=SymLink">Unlink</a>|true    |         |

Now click the '''remove''' link.
!|Response Requester.                                 |
|uri                                          |status?|
|LinkingPage?responder=symlink&removal=SymLink|303    |

This should remove 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 no longer be listed.
!|Response Requester.                    |
|uri                   |status?|contents?|
|LinkingPage?properties|200    |         |


!|Response Examiner.      |
|type    |pattern|matches?|
|contents|SymLink|false   |

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
xcfit-0.9.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteSymbolicLinkTests/TestRemovingSymbolicLink/content.txt
xcfit-0.8.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteSymbolicLinkTests/TestRemovingSymbolicLink/content.txt
xcfit-0.7.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteSymbolicLinkTests/TestRemovingSymbolicLink/content.txt
xcfit-0.6.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteSymbolicLinkTests/TestRemovingSymbolicLink/content.txt
xcfit-0.5.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteSymbolicLinkTests/TestRemovingSymbolicLink/content.txt
xcfit-0.4.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteSymbolicLinkTests/TestRemovingSymbolicLink/content.txt
xcfit-0.3.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteSymbolicLinkTests/TestRemovingSymbolicLink/content.txt
xcfit-0.2.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteSymbolicLinkTests/TestRemovingSymbolicLink/content.txt