Add simple unit test to verify that Bug 42016 was fixed already by some other fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1614135 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
379214975e
commit
a9f946ef70
@ -2722,4 +2722,13 @@ public final class TestBugs extends BaseTestBugzillaIssues {
|
||||
FormulaEvaluator eval = wb.getCreationHelper().createFormulaEvaluator();
|
||||
assertEquals("4.0", eval.evaluate(intF).formatAsString());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void bug42016() {
|
||||
Workbook wb = openSample("42016.xls");
|
||||
Sheet s = wb.getSheetAt(0);
|
||||
for(int row = 0;row < 7;row++) {
|
||||
assertEquals("A$1+B$1", s.getRow(row).getCell(2).getCellFormula());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
BIN
test-data/spreadsheet/42016.xls
Normal file
BIN
test-data/spreadsheet/42016.xls
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user