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 条
  • [1] Testing Java']Java
    Comerford, R
    IEEE SPECTRUM, 1997, 34 (09) : 107 - 107
  • [2] Extracting Timed Automata from Java']Java Methods
    Liva, Giovanni
    Khan, Muhammad Taimoor
    Pinzger, Martin
    2017 IEEE 17TH INTERNATIONAL WORKING CONFERENCE ON SOURCE CODE ANALYSIS AND MANIPULATION (SCAM), 2017, : 91 - 100
  • [3] Testing Java']Java classes
    Handwerker, M
    DR DOBBS JOURNAL, 1999, 24 (09): : 10 - +
  • [4] Unit Testing in Java']Java
    Proulx, Viera K.
    Jossey, Weston
    ITICSE 2009: PROCEEDING OF THE 2009 ACM SIGSE ANNUAL CONFERENCE ON INNOVATION AND TECHNOLOGY IN COMPUTER SCIENCE EDUCATION, 2009, : 349 - 349
  • [5] Java']Java GUI testing
    Walworth, A
    DR DOBBS JOURNAL, 1997, 22 (02): : 30 - +
  • [6] Testing Java']Java servlets
    DiMaggio, L
    DR DOBBS JOURNAL, 2004, 29 (08): : 26 - +
  • [7] Java']Javalanche: Efficient Mutation Testing for Java']Java
    Schuler, David
    Zeller, Andreas
    7TH JOINT MEETING OF THE EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND THE ACM SIGSOFT SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING, 2009, : 297 - 298
  • [8] Testing concurrent Java']Java components
    Strooper, Paul
    Wildman, Luke
    29TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: ICSE 2007 COMPANION VOLUME, PROCEEDINGS, 2007, : 161 - +
  • [9] Functional Testing of Java']Java Programs
    Benac Earle, Clara
    Fredlund, Lars-Ake
    TRENDS IN FUNCTIONAL PROGRAMMING (TFP 2015), 2016, 9547 : 40 - 59
  • [10] Testing Java']Java interfaces with JUnit
    Albrecht, M
    DR DOBBS JOURNAL, 2003, 28 (02): : 24 - +