]> source.dussan.org Git - poi.git/commitdiff
testcase for bug 14460
authorAvik Sengupta <avik@apache.org>
Mon, 6 Oct 2003 17:34:10 +0000 (17:34 +0000)
committerAvik Sengupta <avik@apache.org>
Mon, 6 Oct 2003 17:34:10 +0000 (17:34 +0000)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353379 13f79535-47bb-0310-9956-ffa450edef68

src/testcases/org/apache/poi/hssf/data/14460.xls [new file with mode: 0644]
src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java

diff --git a/src/testcases/org/apache/poi/hssf/data/14460.xls b/src/testcases/org/apache/poi/hssf/data/14460.xls
new file mode 100644 (file)
index 0000000..284d684
Binary files /dev/null and b/src/testcases/org/apache/poi/hssf/data/14460.xls differ
index 45adf4dedf1548f3775a78c727fbbdc6b019f8f4..b200b123075b3330270e3987e6d553689b74172d 100644 (file)
@@ -140,6 +140,16 @@ extends TestCase {
             wb.write(fileOut);
             fileOut.close();
         }
-          
+        
+       /** test reading of a formula with a name and a cell ref in one
+        **/
+       public void test14460() throws Exception {
+        String filename = System.getProperty("HSSF.testdata.path");
+        filename=filename+"/14460.xls";
+        FileInputStream in = new FileInputStream(filename);
+            HSSFWorkbook wb = new HSSFWorkbook(in);
+            HSSFSheet sheet = wb.getSheetAt(0);
+            assertTrue("No exception throws", true);
+     }      
           
 }