@Override public FakeExample addChild() { return addChild(newChild()); }
public AnnotationTable annotations() { FakeExample example = new Tables(); example.addChild(new Rows()); example.addChild(( Rows ) table.at(0, 0)); FakeSpecification specification = new FakeSpecification(example); interpreter.interpret(specification); prepareRWIE(specification.stats()); return new AnnotationTable(table); }
public void enterRow(String val) { enterRow = val; SetupInterpreter setup = new SetupInterpreter(new PlainOldFixture(new MyFixture(this))); FakeExample table = new Tables(); table.addChild(new Rows()); table.addChild(new Rows(headers(row))); table.addChild(row); FakeSpecification fakeSpecification = new FakeSpecification(table); setup.interpret(fakeSpecification); prepareRWIE(fakeSpecification.stats()); }
public void enterRow(String val) { enterRow = val; DoSetupInterpreter setup = new DoSetupInterpreter(new PlainOldFixture(new MyFixture(enterRow))); FakeExample table = new Tables(); table.addChild(new Rows()); table.addChild(row); FakeSpecification fakeSpecification = new FakeSpecification(table); setup.interpret(fakeSpecification); prepareRWIE(fakeSpecification.stats()); }