Using CHRs to generate functional test cases for the Java']Java Card Virtual Machine

被引:0
|
作者
Gouraud, SD [1 ]
Gotlieb, A [1 ]
机构
[1] IRISA, CNRS, UMR 6074, F-35042 Rennes, France
关键词
CHR; software testing; !text type='Java']Java[!/text] Card Virtual Machine;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Automated functional testing consists in deriving test cases from the specification model of a program to detect faults within an implementation. In our work, we investigate using Constraint Handling Rules (CHRs) to automate the test cases generation process of functional testing. Our case study is a formal model of the Java Card Virtual Machine (JCVM) written in a sub-language of the Coq proof assistant. In this paper we define an automated translation from this formal model into CHRs and propose to generate test cases for each bytecode definition of the JCVM. The originality of our approach resides in the use of CHRs to faithfully model the formally specified operational semantics of the JCVM. The approach has been implemented in Eclipse Prolog and a full set of test cases have been generated for testing the JCVM.
引用
收藏
页码:1 / 15
页数:15
相关论文
共 50 条
  • [31] Java']Java virtual machine profiler interface
    Viswanathan, D
    Liang, S
    IBM SYSTEMS JOURNAL, 2000, 39 (01) : 82 - 95
  • [32] Lightweight monitors for the Java']Java virtual machine
    Yang, BS
    Moon, SM
    Ebcioglu, K
    SOFTWARE-PRACTICE & EXPERIENCE, 2005, 35 (03): : 281 - 299
  • [33] Preservation of proof obligations from Java']Java to the Java']Java virtual machine
    Barthe, Gilles
    Gregoire, Benjamin
    Pavlova, Mariela
    AUTOMATED REASONING, PROCEEDINGS, 2008, 5195 : 83 - +
  • [34] A Java']Java Card Virtual Machine Design Based on Off-card/On-card Co-design Pre-processing
    Hong, Jiaxin
    Hu, Jianguo
    Lin, Ge
    COMPUTER ENGINEERING AND TECHNOLOGY, NCCET 2017, 2018, 600 : 11 - 21
  • [35] Automatic test generation for Java']Java-Card applets
    Martin, H
    du Bousquet, L
    JAVA ON SMART CARDS: PROGRAMMING AND SECURITY, 2001, 2041 : 121 - 136
  • [36] Tail Call Elimination and Data Representation for Functional Languages on the Java']Java Virtual Machine
    Madsen, Magnus
    Zarifi, Ramin
    Lhotak, Ondrej
    CC'18: PROCEEDINGS OF THE 27TH INTERNATIONAL CONFERENCE ON COMPILER CONSTRUCTION, 2018, : 139 - 150
  • [37] PicoJava']Java-I: The Java']Java virtual machine in hardware
    OConnor, JM
    Tremblay, M
    IEEE MICRO, 1997, 17 (02) : 45 - 53
  • [38] Defining the Java']Java Virtual Machine as platform for provably correct Java']Java compilation
    Börger, E
    Schulte, W
    MATHEMATICAL FOUNDATIONS OF COMPUTER SCIENCE 1998, 1998, 1450 : 17 - 35
  • [39] Security Enhanced Java']Java: Mandatory Access Control for the Java']Java Virtual Machine
    Venelle, Benjamin
    Briffaut, Jeremy
    Clevy, Laurent
    Toinard, Christian
    2013 IEEE 16TH INTERNATIONAL SYMPOSIUM ON OBJECT/COMPONENT/SERVICE-ORIENTED REAL-TIME DISTRIBUTED COMPUTING (ISORC), 2013,
  • [40] Program analysis for safety guarantees in a Java']Java virtual machine written in Java']Java
    Maessen, JW
    Sarkar, V
    Grove, D
    ACM SIGPLAN NOTICES, 2001, : 62 - 65