Re: how to fully test a response writer

2014-07-24 Thread Mikhail Khludnev
Hello, I think you can check TestDistributedSearch or other descendants of BaseDistributedSearchTestCase (I don't think you need to look at *Zk* tests). On Wed, Jul 23, 2014 at 5:03 PM, Matteo Grolla wrote: > Hi, > I developed a new SolResponseWriter but I'm not happy with how I > wrot

how to fully test a response writer

2014-07-23 Thread Matteo Grolla
Hi, I developed a new SolResponseWriter but I'm not happy with how I wrote tests. My problem is that I need to test it either with local request and with distributed request since the solr response object (input to the response writer) are different. a) I tested the local request case