loading...
 This Article 
   
 Share 
   
 Bibliographic References 
   
 Add to: 
 
Digg
Furl
Spurl
Blink
Simpy
Google
Del.icio.us
Y!MyWeb
 
 Search 
   
11th Asia-Pacific Software Engineering Conference (APSEC'04)
Testing Java Interrupts and Timed Waits
Busan, Korea
November 30-December 03
ISBN: 0-7695-2245-9
Luke Wildman, The University of Queensland, Australia
Brad Long, The University of Queensland, Australia
Paul Strooper, The University of Queensland, Australia
Testing concurrent software is difficult due to problems with inherent non-determinism. In previous work, we have presented a method and tool support for the testing of concurrent Java components. In this paper, we extend that work by presenting and discussing techniques for testing Java thread interrupts and timed waits. Testing thread interrupts is important because every Java component that calls wait must have code dealing with these interrupts. For a component that uses interrupts and timed waits to provide its basic functionality, the ability to test these features is clearly even more important. We discuss the application of the techniques and tool support to one such component, which is a non-trivial implemenation of the readers-writers problem.
Citation:
Luke Wildman, Brad Long, Paul Strooper, "Testing Java Interrupts and Timed Waits," apsec, pp.438-447, 11th Asia-Pacific Software Engineering Conference (APSEC'04), 2004
Usage of this product signifies your acceptance of the Terms of Use.