Disabled unit test for bug #59746, test file from Rob Owen

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1749963 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Nick Burch 2016-06-23 18:44:34 +00:00
parent b6399c2754
commit cf9d309cde
2 changed files with 15 additions and 0 deletions

View File

@ -3082,4 +3082,19 @@ public final class TestXSSFBugs extends BaseTestBugzillaIssues {
Cell P16 = row.getCell(P); Cell P16 = row.getCell(P);
assertEquals(10.0, P16.getNumericCellValue(), 0.00001); assertEquals(10.0, P16.getNumericCellValue(), 0.00001);
} }
/**
* Files produced by some scientific equipment neglect
* to include the row number on the row tags
*/
@Test
@Ignore("Not yet supported")
public void noRowNumbers59746() {
Workbook wb = XSSFTestDataSamples.openSampleWorkbook("59746_NoRowNums.xlsx");
Sheet sheet = wb.getSheetAt(0);
assertTrue("Last row num: "+sheet.getLastRowNum(), sheet.getLastRowNum()>20);
assertEquals("Checked", sheet.getRow(0).getCell(0).getStringCellValue());
assertEquals("Checked", sheet.getRow(9).getCell(2).getStringCellValue());
assertEquals(false, sheet.getRow(70).getCell(8).getBooleanCellValue());
}
} }

Binary file not shown.