lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dawid Weiss <>
Subject Re: Clean-jars.
Date Tue, 15 May 2012 21:27:50 GMT
> After updating, I ran through all of the module test run configurations on IntelliJ, and
one test failed:

Eh. This one is again a test that normally shouldn't be included in
the suite (nested class). It is meant to fail because it's actually
testing that assertion in LuceneTestCase... I'll see what I can do.


> --------
> java.lang.RuntimeException: There are overridden methods annotated with org.junit.Before.
These methods would not be executed by JUnit and need to manually chain themselves which can
lead to maintenance problems. Consider using different method names or make hook methods private.
> Method: public void org.apache.lucene.util.junitcompat.TestBeforeAfterOverrides$Before1.before()#before[]
possibly overriden by public void org.apache.lucene.util.junitcompat.TestBeforeAfterOverrides$Before3.before()#before[]
>        at org.apache.lucene.util.ValidateNoInstanceHooksOverrides.checkNoShadows(
>        at org.apache.lucene.util.ValidateNoInstanceHooksOverrides.validate(
>        at com.carrotsearch.randomizedtesting.RandomizedRunner.runCustomValidators(
>        at com.carrotsearch.randomizedtesting.RandomizedRunner.runSuite(
>        at com.carrotsearch.randomizedtesting.RandomizedRunner.access$400(
>        at com.carrotsearch.randomizedtesting.RandomizedRunner$
> --------
> Steve
> -----Original Message-----
> From: Dawid Weiss []
> Sent: Tuesday, May 15, 2012 2:57 PM
> To:
> Subject: Clean-jars.
> I've updated a jar dependency version -- you need to:
> ant clean-jars resolve
> Does anybody have anything against it if I make 'ant eclipse' depend on 'clean-jars resolve'
sequence? I am also tempted to make ant clean perform a cleanup of jar files since anything
else (ant test, etc.) does a resolve anyway...
> Dawid
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: For additional commands, e-mail:

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

View raw message