poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n...@apache.org
Subject svn commit: r1693676 - in /poi/trunk: src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFBugs.java test-data/spreadsheet/57181.xlsm
Date Sat, 01 Aug 2015 00:25:20 GMT
Author: nick
Date: Sat Aug  1 00:25:20 2015
New Revision: 1693676

URL: http://svn.apache.org/r1693676
Log:
Unit test for bug #57181

Added:
    poi/trunk/test-data/spreadsheet/57181.xlsm   (with props)
Modified:
    poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFBugs.java

Modified: poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFBugs.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFBugs.java?rev=1693676&r1=1693675&r2=1693676&view=diff
==============================================================================
--- poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFBugs.java (original)
+++ poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFBugs.java Sat Aug
 1 00:25:20 2015
@@ -2487,4 +2487,13 @@ public final class TestXSSFBugs extends
         
         wb.close();
     }
+    
+    /**
+     * Excel 2007 generated Macro-Enabled .xlsm file
+     */
+    @Test
+    public void bug57181() throws Exception {
+        XSSFWorkbook wb = XSSFTestDataSamples.openSampleWorkbook("57181.xlsm");
+        assertEquals(9, wb.getNumberOfSheets());
+    }
 }

Added: poi/trunk/test-data/spreadsheet/57181.xlsm
URL: http://svn.apache.org/viewvc/poi/trunk/test-data/spreadsheet/57181.xlsm?rev=1693676&view=auto
==============================================================================
Binary file - no diff available.

Propchange: poi/trunk/test-data/spreadsheet/57181.xlsm
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message