Sha256: d4b57144ed68f664dcd9488f5156861c2aecf956805e9e6a774a1b45703567c4

Contents?: true

Size: 1.28 KB

Versions: 8

Compression:

Stored size: 1.28 KB

Contents

!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|

Version data entries

8 entries across 8 versions & 1 rubygems

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