poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From one...@apache.org
Subject svn commit: r1716338 - /poi/trunk/src/testcases/org/apache/poi/ss/usermodel/BaseTestBugzillaIssues.java
Date Wed, 25 Nov 2015 09:19:03 GMT
Author: onealj
Date: Wed Nov 25 09:19:03 2015
New Revision: 1716338

URL: http://svn.apache.org/viewvc?rev=1716338&view=rev
Log:
add failing unit test for bug 58648

Modified:
    poi/trunk/src/testcases/org/apache/poi/ss/usermodel/BaseTestBugzillaIssues.java

Modified: poi/trunk/src/testcases/org/apache/poi/ss/usermodel/BaseTestBugzillaIssues.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/usermodel/BaseTestBugzillaIssues.java?rev=1716338&r1=1716337&r2=1716338&view=diff
==============================================================================
--- poi/trunk/src/testcases/org/apache/poi/ss/usermodel/BaseTestBugzillaIssues.java (original)
+++ poi/trunk/src/testcases/org/apache/poi/ss/usermodel/BaseTestBugzillaIssues.java Wed Nov
25 09:19:03 2015
@@ -1355,4 +1355,17 @@ public abstract class BaseTestBugzillaIs
         
         wb.close();
     }
+    
+    @Ignore
+    @Test
+    public void test58648() throws IOException {
+        Workbook wb = _testDataProvider.createWorkbook();
+        Cell cell = wb.createSheet().createRow(0).createCell(0);
+        cell.setCellFormula("((1 + 1) )");
+        // fails with
+        // org.apache.poi.ss.formula.FormulaParseException: Parse error near char ... ')'
+        // in specified formula '((1 + 1) )'. Expected cell ref or constant literal
+
+        wb.close();
+    }
 }



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


Mime
View raw message