diff options
author | PJ Fanning <fanningpj@apache.org> | 2021-08-08 14:53:41 +0000 |
---|---|---|
committer | PJ Fanning <fanningpj@apache.org> | 2021-08-08 14:53:41 +0000 |
commit | 65a2e42a3d1a5d6eb4806ca259c752dfd37c1f2a (patch) | |
tree | 3c21ef0e25af674d3b9ba8392b8a5bfa5ba40b3a /poi/src/test | |
parent | 48aaf3455edb5747bfd67cf5a43a2cc18d055687 (diff) | |
download | poi-65a2e42a3d1a5d6eb4806ca259c752dfd37c1f2a.tar.gz poi-65a2e42a3d1a5d6eb4806ca259c752dfd37c1f2a.zip |
init support for XLOOKUP
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892115 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi/src/test')
-rw-r--r-- | poi/src/test/java/org/apache/poi/ss/formula/atp/TestXLookupFunction.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/poi/src/test/java/org/apache/poi/ss/formula/atp/TestXLookupFunction.java b/poi/src/test/java/org/apache/poi/ss/formula/atp/TestXLookupFunction.java index 133c0ffa7f..dbf11b7611 100644 --- a/poi/src/test/java/org/apache/poi/ss/formula/atp/TestXLookupFunction.java +++ b/poi/src/test/java/org/apache/poi/ss/formula/atp/TestXLookupFunction.java @@ -49,10 +49,7 @@ public class TestXLookupFunction { try (HSSFWorkbook wb = initWorkbook2()) { HSSFFormulaEvaluator fe = new HSSFFormulaEvaluator(wb); HSSFCell cell = wb.getSheetAt(0).getRow(0).createCell(100); - cell.setCellFormula("XLOOKUP(B2,B5:B14,C5:D14)"); - fe.notifyUpdateCell(cell); - CellValue result = fe.evaluate(cell); - //TODO add assertions + assertString(fe, cell, "XLOOKUP(B2,B5:B14,C5:D14)", "Dianne Pugh"); } } |