diff options
author | Dominik Stadler <centic@apache.org> | 2017-05-23 21:13:02 +0000 |
---|---|---|
committer | Dominik Stadler <centic@apache.org> | 2017-05-23 21:13:02 +0000 |
commit | 05a6cf3263f262473ae0affdb7e234029efec9db (patch) | |
tree | 4d7cb56266c077322915a72b4630f4f674c8a63a /src/testcases/org/apache/poi/ss/formula/functions | |
parent | b87bc112092b6e1dc5152207c522d76b5ded9592 (diff) | |
download | poi-05a6cf3263f262473ae0affdb7e234029efec9db.tar.gz poi-05a6cf3263f262473ae0affdb7e234029efec9db.zip |
Bug 61063: Add a RefListEval to handle UnionPtg and implement it for Rank(), may be missing for other functions where ArrayEval is currently handled
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1795963 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/testcases/org/apache/poi/ss/formula/functions')
-rw-r--r-- | src/testcases/org/apache/poi/ss/formula/functions/TestTFunc.java | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/src/testcases/org/apache/poi/ss/formula/functions/TestTFunc.java b/src/testcases/org/apache/poi/ss/formula/functions/TestTFunc.java index 4e1209bfa6..7ae59a4c69 100644 --- a/src/testcases/org/apache/poi/ss/formula/functions/TestTFunc.java +++ b/src/testcases/org/apache/poi/ss/formula/functions/TestTFunc.java @@ -19,13 +19,7 @@ package org.apache.poi.ss.formula.functions; import junit.framework.TestCase; -import org.apache.poi.ss.formula.eval.AreaEval; -import org.apache.poi.ss.formula.eval.BlankEval; -import org.apache.poi.ss.formula.eval.BoolEval; -import org.apache.poi.ss.formula.eval.ErrorEval; -import org.apache.poi.ss.formula.eval.NumberEval; -import org.apache.poi.ss.formula.eval.StringEval; -import org.apache.poi.ss.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.*; /** * Test cases for Excel function T() @@ -43,6 +37,7 @@ public final class TestTFunc extends TestCase { assertNotNull("result may never be null", result); return result; } + /** * Simulates call: T(A1) * where cell A1 has the specified innerValue @@ -60,7 +55,6 @@ public final class TestTFunc extends TestCase { } public void testTextValues() { - confirmText("abc"); confirmText(""); confirmText(" "); @@ -121,8 +115,7 @@ public final class TestTFunc extends TestCase { }; AreaEval ae = EvalFactory.createAreaEval("C10:D11", areaValues); - ValueEval ve; - ve = invokeT(ae); + ValueEval ve = invokeT(ae); confirmString(ve, "abc"); areaValues[0] = new NumberEval(5.0); |