mirror of https://github.com/apache/poi.git
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:
parent
cb800acd83
commit
962d0829f1
|
@ -606,6 +606,16 @@ public final class TestXSSFFormulaEvaluation extends BaseTestFormulaEvaluator {
|
||||||
wb.close();
|
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 row 0-based
|
||||||
* @param column 0-based
|
* @param column 0-based
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue