]> source.dussan.org Git - poi.git/commitdiff
Add another test file for bug #47251, from Joe Yuan, and a disabled test
authorNick Burch <nick@apache.org>
Tue, 1 Apr 2014 23:27:05 +0000 (23:27 +0000)
committerNick Burch <nick@apache.org>
Tue, 1 Apr 2014 23:27:05 +0000 (23:27 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1583825 13f79535-47bb-0310-9956-ffa450edef68

src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java
test-data/spreadsheet/47251_1.xls [new file with mode: 0644]

index 755adb67928572212dd5ea8c87fb522df1e8f0db..bc234d2a9c926f3ec55dcc71bc19ee282425752c 100644 (file)
@@ -1643,7 +1643,12 @@ public final class TestBugs extends BaseTestBugzillaIssues {
 
     @Test
     public void bug47251() {
+        // Firstly, try with one that triggers on InterfaceHdrRecord
         openSample("47251.xls");
+        
+        // Now with one that triggers on NoteRecord
+        // TODO Fix the bug and enable this bit of the test
+        //openSample("47251_1.xls");
     }
     
     /**
diff --git a/test-data/spreadsheet/47251_1.xls b/test-data/spreadsheet/47251_1.xls
new file mode 100644 (file)
index 0000000..7192fed
Binary files /dev/null and b/test-data/spreadsheet/47251_1.xls differ