lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrien Grand <jpou...@gmail.com>
Subject Re: svn commit: r1441764 - /lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/index/BaseTermVectorsFormatTestCase.java
Date Sat, 02 Feb 2013 23:43:00 GMT
On Sat, Feb 2, 2013 at 5:35 PM, Uwe Schindler <uwe@thetaphi.de> wrote:
> throw (AssertionError)  (new AssertionError("One thread threw an exception").initCause(exception.get()));
>
> also works. But inside JUnit the following is better:
> assertNull("One thread threw an exception", exception.get());

Thanks for the tip, Uwe! I just committed!

--
Adrien

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message