lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maik Schreiber <>
Subject Re: Interfaces
Date Thu, 17 Mar 2005 14:15:32 GMT
> Pragmatically, 
> have you ever had addDocument fail?  If not, then what peace of mind are 
> you getting from such a test?

The test I've shown is not supposed to test if addDocument() fails or not, 
but to test if addDocument() is invoked at all. The tested method was, which could be doing more things that could possibly fail before 
addDocument() is invoked at all.

Maik Schreiber   *

GPG public key:
Key fingerprint: CF19 AFCE 6E3D 5443 9599 18B5 5640 1F11 D713

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

View raw message