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:
Yegor Kozlov 2008-04-17 15:06:01 +00:00
parent 1cd1e8546f
commit 577b3e084f
2 changed files with 11 additions and 0 deletions

Binary file not shown.

View File

@ -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);
}
}