content.txt
2.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
!2 Every wiki page displays a series of links (breadcrumbs) to the ancestors of the current page.
* The last breadcrumb should name the current page without a link.
!3 Test top level page
* Create a top level page
|Page creator.|
|Page name.|Page contents.|Page attributes.|valid?|
|!-TopLevelPage-!|top level page||true|
* Request the page.
|Response Requester.|
|uri|valid?|contents?|
|!-TopLevelPage-!|true||
* Examine the requested page to be sure the link to itself is displayed.
!|Response Examiner.|
|type|pattern|matches?|
|contents|<h1>TopLevelPage</h1>|true|
!3 A second level page - the top level should link up, the current page should not link.
* Create a top level page
|Page creator.|
|Page name.|Page contents.|Page attributes.|valid?|
|!-TopLevelPage.SecondLevelPage-!|second level page||true|
* Request the page.
|Response Requester.|
|uri|valid?|contents?|
|!-TopLevelPage.SecondLevelPage-!|true||
* Examine the requested page to be sure the link to itself is displayed.
!|Response Examiner.|
|type|pattern|matches?|
|contents|<a href="/TopLevelPage">TopLevelPage</a>.|true|
|contents|<h1>SecondLevelPage</h1>|true|
!3 A second level page - the top four levels should link up, the current page should not link.
* Create a fifth level page
|Page creator.|
|Page name.|Page contents.|Page attributes.|valid?|
|!-TopLevelPage.SecondLevelPage.ThirdLevelPage.FourthLevelPage.FifthLevelPage-!|fifth level page||true|
* Request the page.
|Response Requester.|
|uri|valid?|contents?|
|!-TopLevelPage.SecondLevelPage.ThirdLevelPage.FourthLevelPage.FifthLevelPage-!|true||
* Examine the requested page to be sure the link to itself is displayed.
!|Response Examiner.|
|line|inOrder?|
|<li><a href="/TopLevelPage">TopLevelPage</a></li>|true|
|<li><a href="/TopLevelPage.SecondLevelPage">SecondLevelPage</a></li>|true|
|<li><a href="/TopLevelPage.SecondLevelPage.ThirdLevelPage">ThirdLevelPage</a></li>|true|
|<li><a href="/TopLevelPage.SecondLevelPage.ThirdLevelPage.FourthLevelPage">FourthLevelPage</a></li>|true|
|<h1>FifthLevelPage</h1>|true|