From 05a6cf3263f262473ae0affdb7e234029efec9db Mon Sep 17 00:00:00 2001 From: Dominik Stadler Date: Tue, 23 May 2017 21:13:02 +0000 Subject: 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 --- .../org/apache/poi/ss/formula/functions/TestTFunc.java | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'src/testcases/org/apache/poi/ss/formula/functions') 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); -- cgit v1.2.3