Testing MetaObject Protocols Generated by Open Compilers for Safety-Critical Systems

  • Authors:
  • Juan-Carlos Ruiz-Garcia;Jean-Charles Fabre;Pascale Thévenod-Fosse

  • Affiliations:
  • -;-;-

  • Venue:
  • REFLECTION '01 Proceedings of the Third International Conference on Metalevel Architectures and Separation of Crosscutting Concerns
  • Year:
  • 2001

Quantified Score

Hi-index 0.00

Visualization

Abstract

Although broadly used in many application domains, the use of reflection in safety-critical systems remains questionable due to the little work reporting on validation aspects. This paper defines an approach for testing MetaObject Protocols (MOPs) generated using open compiler facilities. These protocols are defined in terms of a set of analysis and generation rules, which are used to specialize the MOP implementation according to the features supplied by object definitions. The proposed test strategy classifies these analyses and generation rules. Testing objectives and conformance checks are defined for each type of rule. Along the paper, the approach will be illustrated through a real MOP implemented using OpenC++ and extracted from the FRIENDS architecture, an architecture devoted to the implementation of fault-tolerant systems. The test experiments performed show the interest of the strategy since they have revealed some errors in the considered protocol implementation.