This week's giveaway is in the Groovy forum.
We're giving away four copies of Groovy Fundamentals video training course and have Ken Kousen on-line!
See this thread for details.
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


Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
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: 32087
    
207

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?


[OCA 8 book] [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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to write Junit test case for event notification