lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler (JIRA)" <>
Subject [jira] Commented: (LUCENE-2037) Allow Junit4 tests in our environment.
Date Fri, 26 Feb 2010 07:38:27 GMT


Uwe Schindler commented on LUCENE-2037:

I just committed this.

One quetsion: In JUnit3, the call to getName() always created a correct testName (because
JUnit3 took care about the current test running). If I inject one bug into a random test using
newRandom() that is not using the ctor with name param, the additional error message about
the random seed simply prints "" as test name. In the past this worked. Ideally it should
print ot the current @Test method name as before.

How to do this? I would like to have this and remove the getName() stuff from the class.

> Allow Junit4 tests in our environment.
> --------------------------------------
>                 Key: LUCENE-2037
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Other
>    Affects Versions: 3.1
>         Environment: Development
>            Reporter: Erick Erickson
>            Assignee: Michael McCandless
>            Priority: Minor
>             Fix For: 3.1
>         Attachments: junit-4.7.jar, LUCENE-2037.patch, LUCENE-2037.patch, LUCENE-2037.patch,
LUCENE-2037_remove_testwatchman.patch, LUCENE-2037_revised_2.patch
>   Original Estimate: 8h
>  Remaining Estimate: 8h
> Now that we're dropping Java 1.4 compatibility for 3.0, we can incorporate Junit4 in
testing. Junit3 and junit4 tests can coexist, so no tests should have to be rewritten. We
should start this for the 3.1 release so we can get a clean 3.0 out smoothly.
> It's probably worthwhile to convert a small set of tests as an exemplar.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message