bug 57721: add unit test for evaluating all formulas in a workbook containing structured reference formulas; patch from gruber.chri@gmx.at

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1747740 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Javen O'Neal 2016-06-10 16:36:59 +00:00
parent db6ceaa7fa
commit ce5eccd8f5
2 changed files with 10 additions and 0 deletions

View File

@ -606,6 +606,16 @@ public final class TestXSSFFormulaEvaluation extends BaseTestFormulaEvaluator {
wb.close();
}
// bug 57721
@Test
public void structuredReferences() throws IOException {
XSSFWorkbook wb = XSSFTestDataSamples.openSampleWorkbook("evaluate_formula_with_structured_table_references.xlsx");
XSSFFormulaEvaluator.evaluateAllFormulaCells(wb);
wb.close();
}
/**
* @param row 0-based
* @param column 0-based