lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <cutt...@lucene.com>
Subject Re: cleanup questions
Date Thu, 18 Sep 2003 18:41:31 GMT
Erik Hatcher wrote:
> - src/test/org/apache/lucene/IndexTest.java - this is not even a JUnit 
> test case.  Does anyone run it?  It has a hardcoded path ("F:\test") and 
> some FIXME comments.  The code is totally useless except to someone with 
> F:\test and F:\recipes.  Any objections to just removing this file?
> 
> - src/test/org/apache/lucene/index/DocTest.java - this one may actually 
> be slightly useful, but its not a JUnit test case.  Could someone 
> convert this to a test case?  Or should it be removed also?
> 
> - there are some other classes in src/test that are simply main() 
> routines and not JUnit tests: AnalysisTest, SearchTest, 
> SearchTestForDuplicates, StoreTest, ThreadSafetyTest, ant 
> TermInfosTest.

I think these are mostly things from back when I first wrote Lucene, 
before there was a JUnit.

> Some of these might actually make sense in the context of JUnitPerf type 
> tests to get some baseline timing tests and ensure that any future 
> changes to the core don't push index or search times out of expected 
> ranges.

That'd be great!

> - Finally, is src/demo/Search.html or Search.jthml still in use?  Heck, 
> I don't even know what jhtml is other than some type of servlet-like 
> thing, so I doubt its being used.

Jhtml was the precursor to jsp, in the original JWS, before Tomcat.  It 
is indeed archaic.

Doug


Mime
View raw message