Skip to content

Commit

Permalink
poi: Add tests from bug 45353 to show that this now works fine
Browse files Browse the repository at this point in the history
  • Loading branch information
antony-liu committed Dec 22, 2024
1 parent a85cebf commit e5b9b84
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions testcases/main/HSSF/UserModel/TestBugs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3482,6 +3482,22 @@ public void Test53564()
}


[Test]
public void Test45353a()
{
IWorkbook wb = HSSFTestDataSamples.OpenSampleWorkbook("named-cell-in-formula-test.xls");
wb.GetCreationHelper().CreateFormulaEvaluator().EvaluateAll();
wb.Close();
}

[Test]
public void Test45353b()
{
IWorkbook wb = HSSFTestDataSamples.OpenSampleWorkbook("named-cell-test.xls");
wb.GetCreationHelper().CreateFormulaEvaluator().EvaluateAll();
wb.Close();
}

// follow https://svn.apache.org/viewvc?view=revision&revision=1896552 to write a unit test for this fix.
[Test]
public void Test52447()
Expand Down
Binary file not shown.
Binary file not shown.

0 comments on commit e5b9b84

Please sign in to comment.