diff options
author | Dominik Stadler <centic@apache.org> | 2020-04-24 20:58:38 +0000 |
---|---|---|
committer | Dominik Stadler <centic@apache.org> | 2020-04-24 20:58:38 +0000 |
commit | 4abe6ef9efc3aba727b995c24c016955d2fdbd9f (patch) | |
tree | 9065087fbb89b8cd8f202872f157e1bc305c3eab /src/testcases/org | |
parent | 52320e3213c882049a2b20f259f0c430dd0f94b8 (diff) | |
download | poi-4abe6ef9efc3aba727b995c24c016955d2fdbd9f.tar.gz poi-4abe6ef9efc3aba727b995c24c016955d2fdbd9f.zip |
Bug 63294: Add some more methods to allow to use CellType everywhere
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876948 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/testcases/org')
-rw-r--r-- | src/testcases/org/apache/poi/hssf/record/TestFormulaRecord.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/testcases/org/apache/poi/hssf/record/TestFormulaRecord.java b/src/testcases/org/apache/poi/hssf/record/TestFormulaRecord.java index 65b48ff65e..bd454365e1 100644 --- a/src/testcases/org/apache/poi/hssf/record/TestFormulaRecord.java +++ b/src/testcases/org/apache/poi/hssf/record/TestFormulaRecord.java @@ -85,7 +85,9 @@ public final class TestFormulaRecord { FormulaRecord record = new FormulaRecord(TestcaseRecordInputStream.create(FormulaRecord.sid, formulaByte)); assertEquals("Row", 0, record.getRow()); assertEquals("Column", 0, record.getColumn()); + //noinspection deprecation assertEquals(CellType.ERROR.getCode(), record.getCachedResultType()); + assertEquals(CellType.ERROR, record.getCachedResultTypeEnum()); byte[] output = record.serialize(); assertEquals("Output size", 33, output.length); //includes sid+recordlength |