RE: junit for set Method with boolean input and void return

2006-02-06 Thread Bradley, Todd
> p.s. These questions might be better asked on a junit mailing > list or by picking up a unit testing book. ^^ That's what the people on the JUnit mailing list have been telling Kamal Ahmed for the past week. :-) Todd.

Re: junit for set Method with boolean input and void return

2006-02-06 Thread Curt Arnold
On Feb 6, 2006, at 11:05 AM, Kamal Ahmed wrote: Hi, I am a bit confused here, so I would appreciate a little help. I am trying to write a test for method: public final void setAcceptMatch(boolean inMatchFlag) { acceptMatch = inMatchFlag; } And here is what I have so far: public void testset

junit for set Method with boolean input and void return

2006-02-06 Thread Kamal Ahmed
Hi, I am a bit confused here, so I would appreciate a little help. I am trying to write a test for method: public final void setAcceptMatch(boolean inMatchFlag) { acceptMatch = inMatchFlag; } And here is what I have so far: public void testsetAcceptMatch() { WmLoggerFilte