Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)

Import
fitnesse.fixtures

SetUp

Included page: CreateNestedBackSymbolicLink (edit)

Create an nested backward symbolic link from a sub-page:

First we need to create some pages to play with.
Page creator.
Page name. PageContents. valid?
LinkingPage LINKING PAGE true
LinkingPage.LinkingChild LINKING CHILD true
LinkingPage.LinkingChild.LinkingGrandChild LINKING GRAND CHILD true
LinkingPage.LinkingChild.LinkingGrandChild.LinkingGreatGrandChild LINKING GREAT GRAND CHILD true
LinkingPage.LinkingChild.LinkedChild LINKED CHILD true

Now we create a symbolic link named SymLink. This links LinkedPage.LinkedChild as a child of LinkingPage.LinkingChild.
Response Requester.
uri status?
LinkingPage.LinkingChild.LinkingGrandChild.LinkingGreatGrandChild?responder=symlink&linkName=SymLink&linkPath=<LinkingChild.LinkedChild 303

Creating a symlink will redirect back to the properties page.
Response Examiner.
type pattern matches? contents?
contents Location: /LinkingPage.LinkingChild.LinkingGrandChild.LinkingGreatGrandChild\?properties true

Let's have a look at the properties view.
Response Requester.
uri status?
LinkingPage.LinkingChild.LinkingGrandChild.LinkingGreatGrandChild?properties 200

RESPONSE DATA

Response Examiner.
type wrappedHtml?
contents


The newly created symbolic link will be listed along with a link to the linked page.
Response Examiner.
type pattern matches?
contents SymLink true
contents <a href=".LinkingPage.LinkingChild.LinkedChild"><LinkingChild.LinkedChild</a> true

Included page: .FitNesse.SuiteAcceptanceTests.TearDown (edit)



tear down