From c4eb73a28bb9c294a02e434ed370ea278cf29749 Mon Sep 17 00:00:00 2001 From: Nick Burch Date: Tue, 13 Jan 2015 09:57:46 +0000 Subject: [PATCH] Test to show that bug #57430 works fine already git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1651314 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/poi/xssf/usermodel/TestXSSFBugs.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFBugs.java b/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFBugs.java index dfbcdf02f..b6fe4433f 100644 --- a/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFBugs.java +++ b/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFBugs.java @@ -2038,4 +2038,18 @@ public final class TestXSSFBugs extends BaseTestBugzillaIssues { System.clearProperty("poi.log.level"); } } + + @Test + public void bug57430() throws Exception { + XSSFWorkbook wb = new XSSFWorkbook(); + try { + wb.createSheet("Sheet1"); + + XSSFName name1 = wb.createName(); + name1.setNameName("FMLA"); + name1.setRefersToFormula("Sheet1!$B$3"); + } finally { + wb.close(); + } + } }