FitNesse. SuiteAcceptanceTests. SuiteFixtureTests. SuiteColumnFixtureSpec.
TestSaveAndRecallSymbol [add child]

 Set Up: .FitNesse.SuiteAcceptanceTests.SetUp (edit)

You can save and recall symbols in a ColumnFixture. You do this by using the =id? and id= syntax.



fitnesse.fixtures.ColumnFixtureTestFixture
input =output?
1 one
2 two

fitnesse.fixtures.ColumnFixtureTestFixture
input= output?
one 1
two 2

With classed integral types, there's a chance the value may be null as a correct result:
fitnesse.fixtures.ColumnFixtureTestFixture
integerInput =integerOutput?
1 one
2 two
null three

fitnesse.fixtures.ColumnFixtureTestFixture
integerInput= integerOutput?
one 1
two 2
three null


public class ColumnFixtureTestFixture extends ColumnFixture
{
public int input;
public int output() {return input;}

public Integer integerInput;
public Integer integerOutput() { return integerInput; }

public boolean exception() throws Exception {throw new Exception("I thowed up");}
}