From 6e31332cd1505df64ef94a3b2e67ed23138f6ae9 Mon Sep 17 00:00:00 2001 From: Avik Sengupta Date: Tue, 23 Sep 2003 18:47:12 +0000 Subject: [PATCH] testcases for bug 23094 git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353370 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/poi/hssf/model/TestFormulaParser.java | 9 +++++++++ .../org/apache/poi/hssf/usermodel/TestBugs.java | 14 +++++++++++++- 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/src/testcases/org/apache/poi/hssf/model/TestFormulaParser.java b/src/testcases/org/apache/poi/hssf/model/TestFormulaParser.java index dadab580c..a409e4b2a 100644 --- a/src/testcases/org/apache/poi/hssf/model/TestFormulaParser.java +++ b/src/testcases/org/apache/poi/hssf/model/TestFormulaParser.java @@ -297,6 +297,15 @@ public class TestFormulaParser extends TestCase { assertEquals("FOO", tname.toFormulaString(w)); } + public void testEmbeddedSlash() { + FormulaParser fp = new FormulaParser("HYPERLINK(\"http://www.jakarta.org\",\"Jakarta\");",null); + fp.parse(); + Ptg[] ptg = fp.getRPNPtg(); + for (int i=0;i