• DocumentCode
    2622567
  • Title

    A formal model of similarity testing for inheritance in object-oriented software

  • Author

    Benlhachmi, Khalid ; Benattou, Mohammed

  • Author_Institution
    RLCST Res. Lab. in Comput. Sci. & Telecommun., Univ. Ibn Tofail, Kénitra, Morocco
  • fYear
    2012
  • fDate
    22-24 Oct. 2012
  • Firstpage
    38
  • Lastpage
    42
  • Abstract
    The work presented in this paper extends the constraint model defined for modeling the specification of a given method to its redefinition in subclass using inheritance principle. The main objective is to establish theoretical concepts which allow to compare the behavior of a redefined method in a subclass with its original behavior in the super-class relatively to the basic specification. The key idea of our approach is based on a partition of domains for testing the similarity between the redefined methods and their basic methods in super-class. The proposed test oracle uses a random data generation to test the similarity of methods in the context of inheritance mechanism.
  • Keywords
    inheritance; object-oriented programming; formal model; inheritance principle; object-oriented software; random data generation; similarity testing; Computer science; Legged locomotion; conformity test; constraints resolution; formal specification; inheritance; invalid data; test data generation; valid data;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Information Science and Technology (CIST), 2012 Colloquium in
  • Conference_Location
    Fez
  • Print_ISBN
    978-1-4673-2726-8
  • Electronic_ISBN
    978-1-4673-2724-4
  • Type

    conf

  • DOI
    10.1109/CIST.2012.6388060
  • Filename
    6388060