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/10 05:15:42 UTC

[jira] [Created] (OPENNLP-1016) Add more tests for StringList

Koji Sekiguchi created OPENNLP-1016:
---------------------------------------

             Summary: 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


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)