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
1cd1e8546f
commit
577b3e084f
BIN
src/testcases/org/apache/poi/hssf/data/28774.xls
Executable file
BIN
src/testcases/org/apache/poi/hssf/data/28774.xls
Executable file
Binary file not shown.
@ -877,4 +877,15 @@ public final class TestBugs extends TestCase {
|
|||||||
}
|
}
|
||||||
assertEquals(713, rowsSeen);
|
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
Block a user