You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by on...@apache.org on 2016/06/10 16:36:59 UTC
svn commit: r1747740 - in /poi/trunk:
src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFFormulaEvaluation.java
test-data/spreadsheet/evaluate_formula_with_structured_table_references.xlsx
Author: onealj
Date: Fri Jun 10 16:36:59 2016
New Revision: 1747740
URL: http://svn.apache.org/viewvc?rev=1747740&view=rev
Log:
bug 57721: add unit test for evaluating all formulas in a workbook containing structured reference formulas; patch from gruber.chri@gmx.at
Added:
poi/trunk/test-data/spreadsheet/evaluate_formula_with_structured_table_references.xlsx (with props)
Modified:
poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFFormulaEvaluation.java
Modified: poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFFormulaEvaluation.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFFormulaEvaluation.java?rev=1747740&r1=1747739&r2=1747740&view=diff
==============================================================================
--- poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFFormulaEvaluation.java (original)
+++ poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFFormulaEvaluation.java Fri Jun 10 16:36:59 2016
@@ -606,6 +606,16 @@ public final class TestXSSFFormulaEvalua
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
Added: poi/trunk/test-data/spreadsheet/evaluate_formula_with_structured_table_references.xlsx
URL: http://svn.apache.org/viewvc/poi/trunk/test-data/spreadsheet/evaluate_formula_with_structured_table_references.xlsx?rev=1747740&view=auto
==============================================================================
Binary file - no diff available.
Propchange: poi/trunk/test-data/spreadsheet/evaluate_formula_with_structured_table_references.xlsx
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org