Blame view

test/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteWidgetTests/TestTables/content.txt 1.28 KB
fbe3c2bb   Benjamin Renard   First commit
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
55
56
57
58
59
60
61
62
!3 This page tests the construction of tables.
#
 * First create a page with comment text on it.
#
|script|
|start|Page Builder|
|line|!-|1 Row 1 Cell|-!|
|page|!-TableTestPage-!|
#
 * Then request that page
#
|Response Requester.|
|uri|valid?|contents?|
|!-TableTestPage-!|true||
#
 * Examine the page to be sure it is empty.
#
|Response Examiner.|
|type|pattern|matches?|wrapped html?|
|contents|<table.*<tr>\s*<td>\s*1 Row 1 Cell\s*</td>\s*</tr>\s*</table>|true||

'''Test that spaces inside table cells don't get interpreted.'''
|script|
|start|Page Builder|
|line|!-| 1 is not a list|-!|
|page|!-TableTestPageTwo-!|
#
#
|Response Requester.|
|uri|valid?|contents?|
|!-TableTestPageTwo-!|true||
#
#
|Response Examiner.|
|type|pattern|matches?|wrapped html?|
|contents|1 is not a list|true||
#
|Response Examiner.|
|type|pattern|matches?|
|contents|<ol>|false|
|contents|1 is not a list|true|
#

'''Test that nothing gets interpreted inside literal tables.'''
|script|
|start|Page Builder|
|line|!-!|'''bold'''|''italic''|-!|
|page|!-TableTestPageThree-!|
#
#
|Response Requester.|
|uri|valid?|contents?|
|!-TableTestPageThree-!|true||
#
#
|Response Examiner.|
|type|pattern|matches?|wrapped html?|
|contents|!-'''bold'''-!|true||
#
|Response Examiner.|
|type|pattern|matches?|
|contents|!-''italic''-!|true|