[ https://issues.apache.org/jira/browse/OPENNLP-1631?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Wiesner closed OPENNLP-1631. ----------------------------------- > Convert existing ModelLoader tests to integration tests > -------------------------------------------------------- > > Key: OPENNLP-1631 > URL: https://issues.apache.org/jira/browse/OPENNLP-1631 > Project: OpenNLP > Issue Type: Sub-task > Components: Build, Packaging and Test > Affects Versions: 2.4.0 > Reporter: Martin Wiesner > Assignee: Martin Wiesner > Priority: Minor > Fix For: 2.4.1 > > Time Spent: 0.5h > Remaining Estimate: 0h > > We have three test classes that try to load model (ud) files for certain > languages: > * POSModelLoaderTest.java > * SentenceModelLoaderTest.java > * TokenizerModelLoaderTest.java > within the _opennlp.tools.cmdline_ package. > However, those actually behave like an IT. Therefore, those should be renamed > and executed within failsafe plugin phase, separately from the JUnit > (surefire) phase. > Morever, we need to add more (all 23) supported model languages. Currently, > the integration test idea for all three classes only uses EN and DE for > testing if the corresponding model files can be loaded against the current > code base. > > -- This message was sent by Atlassian Jira (v8.20.10#820010)