mirror of https://github.com/apache/poi.git
added a unit test and closed bug #28774
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@649142 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
42adcb4cf8
commit
4fdf2061e6
Binary file not shown.
|
@ -877,4 +877,15 @@ public final class TestBugs extends TestCase {
|
|||
}
|
||||
assertEquals(713, rowsSeen);
|
||||
}
|
||||
|
||||
/**
|
||||
* Bug 28774: Excel will crash when opening xls-files with images.
|
||||
*/
|
||||
public void test28774() {
|
||||
|
||||
HSSFWorkbook wb = openSample("28774.xls");
|
||||
assertTrue("no errors reading sample xls", true);
|
||||
writeOutAndReadBack(wb);
|
||||
assertTrue("no errors writing sample xls", true);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue