aspose file tools*
The moose likes Testing and the fly likes How to write Junit test case  for event notification Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Testing
Bookmark "How to write Junit test case  for event notification" Watch "How to write Junit test case  for event notification" New topic
Author

How to write Junit test case for event notification

Thennam Pandian
Ranch Hand

Joined: Oct 11, 2005
Posts: 163
Hi,

Is it possible to write Junit test case for event notification?
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30965
    
158

Are you asking about AWT event notifications or something else? Also, do you want to test the code that runs when the event notification happens, the fact that the notification occurs or both?


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
Consider Paul's rocket mass heater.
 
subject: How to write Junit test case for event notification