FitNesse. FitLibraryUserGuide. TreeList.
AnotherTreeExample
fitlibrary.specify.CalculateFixtureUnderTest
1 2   +
a b  
  • a
  • b
A
  • a
B
  • b
 
  • A
    • a
  • B
    • b

Here's the relevant code:

public class CalculateFixtureUnderTest extends fit.CalculateFixture {
	public ListTree plus12(ListTree t1, ListTree t2) {
		return new ListTree("", new ListTree[]{ t1, t2 });
	}
} 





[ User Guide] [.FrontPage] [.RecentChanges]