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 条
  • [31] PJCT: Penetration Testing based JAVA']JAVA Code Testing Tool
    Jain, Shikha
    Johari, Rahul
    Kaur, Arvinder
    2015 INTERNATIONAL CONFERENCE ON COMPUTING, COMMUNICATION & AUTOMATION (ICCCA), 2015, : 800 - 805
  • [32] A framework of reachability testing for Java']Java multithread programs
    Li, SQ
    Chen, HY
    Sun, YX
    2004 IEEE INTERNATIONAL CONFERENCE ON SYSTEMS, MAN & CYBERNETICS, VOLS 1-7, 2004, : 2730 - 2734
  • [33] Automated Conformance Testing of Java']Java Virtual Machines
    Calvagna, Andrea
    Tramontana, Emiliano
    2013 SEVENTH INTERNATIONAL CONFERENCE ON COMPLEX, INTELLIGENT, AND SOFTWARE INTENSIVE SYSTEMS (CISIS), 2013, : 547 - 552
  • [34] A framework for table driven testing of Java']Java classes
    Daley, N
    Hoffman, D
    Strooper, P
    SOFTWARE-PRACTICE & EXPERIENCE, 2002, 32 (05): : 465 - 493
  • [35] An extensible framework for testing distributed Java']Java applications
    Ghosh, S
    Bawa, N
    Craig, G
    Kalgaonkar, K
    JOURNAL OF RESEARCH AND PRACTICE IN INFORMATION TECHNOLOGY, 2001, 33 (02): : 120 - 132
  • [36] New Mutants Generation for Testing Java']Java Programs
    Kumar, Kapil
    Gupta, P. K.
    Parjapat, Roshan
    COMPUTER NETWORKS AND INFORMATION TECHNOLOGIES, 2011, 142 : 290 - 294
  • [37] A Comparative analysis of Mutation Testing tools for Java']Java
    Forostyanova, Mariya
    Dongak, Barkhas
    PROCEEDINGS OF 2016 IEEE EAST-WEST DESIGN & TEST SYMPOSIUM (EWDTS), 2016,
  • [38] On testing multi-threaded Java']Java programs
    Gong, Xufang
    Wang, Yanchen
    Zhou, Ying
    Li, Bixin
    SNPD 2007: EIGHTH ACIS INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, ARTIFICIAL INTELLIGENCE, NETWORKING, AND PARALLEL/DISTRIBUTED COMPUTING, VOL 1, PROCEEDINGS, 2007, : 702 - +
  • [39] Dependency safety for Java']Java - Implementing and testing failboxes
    Zhang, Dan
    Bosnacki, Dragan
    van den Brand, Mark
    Huizing, Cornelis
    Jacobs, Bart
    Kuiper, Ruurd
    Wijs, Anton
    SCIENCE OF COMPUTER PROGRAMMING, 2019, 184
  • [40] Testing Java']Java monitors through deterministic execution
    Harvey, C
    Strooper, P
    2001 AUSTRALIAN SOFTWARE ENGINEERING CONFERENCE, PROCEEDINGS, 2001, : 61 - 67