Re: Unit testing a CometProcessor Servlet

2010-10-04 Thread homerlex
> No problem. I wish I knew your name, though! Thanks - The name is Homer :-) On Mon, Oct 4, 2010 at 1:15 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > To whom it may concern, > > On 10/4/2010 7:43 AM, Nabble User wrote: > >

Re: Unit testing a CometProcessor Servlet

2010-10-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 To whom it may concern, On 10/4/2010 7:43 AM, Nabble User wrote: > Thank you for taking the time to reply Chris! No problem. I wish I knew your name, though! > Yes, I understand that I could just make direct calls to events. However, > since we are

Re: Unit testing a CometProcessor Servlet

2010-10-04 Thread Nabble User
Thank you for taking the time to reply Chris! Yes, I understand that I could just make direct calls to events. However, since we are talking about long blocking requests that don't return until some action is taken by other users (or the connection times out of course) I was curious to see what o

Re: Unit testing a CometProcessor Servlet

2010-10-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 To whom it may concern, (FYI: It's usually polite to identify yourself) On 9/27/2010 3:59 PM, Nabble User wrote: > Does anyone have tips for unit testing a servlet that implements > CometProcessor? Can't you synthesize all the events you need? It sh

Re: Unit testing a CometProcessor Servlet

2010-10-01 Thread Pid
On 01/10/2010 12:41, Nabble User wrote: >>> Anyone? >> I think you may be asking the wrong type of question. > Why is this the wrong type of question? Well, there's a few possible reasons for you not getting an answer: 1. No-one knows anything about unit-testing Comet implementations. 2. Your

Re: Unit testing a CometProcessor Servlet

2010-10-01 Thread Nabble User
Why is this the wrong type of question? On Wed, Sep 29, 2010 at 2:44 PM, Pid * wrote: > On 29 Sep 2010, at 12:19, Nabble User wrote: > > > Anyone? > > I think you may be asking the wrong type of question. > > > p > > - > To uns

Re: Unit testing a CometProcessor Servlet

2010-09-29 Thread Pid *
On 29 Sep 2010, at 12:19, Nabble User wrote: > Anyone? I think you may be asking the wrong type of question. p - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.a

Re: Unit testing a CometProcessor Servlet

2010-09-29 Thread Nabble User
Anyone?

Unit testing a CometProcessor Servlet

2010-09-27 Thread Nabble User
Does anyone have tips for unit testing a servlet that implements CometProcessor? I have a servlet similar in structure to the the Chat Servlet example here: http://tomcat.apache.org/tomcat-6.0-doc/aio.html So, examples for testing that servlet code would be beneficial. Thanks in advance.