diff options
author | PJ Fanning <fanningpj@apache.org> | 2023-11-07 12:23:53 +0000 |
---|---|---|
committer | PJ Fanning <fanningpj@apache.org> | 2023-11-07 12:23:53 +0000 |
commit | 76b1a6fee4c78ec334fbdd729ae5c9d2957ae9c5 (patch) | |
tree | c08eb23f4a200d741564a6b20f6a5d036f1fc12b /poi | |
parent | c9506f0f3911c5710a8e8c4c0945d0a6e227d308 (diff) | |
download | poi-76b1a6fee4c78ec334fbdd729ae5c9d2957ae9c5.tar.gz poi-76b1a6fee4c78ec334fbdd729ae5c9d2957ae9c5.zip |
try to fix broken sxssf tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913651 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi')
-rw-r--r-- | poi/src/test/java/org/apache/poi/ss/usermodel/BaseTestCell.java | 2 | ||||
-rw-r--r-- | poi/src/test/java/org/apache/poi/ss/usermodel/BaseTestFormulaEvaluator.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/poi/src/test/java/org/apache/poi/ss/usermodel/BaseTestCell.java b/poi/src/test/java/org/apache/poi/ss/usermodel/BaseTestCell.java index 71cbfbb7e9..e69b5abbb2 100644 --- a/poi/src/test/java/org/apache/poi/ss/usermodel/BaseTestCell.java +++ b/poi/src/test/java/org/apache/poi/ss/usermodel/BaseTestCell.java @@ -1408,7 +1408,7 @@ public abstract class BaseTestCell { } @Test - void setCellType_FORMULA_onAnArrayFormulaCell_doesNothing() throws IOException { + protected void setCellType_FORMULA_onAnArrayFormulaCell_doesNothing() throws IOException { try (Workbook wb = _testDataProvider.createWorkbook()) { Cell cell = getInstance(wb); cell.getSheet().setArrayFormula("3", CellRangeAddress.valueOf("A1:A2")); diff --git a/poi/src/test/java/org/apache/poi/ss/usermodel/BaseTestFormulaEvaluator.java b/poi/src/test/java/org/apache/poi/ss/usermodel/BaseTestFormulaEvaluator.java index 8f621a1428..def6e2c185 100644 --- a/poi/src/test/java/org/apache/poi/ss/usermodel/BaseTestFormulaEvaluator.java +++ b/poi/src/test/java/org/apache/poi/ss/usermodel/BaseTestFormulaEvaluator.java @@ -117,7 +117,7 @@ public abstract class BaseTestFormulaEvaluator { } @Test - void testSharedFormulas() throws IOException { + protected void testSharedFormulas() throws IOException { String fileName = "shared_formulas.xls" + (getClass().getName().contains("xssf") ? "x" : ""); try (Workbook wb = _testDataProvider.openSampleWorkbook(fileName)) { |