Testing java interrupts and timed waits


Autoria(s): Wildman, L. P.; Long, B. J.; Strooper, P. A.
Contribuinte(s)

D. Bae

W. Chu

Data(s)

01/01/2004

Resumo

Testing concurrent software is difficult due to problems with inherent nondeterminism. 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 nontrivial implementation of the readers-writers problem.

Identificador

http://espace.library.uq.edu.au/view/UQ:100725

Idioma(s)

eng

Publicador

IEEE Computer Society

Palavras-Chave #E1 #280302 Software Engineering #700199 Computer software and services not elsewhere classified
Tipo

Conference Paper