aboutsummaryrefslogtreecommitdiffstats
path: root/src/testcases/org/apache/poi/hssf/usermodel
diff options
context:
space:
mode:
authorNick Burch <nick@apache.org>2014-07-18 18:30:16 +0000
committerNick Burch <nick@apache.org>2014-07-18 18:30:16 +0000
commit9b36a0dd9ff5f934aae217179b78e5526ffaab0e (patch)
tree295614e627fe402161a42c14a1ad3205e3f5cc14 /src/testcases/org/apache/poi/hssf/usermodel
parent6372368ef3a78b729ae14fcd3d9090c39e00785e (diff)
downloadpoi-9b36a0dd9ff5f934aae217179b78e5526ffaab0e.tar.gz
poi-9b36a0dd9ff5f934aae217179b78e5526ffaab0e.zip
Start to support formula parsing of sheet-specified named ranges, required for a full fix to bug #56737
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1611753 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/testcases/org/apache/poi/hssf/usermodel')
-rw-r--r--src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java b/src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java
index 9421b56348..4607407eb2 100644
--- a/src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java
+++ b/src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java
@@ -2678,5 +2678,9 @@ public final class TestBugs extends BaseTestBugzillaIssues {
// Try to evaluate everything
eval.evaluateAll();
+
+ // Try to set the same kinds of formula elsewhere
+ Cell newF = s.getRow(0).createCell(10, Cell.CELL_TYPE_FORMULA);
+ newF.setCellFormula("Defines!NR_To_A1");
}
}