aboutsummaryrefslogtreecommitdiffstats
path: root/src/ooxml/testcases/org/apache/poi/xssf
diff options
context:
space:
mode:
authorNick Burch <nick@apache.org>2015-07-31 22:07:58 +0000
committerNick Burch <nick@apache.org>2015-07-31 22:07:58 +0000
commite4c9b7ca513ac0f6eccdd23caa808b86c8ec255e (patch)
tree3efcfd3b7bdf82a16b615cf09082a05752bb626b /src/ooxml/testcases/org/apache/poi/xssf
parent52877b8368d4b5c56eff4b826e3940039bfd8649 (diff)
downloadpoi-e4c9b7ca513ac0f6eccdd23caa808b86c8ec255e.tar.gz
poi-e4c9b7ca513ac0f6eccdd23caa808b86c8ec255e.zip
Start re-enabling some SXSSF formula evaluation tests, with required fixes #58200
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1693662 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/ooxml/testcases/org/apache/poi/xssf')
-rw-r--r--src/ooxml/testcases/org/apache/poi/xssf/streaming/TestSXSSFCell.java46
1 files changed, 0 insertions, 46 deletions
diff --git a/src/ooxml/testcases/org/apache/poi/xssf/streaming/TestSXSSFCell.java b/src/ooxml/testcases/org/apache/poi/xssf/streaming/TestSXSSFCell.java
index 86fda394cc..25f1d19179 100644
--- a/src/ooxml/testcases/org/apache/poi/xssf/streaming/TestSXSSFCell.java
+++ b/src/ooxml/testcases/org/apache/poi/xssf/streaming/TestSXSSFCell.java
@@ -30,7 +30,6 @@ import org.apache.poi.xssf.SXSSFITestDataProvider;
import org.apache.poi.xssf.usermodel.XSSFCell;
import org.apache.poi.xssf.usermodel.XSSFWorkbook;
import org.apache.xmlbeans.XmlCursor;
-import org.junit.Ignore;
import org.openxmlformats.schemas.spreadsheetml.x2006.main.CTRst;
/**
@@ -48,51 +47,6 @@ public class TestSXSSFCell extends BaseTestXCell {
SXSSFITestDataProvider.instance.cleanup();
}
- /**
- * this test involves evaluation of formulas which isn't supported for SXSSF
- */
- @Override
- public void testConvertStringFormulaCell() {
- try {
- super.testConvertStringFormulaCell();
- fail("expected exception");
- } catch (IllegalArgumentException e){
- assertEquals(
- "Unexpected type of cell: class org.apache.poi.xssf.streaming.SXSSFCell. " +
- "Only XSSFCells can be evaluated.", e.getMessage());
- } catch (ClassCastException e) {} // TODO Temporary workaround during #58200
- }
-
- /**
- * this test involves evaluation of formulas which isn't supported for SXSSF
- */
- @Override
- public void testSetTypeStringOnFormulaCell() {
- try {
- super.testSetTypeStringOnFormulaCell();
- fail("expected exception");
- } catch (IllegalArgumentException e){
- assertEquals(
- "Unexpected type of cell: class org.apache.poi.xssf.streaming.SXSSFCell. " +
- "Only XSSFCells can be evaluated.", e.getMessage());
- } catch (ClassCastException e) {} // TODO Temporary workaround during #58200
- }
-
- /**
- * this test involves evaluation of formulas which isn't supported for SXSSF
- */
- @Override
- public void testGetErrorCellValueFromFormulaCell() {
- try {
- super.testConvertStringFormulaCell();
- fail("expected exception");
- } catch (IllegalArgumentException e){
- assertEquals(
- "Unexpected type of cell: class org.apache.poi.xssf.streaming.SXSSFCell. " +
- "Only XSSFCells can be evaluated.", e.getMessage());
- } catch (ClassCastException e) {} // TODO Temporary workaround during #58200
- }
-
public void testPreserveSpaces() throws IOException {
String[] samplesWithSpaces = {
" POI",