diff options
author | Javen O'Neal <onealj@apache.org> | 2015-11-06 04:58:35 +0000 |
---|---|---|
committer | Javen O'Neal <onealj@apache.org> | 2015-11-06 04:58:35 +0000 |
commit | 5da79f40e104c0b1f06a65ebdab127c1600d7aeb (patch) | |
tree | fd6420ce717337b1c891e462ab97198488c855ae /src/testcases/org/apache/poi/ss/formula | |
parent | 2b2944a4dae79467c864533286794b0ef73bd242 (diff) | |
download | poi-5da79f40e104c0b1f06a65ebdab127c1600d7aeb.tar.gz poi-5da79f40e104c0b1f06a65ebdab127c1600d7aeb.zip |
remove deprecated ErrorConstants usage in TestWorkbookEvaluator
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1712910 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/testcases/org/apache/poi/ss/formula')
-rw-r--r-- | src/testcases/org/apache/poi/ss/formula/TestWorkbookEvaluator.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/testcases/org/apache/poi/ss/formula/TestWorkbookEvaluator.java b/src/testcases/org/apache/poi/ss/formula/TestWorkbookEvaluator.java index b28b7c68df..3872c7dfae 100644 --- a/src/testcases/org/apache/poi/ss/formula/TestWorkbookEvaluator.java +++ b/src/testcases/org/apache/poi/ss/formula/TestWorkbookEvaluator.java @@ -44,7 +44,6 @@ import org.apache.poi.hssf.usermodel.HSSFSheet; import org.apache.poi.hssf.usermodel.HSSFWorkbook; import org.apache.poi.ss.usermodel.Cell; import org.apache.poi.ss.usermodel.CellValue; -import org.apache.poi.ss.usermodel.ErrorConstants; import org.apache.poi.ss.usermodel.FormulaEvaluator; import org.apache.poi.ss.usermodel.Name; import org.apache.poi.ss.usermodel.Row; @@ -243,7 +242,7 @@ public class TestWorkbookEvaluator { throw new RuntimeException(e); } assertEquals(Cell.CELL_TYPE_ERROR, cv.getCellType()); - assertEquals(ErrorConstants.ERROR_VALUE, cv.getErrorValue()); + assertEquals(ErrorEval.VALUE_INVALID.getErrorCode(), cv.getErrorValue()); // verify circular refs are still detected properly fe.clearAllCachedResultValues(); |