[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform] Re: JUnit - Testing listeneres

Hi Arun,

Maybe you could try to use mock obejcts (e.g. EasyMock)?

regars,
Jakub Jurkiewicz

Arun wrote:
Hi,

I have added mouse listener to my tree viewer.. How can I test the mouse listener code.. Actually it will be executed based on event firing .so how can I write a test method for it..

Thanks in advance,
Arun