IADIS International Journal on Computer Science and Information Systems

Published by IADIS (International Association for Development of the Information Society) • ISSN (Online): 1646-3692 • ISSN (Print): 1646-3692
100% Open Access
Double-Blind Peer Review
Crossref DOI Persistent IDs
Open Access Peer-Reviewed Foundational Models & Architectures

Similar Behaviors and Conformity Testing in Inheritance for an Object Oriented Model

Khalid Benlhachmi.Laboratory of Research in Computer Science *
Telecommunications.Faculty of Science *
Ibn Researcher *
* Tofail University Kenitra, 14000. Morocco. Mohammed Benattou.Laboratory of Research in Computer Science and Telecommunications.Faculty of Science, Ibn Tofail University Kenitra, 14000. Morocco. (Portugal)
* Tofail University Kenitra, 14000. Morocco. Mohammed Benattou.Laboratory of Research in Computer Science and Telecommunications.Faculty of Science, Ibn Tofail University Kenitra, 14000. Morocco. (Portugal)
* Tofail University Kenitra, 14000. Morocco. Mohammed Benattou.Laboratory of Research in Computer Science and Telecommunications.Faculty of Science, Ibn Tofail University Kenitra, 14000. Morocco. (Portugal)

Abstract

The approach of this paper proposes a new concept of test which represents a way to compare the behaviors of methods in sub-classes and their original versions in the super-classes for an object oriented specification. The test process gives the conditions where the comparison can induce a similar behavior. The result of this test constitutes a solid basis to reuse the inherited specifications in the sub-classes for testing the conformity of overriding methods. The main objective of the proposed work is to find the relationship between the test model of an overriding method and its overridden method using the constraint propagation. Our approach shows that the conformity testing in sub-classes is based on the similarity testing between overriding and overridden methods. The implementation of this approach is based on a random generation of test data and analysis by formal proof.

Keywords

Conformity test constraints resolution formal specification inheritance test data generation
Full-Text PDF Available

Read Complete Peer-Reviewed Manuscript

Includes full econometric models, data tables, policy recommendations, declarations, and citations.

Declarations & Ethics

Funding: This research received academic dissemination support through ESCAP / JournalsHub publishing programs.
Conflicts of Interest: The authors declare no competing financial or institutional interests.
Peer Review: Double-blind peer reviewed by international subject specialists.
License: Creative Commons Attribution 4.0 International (CC BY 4.0).
How to Cite This Article
APA / MLA / BibTeX
Science, et al. (2014). Similar Behaviors and Conformity Testing in Inheritance for an Object Oriented Model. IADIS International Journal on Computer Science and Information Systems, 9(1). https://doi.org/10.33965/ijcsis_2014_v9i1_04
Science, et al. "Similar Behaviors and Conformity Testing in Inheritance for an Object Oriented Model." IADIS International Journal on Computer Science and Information Systems, vol. 9, no. 1, 2014. https://doi.org/10.33965/ijcsis_2014_v9i1_04
Science, et al. "Similar Behaviors and Conformity Testing in Inheritance for an Object Oriented Model." IADIS International Journal on Computer Science and Information Systems 9, no. 1 (2014). https://doi.org/10.33965/ijcsis_2014_v9i1_04