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:
Dominik Stadler 2017-03-10 20:14:00 +00:00
parent 76174aae82
commit 38f23e4c0e
3 changed files with 14 additions and 0 deletions

View File

@ -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();
}
}

Binary file not shown.

Binary file not shown.