Testing Java']Java interrupts and timed waits

被引:3
|
作者
Wildman, L [1 ]
Long, B [1 ]
Strooper, P [1 ]
机构
[1] Univ Queensland, Sch Informat Technol & Elect Engn, Brisbane, Qld 4072, Australia
关键词
D O I
10.1109/APSEC.2004.97
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
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.
引用
收藏
页码:438 / 447
页数:10
相关论文
共 50 条
  • [41] Evolution of the Practice of Software Testing in Java']Java Projects
    Islam, Anisha
    Hewage, Nipuni Tharushika
    Bangash, Abdul Ali
    Hindle, Abram
    2023 IEEE/ACM 20TH INTERNATIONAL CONFERENCE ON MINING SOFTWARE REPOSITORIES, MSR, 2023, : 367 - 371
  • [42] A complete automation of unit testing for Java']Java programs
    Cheon, Y
    Kim, MY
    Perumandla, A
    SERP '05: PROCEEDINGS OF THE 2005 INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING RESEARCH AND PRACTICE, VOLS 1 AND 2, 2005, : 290 - 295
  • [43] A learning support tool for testing Java']Java programs
    Kamigochi, Nobuyuki
    Matsuura, Saeko
    PROCEEDINGS OF THE IASTED INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, 2007, : 273 - +
  • [44] Tool support for testing concurrent Java']Java components
    Long, B
    Hoffman, D
    Strooper, P
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2003, 29 (06) : 555 - 566
  • [45] Establishing structural testing criteria for Java']Java bytecode
    Vincenzi, A. M. R.
    Delamaro, M. E.
    Maldonado, J. C.
    Wong, W. E.
    SOFTWARE-PRACTICE & EXPERIENCE, 2006, 36 (14): : 1513 - 1541
  • [46] Compiler Testing using Template Java']Java Programs
    Zang, Zhiqiang
    Wiatrek, Nathan
    Gligoric, Milos
    Shi, August
    PROCEEDINGS OF THE 37TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, ASE 2022, 2022,
  • [47] Java GUI testing
    Walworth, Alan
    Dr. Dobb's Journal, 1997, 22 (02):
  • [48] Testing Java Servlets
    DiMaggio, Len
    Dr Dobb's J, 1600, 8 (26-31):
  • [49] Java']Java, Java']Java, Java']Java and more
    Makulowich, JS
    DATABASE, 1997, 20 (01): : 74 - 75
  • [50] Java']Java-HCT: An approach to increase MC/DC using Hybrid Concolic Testing for Java']Java programs
    Godboley, Sangharatna
    Dutta, Arpita
    Mohapatra, Durga Prasad
    PROCEEDINGS OF THE 2016 FEDERATED CONFERENCE ON COMPUTER SCIENCE AND INFORMATION SYSTEMS (FEDCSIS), 2016, 8 : 1709 - 1713