bug 59279: add unit test for CellComment.equals and CellComment.hashCode
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1748827 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
19a0cc12fa
commit
645fbd08fc
@ -132,6 +132,10 @@ public abstract class BaseTestCellComment {
|
|||||||
assertEquals(cellColumn, comment.getColumn());
|
assertEquals(cellColumn, comment.getColumn());
|
||||||
assertFalse(comment.isVisible());
|
assertFalse(comment.isVisible());
|
||||||
|
|
||||||
|
// Test Comment.equals and Comment.hashCode
|
||||||
|
assertEquals(comment, cell.getCellComment());
|
||||||
|
assertEquals(comment.hashCode(), cell.getCellComment().hashCode());
|
||||||
|
|
||||||
wb3.close();
|
wb3.close();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user