poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cen...@apache.org
Subject svn commit: r1786432 - in /poi/trunk: src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java test-data/spreadsheet/named-cell-in-formula-test.xls test-data/spreadsheet/named-cell-test.xls
Date Fri, 10 Mar 2017 20:14:00 GMT
Author: centic
Date: Fri Mar 10 20:14:00 2017
New Revision: 1786432

URL: http://svn.apache.org/viewvc?rev=1786432&view=rev
Log:
Add tests from bug 45353 to show that this now works fine

Added:
    poi/trunk/test-data/spreadsheet/named-cell-in-formula-test.xls
    poi/trunk/test-data/spreadsheet/named-cell-test.xls
Modified:
    poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java

Modified: poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java?rev=1786432&r1=1786431&r2=1786432&view=diff
==============================================================================
--- poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java (original)
+++ poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java Fri Mar 10 20:14:00
2017
@@ -3080,4 +3080,18 @@ public final class TestBugs extends Base
         //fos.close();
         wb.close();
     }
+
+    @Test
+    public void test45353a() throws IOException {
+        final Workbook wb = HSSFTestDataSamples.openSampleWorkbook("named-cell-in-formula-test.xls");
+        wb.getCreationHelper().createFormulaEvaluator().evaluateAll();
+        wb.close();
+    }
+
+    @Test
+    public void test45353b() throws IOException {
+        final Workbook wb = HSSFTestDataSamples.openSampleWorkbook("named-cell-test.xls");
+        wb.getCreationHelper().createFormulaEvaluator().evaluateAll();
+        wb.close();
+    }
 }

Added: poi/trunk/test-data/spreadsheet/named-cell-in-formula-test.xls
URL: http://svn.apache.org/viewvc/poi/trunk/test-data/spreadsheet/named-cell-in-formula-test.xls?rev=1786432&view=auto
==============================================================================
Binary files poi/trunk/test-data/spreadsheet/named-cell-in-formula-test.xls (added) and poi/trunk/test-data/spreadsheet/named-cell-in-formula-test.xls
Fri Mar 10 20:14:00 2017 differ

Added: poi/trunk/test-data/spreadsheet/named-cell-test.xls
URL: http://svn.apache.org/viewvc/poi/trunk/test-data/spreadsheet/named-cell-test.xls?rev=1786432&view=auto
==============================================================================
Binary files poi/trunk/test-data/spreadsheet/named-cell-test.xls (added) and poi/trunk/test-data/spreadsheet/named-cell-test.xls
Fri Mar 10 20:14:00 2017 differ



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message