[jira] [Commented] (LUCENE-4038) some testcases not executed by 'ant test'
[ https://issues.apache.org/jira/browse/LUCENE-4038?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13270307#comment-13270307 ] Dawid Weiss commented on LUCENE-4038: - That's the way it's always been -- I didn't change it when switching to junit4 (I think). some testcases not executed by 'ant test' - Key: LUCENE-4038 URL: https://issues.apache.org/jira/browse/LUCENE-4038 Project: Lucene - Java Issue Type: Bug Reporter: Robert Muir Fix For: 4.0 Look under 'spatial', RecursivePrefixTreeStrategyTestCase and TwoDoublesStrategyTestCase don't get invoked. I suspect this is something in junit4 that doesnt like the fact that these classes extend a base class that takes a generic type? Because if i just click 'run tests' from this folder in my IDE, then they run. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (LUCENE-4038) some testcases not executed by 'ant test'
[ https://issues.apache.org/jira/browse/LUCENE-4038?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13269518#comment-13269518 ] Robert Muir commented on LUCENE-4038: - oh duh... its much simpler, its the naming (*TestCase). some testcases not executed by 'ant test' - Key: LUCENE-4038 URL: https://issues.apache.org/jira/browse/LUCENE-4038 Project: Lucene - Java Issue Type: Bug Reporter: Robert Muir Look under 'spatial', RecursivePrefixTreeStrategyTestCase and TwoDoublesStrategyTestCase don't get invoked. I suspect this is something in junit4 that doesnt like the fact that these classes extend a base class that takes a generic type? Because if i just click 'run tests' from this folder in my IDE, then they run. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (LUCENE-4038) some testcases not executed by 'ant test'
[ https://issues.apache.org/jira/browse/LUCENE-4038?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13269542#comment-13269542 ] Dawid Weiss commented on LUCENE-4038: - Yep, the naming convention is one level up from the runner (it's at the ant's level). Theoretically it could be possible to determine if a class is a test class or not (it's what eclipse does when you run a package for example) but it'd add an unnecessary overhead to the runner. I don't think it makes much sense. some testcases not executed by 'ant test' - Key: LUCENE-4038 URL: https://issues.apache.org/jira/browse/LUCENE-4038 Project: Lucene - Java Issue Type: Bug Reporter: Robert Muir Fix For: 4.0 Look under 'spatial', RecursivePrefixTreeStrategyTestCase and TwoDoublesStrategyTestCase don't get invoked. I suspect this is something in junit4 that doesnt like the fact that these classes extend a base class that takes a generic type? Because if i just click 'run tests' from this folder in my IDE, then they run. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (LUCENE-4038) some testcases not executed by 'ant test'
[ https://issues.apache.org/jira/browse/LUCENE-4038?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13270148#comment-13270148 ] David Smiley commented on LUCENE-4038: -- I'm a little confused. I looked at the svn commit and I see the *TestCase was removed from the class names... and this fixed the problem presumably. Weird; I would have thought the issue would be the reverse. some testcases not executed by 'ant test' - Key: LUCENE-4038 URL: https://issues.apache.org/jira/browse/LUCENE-4038 Project: Lucene - Java Issue Type: Bug Reporter: Robert Muir Fix For: 4.0 Look under 'spatial', RecursivePrefixTreeStrategyTestCase and TwoDoublesStrategyTestCase don't get invoked. I suspect this is something in junit4 that doesnt like the fact that these classes extend a base class that takes a generic type? Because if i just click 'run tests' from this folder in my IDE, then they run. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (LUCENE-4038) some testcases not executed by 'ant test'
[ https://issues.apache.org/jira/browse/LUCENE-4038?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13270152#comment-13270152 ] Robert Muir commented on LUCENE-4038: - take another look, i put Test* in front of these. Test classes must be Test* or *Test to execute. some testcases not executed by 'ant test' - Key: LUCENE-4038 URL: https://issues.apache.org/jira/browse/LUCENE-4038 Project: Lucene - Java Issue Type: Bug Reporter: Robert Muir Fix For: 4.0 Look under 'spatial', RecursivePrefixTreeStrategyTestCase and TwoDoublesStrategyTestCase don't get invoked. I suspect this is something in junit4 that doesnt like the fact that these classes extend a base class that takes a generic type? Because if i just click 'run tests' from this folder in my IDE, then they run. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (LUCENE-4038) some testcases not executed by 'ant test'
[ https://issues.apache.org/jira/browse/LUCENE-4038?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13270154#comment-13270154 ] David Smiley commented on LUCENE-4038: -- Ah, thanks Rob. some testcases not executed by 'ant test' - Key: LUCENE-4038 URL: https://issues.apache.org/jira/browse/LUCENE-4038 Project: Lucene - Java Issue Type: Bug Reporter: Robert Muir Fix For: 4.0 Look under 'spatial', RecursivePrefixTreeStrategyTestCase and TwoDoublesStrategyTestCase don't get invoked. I suspect this is something in junit4 that doesnt like the fact that these classes extend a base class that takes a generic type? Because if i just click 'run tests' from this folder in my IDE, then they run. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org