use of org.apache.poi.ss.formula.ptg.DeletedArea3DPtg in project poi by apache.
the class TestBugs method assertNames.
private void assertNames(HSSFWorkbook wb1, InternalWorkbook w) {
for (int i = 0; i < w.getNumNames(); i++) {
NameRecord r = w.getNameRecord(i);
assertTrue(r.getSheetNumber() <= wb1.getNumberOfSheets());
Ptg[] nd = r.getNameDefinition();
assertEquals(1, nd.length);
assertTrue(nd[0] instanceof DeletedArea3DPtg);
}
}
Aggregations