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 2015/11/25 10:19:03 UTC

svn commit: r1716338 - /poi/trunk/src/testcases/org/apache/poi/ss/usermodel/BaseTestBugzillaIssues.java

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