public void check(Parse cell, TypeAdapter a) { String text = cell.text(); if (text.equals("")) handleBlankCell(cell, a); else if (a == null) ignore(cell); else if (text.equals("error")) handleErrorInCell(a, cell); else compareCellToResult(a, cell); }
@Override public void doCell(Fixture fixture, Parse cell) throws Throwable { String text = ParseArg.parseCellValue(cell); if ("".equals(text)) { fixture.handleBlankCell(cell, adapter); } Object o = adapter.parse(text); adapter.set(o); }