Add tests from bug 45353 to show that this now works fine
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1786432 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c07c41659f
commit
abc3d37adc
@ -3080,4 +3080,18 @@ public final class TestBugs extends BaseTestBugzillaIssues {
|
||||
//fos.close();
|
||||
wb.close();
|
||||
}
|
||||
|
||||
@Test
|
||||
public void test45353a() throws IOException {
|
||||
final Workbook wb = HSSFTestDataSamples.openSampleWorkbook("named-cell-in-formula-test.xls");
|
||||
wb.getCreationHelper().createFormulaEvaluator().evaluateAll();
|
||||
wb.close();
|
||||
}
|
||||
|
||||
@Test
|
||||
public void test45353b() throws IOException {
|
||||
final Workbook wb = HSSFTestDataSamples.openSampleWorkbook("named-cell-test.xls");
|
||||
wb.getCreationHelper().createFormulaEvaluator().evaluateAll();
|
||||
wb.close();
|
||||
}
|
||||
}
|
||||
|
BIN
test-data/spreadsheet/named-cell-in-formula-test.xls
Normal file
BIN
test-data/spreadsheet/named-cell-in-formula-test.xls
Normal file
Binary file not shown.
BIN
test-data/spreadsheet/named-cell-test.xls
Normal file
BIN
test-data/spreadsheet/named-cell-test.xls
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user