You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@opennlp.apache.org by "Koji Sekiguchi (JIRA)" <ji...@apache.org> on 2017/04/11 00:49:41 UTC
[jira] [Resolved] (OPENNLP-1016) Add more tests for StringList
[ https://issues.apache.org/jira/browse/OPENNLP-1016?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Koji Sekiguchi resolved OPENNLP-1016.
-------------------------------------
Resolution: Fixed
Thanks for committing this! :)
> Add more tests for StringList
> -----------------------------
>
> Key: OPENNLP-1016
> URL: https://issues.apache.org/jira/browse/OPENNLP-1016
> Project: OpenNLP
> Issue Type: Test
> Components: Build, Packaging and Test
> Reporter: Koji Sekiguchi
> Priority: Trivial
> Labels: test
>
> I added some tests for StringList to check:
> - the constructor which uses String.intern()
> - hashCode which should return different hashCodes if the contents are different
> - toString (testToString() already exists, but I saw it doesn't check anything :) )
> I'll post PR soon.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)