mirror of
https://github.com/apache/poi.git
synced 2026-02-27 20:40:08 +08:00
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
76174aae82
commit
38f23e4c0e
@ -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…
x
Reference in New Issue
Block a user