Advertisement

JML-Testing-Tools: A Symbolic Animator for JML Specifications Using CLP

  • Fabrice Bouquet
  • Frédéric Dadeau
  • Bruno Legeard
  • Mark Utting
Part of the Lecture Notes in Computer Science book series (LNCS, volume 3440)

Abstract

This paper describes a tool for symbolically animating JML specifications using Constraint Logic Programming. A customized solver handles constraints that represent the value of instance fields. We have extended a model-based approach to be able to handle object-oriented specifications. Our tool is also able to check properties during the simulation and exhibit counter-examples for false properties. Therefore, it can be used both for semi-automated verification and for validation purposes.

Keywords

Java Modeling Language model-based object-oriented symbolic animation 

References

  1. [ABC+02]
    Ambert, F., Bouquet, F., Chemin, S., Guenaud, S., Legeard, B., Peureux, F., Vacelet, N., Utting, M.: BZ-TT: A Tool-Set for Test Generation from Z and B using Constraint Logic Programming. In: Hierons, R., Jerron, T. (eds.) Formal Approaches to Testing of Software, FATES 2002 workshop of CONCUR 2002, pp. 105–120 (2002) (INRIA Report)Google Scholar
  2. [Abr96]
    Abrial, J.-R.: The B-book: assigning programs to meanings. Cambridge University Press, Cambridge (1996)zbMATHCrossRefGoogle Scholar
  3. [CL02]
    Cheon, Y., Leavens, G.T.: A runtime assertion checker for the Java Modeling Language (JML). In: Arabnia, H.R., Mun, Y. (eds.) Proceedings of the International Conference on Software Engineering Research and Practice (SERP 2002), Las Vegas, Nevada, USA, June 24-27, pp. 322–328. CSREA Press (June 2002)Google Scholar
  4. [Har87]
    Harel, D.: Statecharts: a Visual Formalism for Complex Systems. Journal of Science of Computer Programming 8, 231–274 (1987)zbMATHCrossRefMathSciNetGoogle Scholar
  5. [LBR98]
    Leavens, G.T., Baker, A.L., Ruby, C.: JML: a java modeling language. In: Formal Underpinnings of Java Workshop, at OOPSLA 1998 (October 1998)Google Scholar
  6. [LBR99]
    Leavens, G.T., Baker, A.L., Ruby, C.: JML: A notation for detailed design. In: Kilov, H., Rumpe, B., Simmonds, I. (eds.) Behavioral Specifications of Businesses and Systems, pp. 175–188. Kluwer Academic Publishers, Boston (1999)Google Scholar
  7. [Spi92]
    Spivey, J.M.: The Z notation: A Reference Manual, 2nd edn. Prentice-Hall, Englewood Cliffs (1992)Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2005

Authors and Affiliations

  • Fabrice Bouquet
    • 1
  • Frédéric Dadeau
    • 1
  • Bruno Legeard
    • 1
  • Mark Utting
    • 1
  1. 1.Laboratoire d’Informatique (LIFC)Université de Franche-Comté, CNRS – INRIABesançon cedexFrance

Personalised recommendations