lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Lucene-java Wiki] Update of "TestIdeas" by MikeMcCandless
Date Tue, 20 Mar 2012 16:21:23 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Lucene-java Wiki" for change notification.

The "TestIdeas" page has been changed by MikeMcCandless:

   1. LTC's AssertingIndexSearcher should sometimes impl search(...) by doing searches against
the sub-searchers (segments, maybe coalescing some into single sub-searcher) and then use
TopDocs.merge to merge the results
   1. Add _TestUtil.randomBinaryTerm and use that from some tests, so we test that full binary
terms are OK
   1. Somehow, change up the system clock while tests are running (forwards and backwards)
so we test any vulnerabilities because we rely on System.currentTimeMillis
+  1. Use a random codec that randomly uses different XXXFormat (Postings, StoredFields, TermVectors,
SIS, etc.)
+  2. BaseTokenStreamTestCase should randomly throw an exc from the reader, and then make
sure re-using the TS still produces the right tokens

View raw message