Browse Source

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
tags/REL_3_15_BETA2
Javen O'Neal 8 years ago
parent
commit
962d0829f1

+ 10
- 0
src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFFormulaEvaluation.java 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

BIN
test-data/spreadsheet/evaluate_formula_with_structured_table_references.xlsx View File


Loading…
Cancel
Save