use of org.openxmlformats.schemas.spreadsheetml.x2006.main.CTRow in project poi by apache.
the class TestUnfixedBugs method checkRow57423.
private void checkRow57423(Sheet testSheet, int rowNum, String contents) {
Row row = testSheet.getRow(rowNum);
assertNotNull("Expecting row at rownum " + rowNum, row);
CTRow ctRow = ((XSSFRow) row).getCTRow();
assertEquals(rowNum + 1, ctRow.getR());
Cell cell = row.getCell(0);
assertNotNull("Expecting cell at rownum " + rowNum, cell);
assertEquals("Did not have expected contents at rownum " + rowNum, contents + ".0", cell.toString());
}
Aggregations