Sha256: bda0b5c3a84e0d67bc7d4941025f489a9b1bf8a2b10526093f0cbfcf96a2468e

Contents?: true

Size: 1.01 KB

Versions: 8

Compression:

Stored size: 1.01 KB

Contents

You can use all the standard Java data types in RowFixture and ColumnFixture.  These types are automatically translated in and out of cell contents for you.  They include:

 * String
  * A trimmed string.  You can use the keyword ''null'' or ''blank'' to mean a true java null, or an empty string respectively
 * byte or Byte
 * short or Short
 * int or Integer
 * long or Long
 * float or Float
 * double or Double
 * char or Character
 * boolean or Boolean
  * Will interpret ''true'', ''yes'', ''y'', ''+'', ''1'' to be true.
  * All else will be false.
 * Array
  * Any comma separated list of items will be converted into an array.
  * Click [[here][.FitNesse.SuiteAcceptanceTests.SuiteFixtureTests.SuiteColumnFixtureSpec.TestArraysInColumnFixture]] to see the acceptance test for this.

!3 Managing your own types with Fit.
Any user defined type that implements toString and parse will be managed correctly by RowFixture and ColumnFixture.  The signatures of these methods are:{{{String toString();
static Object parse(String s);}}}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
xcfit-0.9.0 XCFitDemo/FitNesseRoot/FitNesse/UserGuide/WritingAcceptanceTests/FitFramework/DataTypesInFixtures/content.txt
xcfit-0.8.0 XCFitDemo/FitNesseRoot/FitNesse/UserGuide/WritingAcceptanceTests/FitFramework/DataTypesInFixtures/content.txt
xcfit-0.7.0 XCFitDemo/FitNesseRoot/FitNesse/UserGuide/WritingAcceptanceTests/FitFramework/DataTypesInFixtures/content.txt
xcfit-0.6.0 XCFitDemo/FitNesseRoot/FitNesse/UserGuide/WritingAcceptanceTests/FitFramework/DataTypesInFixtures/content.txt
xcfit-0.5.0 XCFitDemo/FitNesseRoot/FitNesse/UserGuide/WritingAcceptanceTests/FitFramework/DataTypesInFixtures/content.txt
xcfit-0.4.0 XCFitDemo/FitNesseRoot/FitNesse/UserGuide/WritingAcceptanceTests/FitFramework/DataTypesInFixtures/content.txt
xcfit-0.3.0 XCFitDemo/FitNesseRoot/FitNesse/UserGuide/WritingAcceptanceTests/FitFramework/DataTypesInFixtures/content.txt
xcfit-0.2.0 XCFitDemo/FitNesseRoot/FitNesse/UserGuide/WritingAcceptanceTests/FitFramework/DataTypesInFixtures/content.txt